Comment 0 for bug 1810274

Revision history for this message
Leo Havmøller (leh-p) wrote :

New in 8 2018-q4-major, OK in previous versions.
When extraction code from .elf, objcopy reports "64-bit address 0x4b4fa300000000 out of range for Intel Hex file".

Commands:
D:\gcc>"C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin\arm-none-eabi-gcc.exe" -c -Os -mcpu=cortex-m0 -mthumb -Wall -Wextra -Wlogical-op test.c -o test.o

D:\gcc>"C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin\arm-none-eabi-objcopy.exe" -O ihex test.o test.hex
C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin\arm-none-eabi-objcopy.exe: test.hex 64-bit address 0x4b4fa300000000 out of range for Intel Hex file
C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin\arm-none-eabi-objcopy.exe:test.hex: bad value

Minimal example attached.