[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/10979] Crashes during linking of program
From: |
ian at airs dot com |
Subject: |
[Bug gold/10979] Crashes during linking of program |
Date: |
31 Dec 2009 03:51:44 -0000 |
------- Additional Comments From ian at airs dot com 2009-12-31 03:51 -------
The problem with arj is that it passes in a linker script as an input file.
The
linker script is just
SECTIONS
{
/DISCARD/ : { *(.comment) *(.note) *(.stab) *(.stabstr) }
}
The problem is that once gold sees a SECTIONS clause, it more or less has to go
through the linker script processing. When it sees a SECTIONS clause in an
input file, it has already handled crt1.o and friends. That fails, because
they
require special handling when using a linker script.
I thought about different ways to tackle this, but I finally decided to simply
forbid it. I committed this patch to give a sensible error for this case,
rather than simply crashing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=10979
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gold/10979] Crashes during linking of program, cvs-commit at gcc dot gnu dot org, 2009/12/30
- [Bug gold/10979] Crashes during linking of program,
ian at airs dot com <=
- [Bug gold/10979] Crashes during linking of program, cvs-commit at gcc dot gnu dot org, 2009/12/31
- [Bug gold/10979] Crashes during linking of program, ian at airs dot com, 2009/12/31
- [Bug gold/10979] Crashes during linking of program, cvs-commit at gcc dot gnu dot org, 2009/12/31
- [Bug gold/10979] Crashes during linking of program, ian at airs dot com, 2009/12/31
- [Bug gold/10979] Crashes during linking of program, ian at airs dot com, 2009/12/31