[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Difficulty of adding weak symbol attributes?
From: |
Manuel Simoni |
Subject: |
[Tinycc-devel] Difficulty of adding weak symbol attributes? |
Date: |
Sat, 27 Feb 2010 12:28:26 +0100 |
Hi,
I'm thinking about adding support for GCC weak symbol attributes under
ELF to TCC.
Since the linker already seems to support them, it looks like the only
changes needed are:
- extending the parsing of __attribute__ to recognize weak symbols,
- adding a boolean to AttributeDef to mark weak symbols,
- and tweaking ELF generation a bit to emit the weak symbol information.
Is there any other stuff that makes this more complex, that I've overlooked?
Thanks,
Manuel Simoni
- [Tinycc-devel] Difficulty of adding weak symbol attributes?,
Manuel Simoni <=