[Bug gold/13442] gold screws up exception handling with --incremental flag

2014-12-08 Thread espen at grindhaug dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13442

--- Comment #8 from Espen Grindhaug  ---
(In reply to Cary Coutant from comment #7)
> Incremental linking deliberately disables the --eh_frame_hdr option, because
> of the difficulty involved in incrementally updating it. It could be rebuilt
> from scratch on each incremental update, but I have no plans to work on that
> in the near future.

I will try to figure this out myself then. How hard can it be? :-P

Does gold correctly incrementally update the eh_frame section today, so that it
is just the eh_frame_hdr that is missing?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2014-12-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17531

--- Comment #54 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, master has been updated
   via  53774b7e76dc5b3e8cc00d6f7a9d27e6c65830a9 (commit)
  from  2ebecbb12e1281fca50fb0361475a01243432825 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=53774b7e76dc5b3e8cc00d6f7a9d27e6c65830a9

commit 53774b7e76dc5b3e8cc00d6f7a9d27e6c65830a9
Author: Nick Clifton 
Date:   Mon Dec 8 17:51:46 2014 +

More fixes for invalid memory accesses triggered by fuzzed binaries.

PR binutils/17531
* dwarf.c (display_debug_frames): Check for a negative
augmentation data length.
(display_gdb_index): Check for invalid offsets.
* elfcomm.c (process_archive_index_and_symbols): Check for an
index number that overflows when multiplied by the ar index size.
* readelf.c (dump_ia64_unwind): Add range checks.
(slurp_ia64_unwind_table): Change to a boolean function.  Add
range checks.
(process_version_sections): Add range checks.
(get_symbol_version_string): Add check for missing section
headers.

---

Summary of changes:
 binutils/ChangeLog |   15 +++
 binutils/dwarf.c   |   70 +++---
 binutils/elfcomm.c |6 +++-
 binutils/readelf.c |   72 +++-
 4 files changed, 139 insertions(+), 24 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2014-12-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17531

--- Comment #55 from Nick Clifton  ---
Hi Alexander,

  These should be fixed now.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


binutils-2.24 build fails on HPUX PA-RISC

2014-12-08 Thread Stuart Kemp

Building binutils-2.24 fails on HPUX PA-RISC 11.31 using HP's compiler 

uname -a:
  HP-UX hphost B.11.31 U 9000/800

Compiler:
  B9007AA   C.11.31.08 HP C/aC++ 
Developer's Bundle

Configured as:
./configure --disable-nls CC=cc

system set as hppa2.0w-hp-hpux11.31

Problem:
cc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include 
-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/local/share/locale\"" 
-Dbin_dummy_emulation=bin_vanilla_emulation   -g -c dwarf.c
cc: "dwarf.c", line 1616: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 2163: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 2245: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 2609: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 3535: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 3705: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 4563: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 5206: error 1504: A zero or negative array size is illegal.
cc: "dwarf.c", line 5937: error 1504: A zero or negative array size is illegal.




___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: binutils-2.24 build fails on HPUX PA-RISC

2014-12-08 Thread Alan Modra
On Mon, Dec 08, 2014 at 01:30:34PM -0700, Stuart Kemp wrote:
> 
> Building binutils-2.24 fails on HPUX PA-RISC 11.31 using HP's compiler 

Yes, you need a compiler that supports "long long".  I don't know if
yours does.  If it does, you might need to tweak binutils/elfcomm.h
HOST_WIDEST_INT define.

-- 
Alan Modra
Australia Development Lab, IBM

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils