bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Namespace problem


From: sebastian.bw
Subject: Namespace problem
Date: Tue, 23 Apr 2019 20:19:55 +0000
User-agent: KMail/1.9.10

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]