------- Additional Comments From nickc at redhat dot com  2008-01-09 15:03 
-------
Hi Daniel,

> Does entry_symbol.name get set from both the default linker script and the
> command line?

Yes.  See ld/ldlang.c:lang_add_entry().  It has a parameter which tells it
whether the symbol is being set from a linker script (default or otherwise) or
from the command line.  The command line takes precedence.

> Not warning with -shared and ENTRY is probably appropriate, since
> all the existing -shared linker scripts have an ENTRY and most shared 
> libraries are executable.

Agreed.

Cheers
  Nick

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

------- 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