[Bug ld/11178] Documentation enhancement: option -e

2010-01-18 Thread konrad dot schwarz at siemens dot com

--- Additional Comments From konrad dot schwarz at siemens dot com  
2010-01-18 07:52 ---
Hm, perhaps this behavior was changed in the meantime.

The ld I am using reports:

$ ld --version
GNU ld (GNU Binutils; openSUSE 11.1) 2.19
Copyright 2007 Free Software Foundation, Inc.

and I am quite certain that -e ENTRY does not imply -u ENTRY in this version
(e.g., my problem went away after adding -u ENTRY to a linker line containing -e
ENTRY).

There is a case to be made that -e ENTRY should not imply -u ENTRY, namely, that
there is already a defined fallback mechanism to determine the entry point
(e.g., when ENTRY is not defined), also that `ENTRY' could be a number.

Thus, unaware of PR 6766, I thought that it should be enough to add the note.

PR 6755 is struck through in Bugzilla---does that mean it was rejected?  If so,
I would leave ld as it is and add the note to the documentation.  This makes ld
slightly more flexible and its options more orthogonal.

-- 


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

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


[Bug ld/11178] Documentation enhancement: option -e

2010-01-18 Thread hjl dot tools at gmail dot com

--- Additional Comments From hjl dot tools at gmail dot com  2010-01-18 
14:02 ---
(In reply to comment #2)
> Hm, perhaps this behavior was changed in the meantime.
> 
> The ld I am using reports:
> 
> $ ld --version
> GNU ld (GNU Binutils; openSUSE 11.1) 2.19
> Copyright 2007 Free Software Foundation, Inc.
> 

Please try binutils 2.20.

-- 


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

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


[Bug gold/11182] New: gold can't find a scripted INPUT when both script and input are in a subdirectory

2010-01-18 Thread rohan dot hart17 at gmail dot com
Original ld could INPUT a file relative to the current directory.  For example
the script 'dist/ld.script' containing

  INPUT(dist/source1.o dist/source2.o)

can be linked using: ld dist/ld.script

Gold will work if the script is changed to contain
  
  INPUT(source1.o source2.o)

ie., it resolves relative to the script file, but then the old ld can not find
the files.

-- 
   Summary: gold can't find a scripted INPUT when both script and
input are in a subdirectory
   Product: binutils
   Version: 2.20
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: ian at airs dot com
ReportedBy: rohan dot hart17 at gmail dot com
CC: bug-binutils at gnu dot org


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

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