[Bug ld/3223] ld fails to link correct variables from linker script.

2006-09-18 Thread carlos at codesourcery dot com
--- Additional Comments From carlos at codesourcery dot com 2006-09-18 18:16 --- However, .data1 *(.data1) 0x2000_edata = . The value of _edata in the -Map file is wrong. The value of the dot operator is evaluated as the current location counter

[Bug ld/3223] ld fails to link correct variables from linker script.

2006-09-18 Thread carlos at codesourcery dot com
--- Additional Comments From carlos at codesourcery dot com 2006-09-18 17:38 --- Tested with the binutils-csl-2_17-branch arm-none-eabi-as --gdwarf-2 test.s -o test.o arm-none-eabi-ld -Ttext 0x -Tdata 0x2000 -Map=test.map -o test.elf test.o arm-none-eabi-objdump -d test.elf