[Bug ld/17553] .eh_frame_hdr table[0] FDE at 00000978 overlaps table[1] FDE at 000009a0 when not using "-Wl,-traditional" on sh4

2014-11-05 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17553 --- Comment #8 from Alan Modra --- > .eh_frame 0x0500 0x80 test2.o > 0xb0 (size before relaxing) That says the duplicate CIE has been dropped, but not the FDE for the discarded section. (Hmm, che

[Bug binutils/17531] readelf -a crashes on fuzzed samples

2014-11-05 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17531 --- Comment #12 from Alexander Cherepanov --- Created attachment 7906 --> https://sourceware.org/bugzilla/attachment.cgi?id=7906&action=edit More badness for `readelf -a` Files: 16 Errors: 13 Argument 'size' of function malloc has a fi

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #67 from Alexander Cherepanov --- Created attachment 7905 --> https://sourceware.org/bugzilla/attachment.cgi?id=7905&action=edit More crashers for `objdump -x` Files: 9 Errors: 29 Conditional jump or move depends on uniniti

[Bug ld/17553] .eh_frame_hdr table[0] FDE at 00000978 overlaps table[1] FDE at 000009a0 when not using "-Wl,-traditional" on sh4

2014-11-05 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=17553 --- Comment #7 from glaubitz at physik dot fu-berlin.de --- (In reply to glaub...@physik.fu-berlin.de from comment #6) > Some further tests with the same version of binutils on both sh4 and > cross-building on x86_64 Sorry, I meant cross-link

[Bug ld/17553] .eh_frame_hdr table[0] FDE at 00000978 overlaps table[1] FDE at 000009a0 when not using "-Wl,-traditional" on sh4

2014-11-05 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=17553 --- Comment #6 from glaubitz at physik dot fu-berlin.de --- Some further tests with the same version of binutils on both sh4 and cross-building on x86_64 using the two object files attached to this bug report with the linking working fine on x

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread hanno at hboeck dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #66 from Hanno Boeck --- Created attachment 7904 --> https://sourceware.org/bugzilla/attachment.cgi?id=7904&action=edit remaining valgrind warnings -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread hanno at hboeck dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #65 from Hanno Boeck --- Hi Nick, If I use latest head and apply 7989 patch for valgrind warnings the number of uninitialized memory issues valgrind reports is reduced, but they don't disappear. I still get some valgrind warnings

[Bug ld/17553] .eh_frame_hdr table[0] FDE at 00000978 overlaps table[1] FDE at 000009a0 when not using "-Wl,-traditional" on sh4

2014-11-05 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=17553 --- Comment #5 from glaubitz at physik dot fu-berlin.de --- (In reply to Alan Modra from comment #4) > $ ../ld/ld-new -mshlelf -shared --eh-frame-hdr -o test.so test1.o test2.o > $ > > Doesn't reproduce for me using master binutils. I see. I

[Bug binutils/17533] objdump/ar/... crash on malformed ar file

2014-11-05 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17533 --- Comment #11 from Alexander Cherepanov --- I've tried the patch from PR 17522. It fixes this issue too. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binut

[Bug binutils/17552] strip/objcopy: directory traversal

2014-11-05 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17552 --- Comment #3 from Alexander Cherepanov --- Yes, the check seems to be Ok in general. And the specific issues are fixed. Two remarks: - strip/objcopy don't remove temporary files and dirs when run on the test.a from below. Perhaps, this is i

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #64 from Nick Clifton --- Hi Alexander, I have checked another patch in. Please update your sources and try again. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #63 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch

[Bug ld/17558] ld will follow DT_NEEDED when it is not necessary

2014-11-05 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17558 Andreas Schwab changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17505] arm: bad static label resolution from different modes

2014-11-05 Thread chrbr at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17505 Christian Bruel changed: What|Removed |Added Attachment #7843|0 |1 is obsolete|

[Bug ld/17505] arm: bad static label resolution from different modes

2014-11-05 Thread chrbr at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17505 --- Comment #8 from Christian Bruel --- sorry, the first test was only illustrative, but not completed. the fact that the addresses are the same is just because I reduced the code. Here is the complete attachment, here the code is : 82

[Bug ld/17558] ld will follow DT_NEEDED when it is not necessary

2014-11-05 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17558 Rafael Ávila de Espíndola cha nged: What|Removed |Added CC||hjl.tools at gmail

[Bug ld/17558] New: ld will follow DT_NEEDED when it is not necessary

2014-11-05 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17558 Bug ID: 17558 Summary: ld will follow DT_NEEDED when it is not necessary Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Comp

[Bug binutils/17533] objdump/ar/... crash on malformed ar file

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17533 --- Comment #10 from Nick Clifton --- Hi Alexander, I have uploaded a possible patch to address the directory traversal issue. (This is the same patch as the one posted to PR 17552). Please try it out and let me know if you are happy with

[Bug binutils/17533] objdump/ar/... crash on malformed ar file

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17533 --- Comment #9 from Nick Clifton --- Created attachment 7902 --> https://sourceware.org/bugzilla/attachment.cgi?id=7902&action=edit Proposed patch -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug binutils/17531] readelf -a crashes on fuzzed samples

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17531 --- Comment #11 from Nick Clifton --- Created attachment 7901 --> https://sourceware.org/bugzilla/attachment.cgi?id=7901&action=edit Third readelf patch Hi Alexander, Please update your master branch and try again... Cheers Nick --

[Bug ld/17505] arm: bad static label resolution from different modes

2014-11-05 Thread rearnsha at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17505 --- Comment #7 from Richard Earnshaw --- > What is surprising is that the linker correctly patches the BL/BLX instru ctions, itś just the address that is wrong. I´m wondering if this can be fixed in the linker machinery to handle interwork

[Bug gold/17556] New: crashing when mixing SHF_ALLOC and non SHF_ALLOC sections

2014-11-05 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17556 Bug ID: 17556 Summary: crashing when mixing SHF_ALLOC and non SHF_ALLOC sections Product: binutils Version: unspecified Status: NEW Severity: normal

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #62 from Alexander Cherepanov --- (In reply to Alexander Cherepanov from comment #61) > Created attachment 7900 [details] > More crashers for `objdump -x` > > objdump is definitely getting harder to crash. Keep up the good work! >

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #61 from Alexander Cherepanov --- Created attachment 7900 --> https://sourceware.org/bugzilla/attachment.cgi?id=7900&action=edit More crashers for `objdump -x` objdump is definitely getting harder to crash. Keep up the good work

[Bug ld/17505] arm: bad static label resolution from different modes

2014-11-05 Thread chrbr at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17505 --- Comment #6 from Christian Bruel --- (In reply to Richard Earnshaw from comment #5) > (In reply to Christian Bruel from comment #1) > > Encoding a BFD_RELOC_ARM_PCREL_BLX instead of a BFD_RELOC_ARM_PCREL_CALL for > > static calls between ar

[Bug binutils/17552] strip/objcopy: directory traversal

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17552 Nick Clifton changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Nick Clif

[Bug ld/17505] arm: bad static label resolution from different modes

2014-11-05 Thread rearnsha at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17505 Richard Earnshaw changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org --- Co

[Bug binutils/17552] strip/objcopy: directory traversal

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17552 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #60 from Nick Clifton --- Created attachment 7898 --> https://sourceware.org/bugzilla/attachment.cgi?id=7898&action=edit Proposed patch to fix valgrind's complaints about using uninitialised memory (In reply to comment #57) Hi

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #59 from Nick Clifton --- (In reply to Alexander Cherepanov from comment #54) > More crashers for `objdump -x` Ok - I have updated the master branch with patches for all of these problems. Please try it out and let me know if yo

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in

2014-11-05 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17512 --- Comment #58 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch