bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/5533] New: ld -e (--entry) is too quiet on bad symbol names


From: drow at sources dot redhat dot com
Subject: [Bug ld/5533] New: ld -e (--entry) is too quiet on bad symbol names
Date: 2 Jan 2008 15:43:00 -0000

-e entry
       --entry=entry
           Use entry as the explicit symbol for beginning execution of your
program, rather than  the
           default  entry  point.   If  there  is no symbol named entry, the
linker will try to parse
           entry as a number, and use that as the entry address (the number will
 be  interpreted  in
           base 10; you may use a leading 0x for base 16, or a leading 0 for
base 8).

If the option is specified, and there is no symbol with the given name, and it
is not a hex value, ld should issue an error.  Instead it defaults to the first
instruction without any message.  If you forget ".globl" on _start, for
instance, the program will start somewhere unexpected.

-- 
           Summary: ld -e (--entry) is too quiet on bad symbol names
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: drow at sources dot redhat dot com
                CC: bug-binutils at gnu dot org


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]