objcopy to srec format have address problem

Asked by Hake Huang

I use armgcc version of
gcc version 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977] (GNU Tools for ARM Embedded Processors)

and I compile resule as attached elf file.

and I use the arm-none-eabi-objcopy do convert the elf to srec format the command line is
arm-none-eabi-objcopy --srec-forceS3 -O srec hello_world.elf hello_world.srec

and the result is different from the result I convert with fromelf from MDK

and I use the readelf to check the elf file, the result is correct, there is the text and data segment information

Question information

Language:
English Edit question
Status:
Expired
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #1635100.

Revision history for this message
Hake Huang (hakehuang) said :
#1

does anyone response for this?

Revision history for this message
Andre Vieira (andre-simoesdiasvieira) said :
#2

Hi Hake,

Have you tried our latest version? We no longer offer support for version 4.9

Regards,
Andre

Revision history for this message
Hake Huang (hakehuang) said :
#3

Hi Andre,

the problem is also existing on armgcc5.4

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.