I do OO programming in gnu-as (microchips xc32-as). Now I have programms using their object area so the variable names are the same at different places. And some member code or init code has to be at an absolute address. How is such a task handled in gas ? - You don't have namespace functionality !? - linking as object files does not work because of the other members without absolute addresses. the linker (mem script) puts those members not in the given section but in .text. Maybe I need an example of using linker sript defs in as. The best would be if an include file has its own namespace or .ent [name] ... .end [name] has its own namespace.
_______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils