[Bug ld/1443] /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'

2005-10-09 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-10-09 15:15 --- If you can provide all input files, I will try to take a look. -- What|Removed |Added C

[Bug ld/1443] /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'

2005-10-09 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2005-10-09 15:18 --- Subject: Re: /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' > --- Additional Comments From hjl at lucon dot org 2005-10-09 15:15 > --- > If you can provide all input files, I w

ld 2.16 bug in linker script ?

2005-10-09 Thread Philippe Biondi
Hi, I used this minimal linker script : SECTIONS { /DISCARD/ : { *(.stab*) *(.comment) *(.note) } _GLOBAL_OFFSET_TABLE_ = .; all : {*(.text, .rodata, .rdata, .data, .bss) } } that worked as expected with ld 2.15. N

Re: ld 2.16 bug in linker script ?

2005-10-09 Thread Alan Modra
On Sun, Oct 09, 2005 at 05:28:15PM +0200, Philippe Biondi wrote: > but I think these two linker scripts should be equivalent. No, you haven't specified where .got should go (*). ld is free to place unspecified sections where it likes. *) Which is quite foolish, given that you defined a symbol th