Re: version-independent url for binutils documentation?

2007-12-24 Thread Nick Clifton

Hi Karl,


Would it be feasible to make, say, http://sourceware.org/binutils/docs/
simply a link to docs-2.18?  That seems like it might be simplest.


Yes it would, and I have now done that.

Cheers
  Nick


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


Re: patch for HPUX SOM on non-HPUX systems

2007-12-24 Thread Nick Clifton

Hi David,


Here is a patch to allow hpux's som target to build on non-hpux hosts.


Thanks for submitting this.  I have a couple of comments on the patch:

  * I think that the somswap.h file would be better off in the bfd/ directory 
rather then the include/som directory, on the basis that this is exactly the 
sort of thing that the bfd library tries to hide from its users.


  * What is the purpose of the include/som/a.out.h header ?  It just includes 
other headers which could easily be done by its users.



How did you test this patch ?   (ie which non-hpux hosts did you try it out on 
?)


The patch applies to binutils-2.18, and is licensed under gpl v2.


The files in the patch are copyrighted to Quest Software.  As far as I am aware 
Quest Software does not have a binutils copyright assignment on file with the 
FSF, so we cannot accept the file as is.  Would Quest Software like to file a 
copyright assignment ?


Also - the current binutils sources are licensed under gpl v3.  Are Quest 
Software prepared to allow their patch to be relicensed under this version ?



Cheers
  Nick




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


[Bug binutils/5494] No source debugging information with relative path by objdump

2007-12-24 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2007-12-24 16:44 
---
Hi Yang,

  I tried this test using the latest binutils and gcc and it worked.  Please try
using these versions and see if you can reproduce the problem.  If so, then
please let us know how you configured your toolchain and which host you are
using when you run the tools.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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 binutils/5488] strip doesn't handle PT_NOTE segment properly

2007-12-24 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-24 17:16 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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 binutils/5449] strip/objcopy doesn't work on ia64/hpux

2007-12-24 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-24 17:17 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5522] New: Section contents partially overwritten with zero

2007-12-24 Thread SebastianR at gmx dot de
Hello!

When linking the attached files using the command line

  ld -q -T bss.lds attention.o libbss.a -o attention.bso

with ld 2.18 targeted for ELF (tested on Linux with version 2.18-1 from Debian,
and on Windows by building binutils 2.18.50 on MinGW with target "i386-pc-elf"),
the first 8 bytes of the section ".bs.server.name" are overwritten with zero. 
I.e.,

  objdump -s -j .bs.server.name attention.o

gives

  Contents of section .bs.server.name:
    41747465 6e74696f 6e536967 6e00  AttentionSign.

whereas

  objdump -s -j .bs.server.name attention.bso

gives

  Contents of section .bs.server.name:
   400620   6e536967 6e00  nSign.

A similar problem occurs with the file "car.o"; in that case the entire contents
of ".bs.server.name" and ".bs.server.service" come out as zero. The section
lengths are correct, however.

Many similar files are linked just fine, but the problem is reproducable with
these specific files, even though it looks pretty random to me. There are no
relocs in the affected sections, so the section contents should stay exactly the
same IMHO.

Please mail me if you want to generate the files yourself.

Thanks,
Sebastian Reichelt

-- 
   Summary: Section contents partially overwritten with zero
   Product: binutils
   Version: 2.18
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: SebastianR at gmx dot de
CC: bug-binutils at gnu dot org
 GCC build triplet: same as host
  GCC host triplet: i386-linux-elf (also tested with MinGW)
GCC target triplet: i386-linux-elf and i386-pc-elf


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-24 Thread SebastianR at gmx dot de

--- Additional Comments From SebastianR at gmx dot de  2007-12-25 00:40 
---
Created an attachment (id=2156)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2156&action=view)
object file whose section contents are changed


-- 


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-24 Thread SebastianR at gmx dot de

--- Additional Comments From SebastianR at gmx dot de  2007-12-25 00:41 
---
Created an attachment (id=2157)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2157&action=view)
object file whose section contents are changed


-- 


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-24 Thread SebastianR at gmx dot de

--- Additional Comments From SebastianR at gmx dot de  2007-12-25 00:42 
---
Created an attachment (id=2158)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2158&action=view)
static library required to link attached files


-- 


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-24 Thread SebastianR at gmx dot de

--- Additional Comments From SebastianR at gmx dot de  2007-12-25 00:43 
---
Created an attachment (id=2159)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2159&action=view)
ld script to link attached files


-- 


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

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