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 mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to