------- 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-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to