[Bug gold/11985] GOLD seg-faults if it cannot create needed output sections

2011-07-09 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=11985

--- Comment #3 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2011-07-09 06:34:02 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:i...@sourceware.org2011-07-09 06:33:59

Modified files:
gold   : ChangeLog layout.cc 

Log message:
PR gold/11985
* layout.cc (Layout::create_initial_dynamic_sections): Don't crash
if linker script discards key sections.
(Layout::create_dynamic_symtab): Likewise.
(Layout::assign_local_dynsym_offsets): Likewise.
(Layout::sized_create_version_sections): Likewise.
(Layout::create_interp): Likewise.
(Layout::finish_dynamic_section): Likewise.
(Layout::set_dynamic_symbol_size): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=srcr1=1.801r2=1.802
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=srcr1=1.213r2=1.214

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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 gold/11985] GOLD seg-faults if it cannot create needed output sections

2011-07-09 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11985

Ian Lance Taylor ian at airs dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Ian Lance Taylor ian at airs dot com 2011-07-09 06:35:53 
UTC ---
I committed a patch which just changes gold to carry on as best it can when
using a bizarre linker script.  It lets gold complete the link for this test
case.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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 gold/11985] GOLD seg-faults if it cannot create needed output sections

2010-09-06 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-09-06 08:56 
---
I have just uploaded a small patch which adds debug information to gold for when
it tries and fails to create an output section.  Enabled by running gold with
the --debug script option.  I am not sure whether it should be applied or not.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11985

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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