[EMAIL PROTECTED] entry]$ cat foo.c void foo () { } [EMAIL PROTECTED] entry]$ make cc -c -o foo.o foo.c ar rv libfoo.a foo.o ar: creating libfoo.a a - foo.o ld --entry foo -o foo libfoo.a ld: warning: cannot find entry symbol foo; not setting start address ld -u foo --entry foo -o bar libfoo.a nm bar | grep foo 00000000004000b0 T foo nm foo | grep foo make: *** [all] Error 1
Should "--entry foo" imply "-u foo"? -- Summary: Should "--entry foo" imply "-u foo"? Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: hjl dot tools at gmail dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=6766 ------- 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