Re: .gnu.warning.foo interferes with archive-member rules

2011-06-07 Thread H.J. Lu
On Tue, Jun 7, 2011 at 2:08 AM, Alan Modra wrote: > On Mon, Jun 06, 2011 at 03:41:14PM -0700, Roland McGrath wrote: >> Consider: >> >>       % head ref.s def.s >>       ==> ref.s <== >>               .data >>       ptrsym: >>       .long badsym >> >>               .section .gnu.warning.badsym,"",@

Re: .gnu.warning.foo interferes with archive-member rules

2011-06-07 Thread Alan Modra
On Tue, Jun 07, 2011 at 09:50:18AM -0700, Roland McGrath wrote: > Thanks! I don't understand your changes at all off hand, and I strongly > suspected that the patch I tried was too simple-minded to be right. Setting "follow" true for the elf_link_hash_lookup calls in _bfd_elf_archive_symbol_looku

Re: .gnu.warning.foo interferes with archive-member rules

2011-06-07 Thread Roland McGrath
Thanks! I don't understand your changes at all off hand, and I strongly suspected that the patch I tried was too simple-minded to be right. Thanks, Roland ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-bin

Re: .gnu.warning.foo interferes with archive-member rules

2011-06-07 Thread Alan Modra
On Mon, Jun 06, 2011 at 03:41:14PM -0700, Roland McGrath wrote: > Consider: > > % head ref.s def.s > ==> ref.s <== > .data > ptrsym: > .long badsym > > .section .gnu.warning.badsym,"",@progbits > .string "badsym warning" > >

.gnu.warning.foo interferes with archive-member rules

2011-06-06 Thread Roland McGrath
Consider: % head ref.s def.s ==> ref.s <== .data ptrsym: .long badsym .section .gnu.warning.badsym,"",@progbits .string "badsym warning" ==> def.s <== .comm badsym,4 % as --32 -o ref.o ref.s