This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

section will arbitrary address

Can I specify to the linker to locate specific code/data in specific address (using assembly code).

Instead of using;
.section .ram, "awx"
I like to specify the specific address (I need to do it for many small data/instruction packages)..

Is there other directive like orig ???

Parents
  • I'm using Cortex A8 with gnu tools set.
    I succeed to locate each data/instructions using ;
    MEMORY {...}
    SECTIONS {...}
    The issue is whether I can do it with simple directive in my assembly code, without editing the linker settings.
    Something like: replacing the section name with physical address?

Reply
  • I'm using Cortex A8 with gnu tools set.
    I succeed to locate each data/instructions using ;
    MEMORY {...}
    SECTIONS {...}
    The issue is whether I can do it with simple directive in my assembly code, without editing the linker settings.
    Something like: replacing the section name with physical address?

Children
No data