[Bug binutils/12058] ar s command undocumented

2010-10-28 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12058

Andreas Schwab  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #3 from Andreas Schwab  2010-10-28 15:39:42 
UTC ---
"ar s foo.a" works just fine as documented in the info page.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12001] Linker includes archive members when symbols therein have already been defined

2010-10-28 Thread mark at codesourcery dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12001

--- Comment #3 from Mark Mitchell  2010-10-28 
15:27:07 UTC ---
On 10/28/2010 8:48 AM, nickc at redhat dot com wrote:

>   In the course of checking the patch I found one linker testcase that broke:
> default-script2.

I agree.

I'm disturbed that there's any evidence that people were relying on the
old behavior, but it just seems wrong:

This:

>   _START = DEFINED(_START) ? _START : 0x900;

in combination with --defsym _START=... should result in a defined
_START.  IMO, the most logical interpretation of --defsym is that the
linker operate "as if" such definitions occurred at the top of the
linker script, in the order they appeared on the command line, so that
the script is actually:

  _START = 0x8000;
  _START = DEFINED(_START) ? _START : 0x900;

And, in that case, of course, _START is defined.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/12166] Assertion failure in coff_frob_symbol

2010-10-28 Thread foldr at codedgers dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12166

--- Comment #3 from Mikhail Glushenkov  2010-10-28 
15:06:48 UTC ---
Sorry, I thought that I've already done that.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/12166] Assertion failure in coff_frob_symbol

2010-10-28 Thread foldr at codedgers dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12166

--- Comment #2 from Mikhail Glushenkov  2010-10-28 
15:02:54 UTC ---
Created attachment 5097
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5097
File that demonstrates the problem

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/12166] Assertion failure in coff_frob_symbol

2010-10-28 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12166

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |WAITING
 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton  2010-10-28 14:56:51 
UTC ---
Hi Michail,

  Please could you upload the file that demonstrates this problem.  Sending it
as an attachment does not work. :-(

Cheers
  Nick Clifton

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12058] ar s command undocumented

2010-10-28 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12058

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||nickc at redhat dot com
 Resolution||FIXED

--- Comment #2 from Nick Clifton  2010-10-28 14:15:31 
UTC ---
Hi Christopher,

  This was just a typo in the ar --help output.  There is no 's' command, only
an 's' modifier.  I have checked in the uploaded patch to take care of this
issue.

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12058] ar s command undocumented

2010-10-28 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12058

--- Comment #1 from Nick Clifton  2010-10-28 14:14:35 
UTC ---
Created attachment 5096
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5096
Remove 's' command from ar --help output

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12001] Linker includes archive members when symbols therein have already been defined

2010-10-28 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12001

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||nickc at redhat dot com
 AssignedTo|unassigned at sources dot   |nickc at redhat dot com
   |redhat.com  |

--- Comment #2 from Nick Clifton  2010-10-28 13:47:43 
UTC ---
Hi Mark,

  I have uploaded a possible patch to LD for this problem.  I assume that a
similar patch to GOLD will also be possible, but I have not looked into this
yet.  

  In the course of checking the patch I found one linker testcase that broke:
default-script2.  Looking at the test, it seems to me that the patched linker
is actually correct in this instance.  The test uses a linker script that looks
like this:

  _START = DEFINED(_START) ? _START : 0x900;
  SECTIONS
  {
. = _START;
.text : {*(.text)}
/DISCARD/ : {*(*)}
  }

It then checks to see that the .text symbol has been given an address of
0x9000 despite the fact that "-defsym _START=0x800" has been passed on
the command line.  The patched linker sets the address to 0x8000, which I
think is right.

  Does anyone have any comments before I look at creating a patch for GOLD ?

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12001] Linker includes archive members when symbols therein have already been defined

2010-10-28 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12001

--- Comment #1 from Nick Clifton  2010-10-28 13:42:29 
UTC ---
Created attachment 5095
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5095
Add early definition of --defsym symbols.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils