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

2006-09-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-27 04:39 --- Fixed by http://sourceware.org/ml/binutils/2006-09/msg00336.html -- What|Removed |Added St

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

2006-09-26 Thread hjl at lucon dot org
-- Bug 3223 depends on bug 3267, which changed state. Bug 3267 Summary: Ld converts section relative symbols to absolute symbols in zero sized sectoins http://sourceware.org/bugzilla/show_bug.cgi?id=3267 What|Old Value |New Value --

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

2006-09-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-26 22:19 --- PR 3267 should be fixed together with this: http://sourceware.org/ml/binutils/2006-09/msg00329.html -- What|Removed |Added -

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

2006-09-23 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-23 23:12 --- The updated patch is at http://sourceware.org/ml/binutils/2006-09/msg00246.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=3223 --- You are receiving this mail because: --- You are on the CC list f

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

2006-09-22 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-23 01:10 --- A patch is posted at http://sourceware.org/ml/binutils/2006-09/msg00242.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=3223 --- You are receiving this mail because: --- You are on the CC list for

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

2006-09-22 Thread sjo at anglia dot com
--- Additional Comments From sjo at anglia dot com 2006-09-22 08:20 --- This does indeed work, but it would mean that nearly all linker scripts would need to be changed to suit the new ld behaviour. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3223 --- You are receiving thi

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

2006-09-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-21 23:06 --- Linker behavior is changed. Empty output section in the linker script no longer changes the output layout. Unless you change DOT with empty output section, the output layout will be the same as if empty output section

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

2006-09-21 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-21 22:33 --- A simple testcase: [EMAIL PROTECTED] empty-8]$ cat foo.s .text .global _start _start: .long __data_start .long _edata [EMAIL PROTECTED] empty-8]$ cat foo.t SECTIONS { .text 0x: { *(.t

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

2006-09-19 Thread sjo at anglia dot com
--- Additional Comments From sjo at anglia dot com 2006-09-19 08:31 --- with nothing declared in the data section i would expect the __data_start and _edata to be 0x2000. however _edata is 0x12C. The behaviour is correct in binutils 2.16.1 and if a variable is declared. -- http:/

[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, an

[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