[Bug binutils/19446] BFD linker discards section without alloc section attribute under certain conditions

2016-01-22 Thread xinliangli at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19446 --- Comment #11 from David Li --- No problem with this as long as ld does not throw away note sections. thanks, -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-

binutils 2.25.1 creates big sparse files

2016-01-22 Thread Joakim Tjernlund
When building small libs/exec on ppc32 I usally get sparse files like so: ls -lsh | sort -n  64K -rwxr-xr-x 1 jocke users  68K Jan 22 11:20 mgmt_alarmd*  64K -rwxr-xr-x 1 jocke users  67K Jan 22 11:20 ne_memd*  56K -rwxr-xr-x 1 jocke users  67K Jan 22 11:20 cp_dummy*  56K -rwxr-xr-x 1 jocke us

[Bug binutils/19435] objdump receives SIGABRT when disassembling Mach O binary on OS X

2016-01-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19435 --- Comment #6 from Nick Clifton --- I missed a bit... diff --git a/bfd/mach-o.c b/bfd/mach-o.c index 72454f9..a712ff6 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -5798,14 +5798,16 @@ bfd_mach_o_close_and_cleanup (bfd *abfd) if (md

[Bug binutils/19446] BFD linker discards section without alloc section attribute under certain conditions

2016-01-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19446 --- Comment #10 from Nick Clifton --- Hi Xinliangli, > However I do think ld's behavior is > not correct here. Should linker first decide if some sections are 'root' > sections that should not be throw away and then decide if other sections

Re: [Bug binutils/19446] BFD linker discards section without alloc section attribute under certain conditions

2016-01-22 Thread Nick Clifton
Hi Xinliangli, However I do think ld's behavior is not correct here. Should linker first decide if some sections are 'root' sections that should not be throw away and then decide if other sections should be GCed? Here linker first prunes the references and then is forced to discard section not b

[Bug binutils/10773] Malformed archive created when adding several files at once

2016-01-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=10773 Nick Clifton changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME