arm-none-eabi-objcopy -O verilog fails to write a section at the correct address
Bug #1462300 reported by
sgarnier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
I have a function linked at 0x82_000 (main)
It is reported as such when using the following commands:
arm-none-
arm-none-eabi-nm -S nvmctrl_
But when I use objcopy to generate the image loadable by a verilog simulator (readmemh function) then my main function is wrongly mapped at 0xE000
To see the issue you can execute the following:
arm-none-
The code should be @82_000 but it is located at @C000+padded with 0 (+0x2000).
To post a comment you must log in.
Adding linker script