[Bug binutils/7032] gcc fails to compile with Internal error, aborting at dw2gencfi.c line 1267 errror

2008-11-17 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-17 16:52 
---
Hi Kamaraju,

 I checked in the /var/tmp folder, but there are no .s files there. They must
 have been deleted automatically when the compilation failed. Is there any
 alternate way to obtain them?

Just add --save-temps to your gcc command line.

Cheers
  Nick


-- 


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

--- 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/7032] gcc fails to compile with Internal error, aborting at dw2gencfi.c line 1267 errror

2008-11-17 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-17 17:32 
---
Hi Kamaraju,

  What is the command line used to invoke the assembler ?  (You can find this by
adding -v to your gcc command line).

Cheers
  Nick


-- 


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

--- 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/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value

2008-11-17 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-17 17:41 
---
Subject: Re:  64-bit libstdc++.so fails to link on Solaris  11/SPARC:
 could not read symbols: Bad value

Hi Rainer,

 unfortunately, ld SEGVs now here:
 
 #0  0x0008d19c in _bfd_sparc_elf_check_relocs (abfd=0x1dc518, info=0x19d980, 
 sec=0x1f6a28, relocs=0x1fdc18) at 
 /vol/gnu/src/binutils/binutils-dist/bfd/elfxx-sparc.c:1348

Doh.  Thinko in the patch.  Please change:

   case R_SPARC_WPLT30:
 /* The Solaris native assembler will generate a WPLT30
reloc for a local symbol if you assemble a call from
one section to another when using -K pic.  We treat
it as WDISP30.  */
 break;

to:

   case R_SPARC_WPLT30:
 /* The Solaris native assembler will generate a WPLT30
reloc for a local symbol if you assemble a call from
one section to another when using -K pic.  We treat
it as WDISP30.  */
 return TRUE;

(Only the last line has changed).

Cheers
   Nick


-- 


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

--- 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/7032] gcc fails to compile with Internal error, aborting at dw2gencfi.c line 1267 errror

2008-11-17 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-17 17:51 
---
Subject: Re:  gcc fails to compile with Internal error,
 aborting at dw2gencfi.c line 1267 errror

Hi Kamaraju,

 /home/kkusuman/software/compileHere/gcc-4.4-20081107/./gcc/xgcc -

Sorry, I meant please add -v to the gcc command line that you are 
running when you get the internal error from the assembler.  ie I need 
to know that command line that gcc uses to invoke the assembler.

I tried just using as -Av9 eh_alloc.s to invoke the assembler but that 
works without generating any internal errors at all.

Cheers
   Nick




-- 


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

--- 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/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value

2008-11-17 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-17 17:54 
---
Subject: Re:  64-bit libstdc++.so fails to link on Solaris  11/SPARC:
 could not read symbols: Bad value

Hi Rainer,

 done, but not much better either: at first I get a lot of assertion
 failures

Ok, this is going nowhere.  Is it possible for you to create a small 
testcase that reproduces the problem ?  Say just a single object file 
that you try to link ?  If so then please can you upload it to the issue 
along with a description of the linker command line used and I will try 
to reproduce the problem locally.

Cheers
   Nick



-- 


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

--- 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/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value

2008-11-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-18 11:42 
---
Created an attachment (id=3072)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3072action=view)
third try


-- 
   What|Removed |Added

Attachment #3065 is|0   |1
   obsolete||


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

--- 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/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value

2008-11-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-18 11:45 
---
Hi Rainer,

  OK, I have uploaded a third patch for you to try.  This one works(1) for me
although to be honest I do not really see how it is different from the second
patch.  Anyway give it a whirl and see how you go.

Cheers
   Nick

(1) Where works means that the linker does not complain and a binary is
produced.  I cannot tell you if the binary is actually functional.

-- 


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

--- 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/7037] Dwarf offset error with -g -O2 options

2008-11-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-18 13:56 
---
Created an attachment (id=3073)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3073action=view)
Fix reloc desriptions


-- 


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

--- 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/7037] Dwarf offset error with -g -O2 options

2008-11-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-18 14:02 
---
Hi Swami,

  Well this was a fun one to track down.  The problem turned out to be the
descriptions of the CR16 relocs in elf32-cr16.c.  In particular they were using
the src_mask field of reloc_howto_struct which should only be set for targets
which use REL relocations.  The result of this problem was that the contents of
the .debug_info section in the object file were being relocated incorrectly,
which resulted in the error message you were seeing as well as the badly
formatted name for the source file that contained the undefined reference.

  I have uploaded a patch which fixes the reloc descriptions.  With the patch
applied I now get:

ld: warning: cannot find entry symbol _start; defaulting to 0004
test.o: In function `main':
/local/user/swami/sitel/align/test.c:5: undefined reference to `one'

  I will be applying the patch to the source tree shortly.

Cheers
  Nick

bfd/ChangeLog
2008-11-18  Nick Clifton  [EMAIL PROTECTED]

PR 7037
* elf32-cr16.c (cr16_elf_howto_table): Zero the src_mask field of
the reloc descriptions.



-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
Summary| Dwarf offset error with -g |Dwarf offset error with -g -
   |-O2 options |O2 options


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

--- 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/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value

2008-11-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-18 14:07 
---
Subject: Re:  64-bit libstdc++.so fails to link on Solaris  11/SPARC:
 could not read symbols: Bad value

Hi Rainer,

 Unfortunately, regtesting the resulting GCC build is
 currently hampered by the following warning:
 
 /vol/gcc/obj/binutils-2.19.50-g/ld/ld-new: warning: section `.bss' type 
 changed to PROGBITS
 
 This is harmless during the build, but many testcases (not only c++ and
 libstdc++-v3) fail due to the unexpected message.

I think that this is a separate problem, rather than fallout from the 
patch.  Nevertheless it would be good to track it down.  Can you create 
a small testcase that reproduces it ?

Cheers
   Nick




-- 


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

--- 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/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value

2008-11-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-18 14:21 
---
Subject: Re:  64-bit libstdc++.so fails to link on Solaris  11/SPARC:
 could not read symbols: Bad value

Hi Rainer,

 I'll try.  First of all, I need to understand what the warning is all
 about.

Oh, well the progbits attribute indicates that the section contains 
data values, but the .bss section should in theory be completely empty 
and just initialized with zero bytes when the program is loaded into 
memory.  (ie its type should be NOBITS).

What is probably happening is that one or more of your input object 
files has a .bss section with the wrong attributes.  Why that should be 
is currently a mystery, but first we need to locate those object files 
(or else demonstrate that the problem has some other cause).

Cheers
   Nick




-- 


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

--- 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/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value

2008-11-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-18 15:11 
---
Subject: Re:  64-bit libstdc++.so fails to link on Solaris  11/SPARC:
 could not read symbols: Bad value

Hi Rainer,

 Every single one of the libstdc++ object files is affected.  E.g.
 
 % readelf -S --wide .libs/wstring-inst.o |grep -A1 '\.bss'
   [191] .bss._ZZL18__gthread_active_pvE21__gthread_active_once PROGBITS   
   0205a8 20 00  WA  0   0  8

 If I assemble the same source file with gas 2.19, I get
 
   [ 3] .bss  NOBITS   3c 00 00  WA  0   0 
  1
   [338] .bss._ZZL18__gthread_active_pvE21__gthread_active_once NOBITS 
   01a988 20 00  WA  0   0  8

So, are you saying that assembling with gas v2.19 fixes the problem ? 
If so, can we close the PR (and apply the patch) ?

Cheers
   Nick



-- 


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

--- 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/7038] ld doesn't detect overlap with .bss

2008-11-19 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-19 09:58 
---
Hi Dean,

 I suspect it's always worked this way, but seems like a bug to me.

It is a bug.

  I'm using binutils 2.14 targetting powerpc (elf):
 GNU ld version 2.16.91 20050610

Which version are you using, 2.14 or 2.16 ?

Not that it really matters - the bug has already been fixed.  Please upgrade to
the latest binutils release (2.19) or the current head of the development
sources and you will start to get error messages like this:

 section .text [0001 - 0001216b] overlaps section .bss [ffe0 - 
0001007f]

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
Summary| ld doesn't detect overlap  |ld doesn't detect overlap
   |with .bss   |with .bss


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

--- 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/7044] Compilation warnings/errors in dlltool and windmc

2008-11-24 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-24 16:37 
---
Created an attachment (id=3075)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3075action=view)
Fix compile time warnings


-- 


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

--- 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/7044] Compilation warnings/errors in dlltool and windmc

2008-11-25 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-11-25 08:49 
---
Patch committed along with this changelog entry.

binutils/ChangeLog
PR7044
* dlltool.c (run): Use formatting string to avoid compile time
warning.
(gen_exp_file): Check return value from fread.
* windmc.c (main): Check return value from fread.

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/7031] New linker command file function: REGION_ALIAS

2008-12-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-12-02 08:59 
---
Subject: Re:  New linker command file function: REGION_ALIAS

Hi Sebastian,

 Yes or no?

Yes.

 What happens if we implement this feature and provide a patch?

Then we will review it and assuming that it is OK, it will be accepted 
into the sources.

Cheers
   Nick




-- 


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

--- 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/7103] STT_IFUNC is in OS-specific range

2008-12-23 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-12-23 09:04 
---
Hi H.J.

  You are correct, the value should be 7.

  I have removed the STT_IFUNC support in binutils (for now), but should the
feature be officially approved I will re-add the support, with the correct value
for STT_IFUNC.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/7011] strip crashes in _bfd_elf_compute_section_file_positions

2008-12-23 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-12-23 10:08 
---
Hi Matthias,

  I have checked the patch into the 2.19 branch, but it is up to the release
manager to decide if there should be a 2.19.1 point release.  I will email him
and see what he thinks.

Cheers
  Nick


-- 


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

--- 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/7093] LD is unable to create reloacatable from binary

2008-12-23 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-12-23 11:41 
---
Created an attachment (id=3624)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3624action=view)
Check input file type before processing it as an ARM ELF object file


-- 


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

--- 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/7093] LD is unable to create reloacatable from binary

2008-12-23 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-12-23 11:44 
---
Hi Soren,

  Thanks for reporting this bug.  I have checked in the uploaded patch to fix
the problem, along with the changelog entry below.

  By the way - are you aware of the .incbin assembler pseudo-op which can be
used to insert binary data into an assembler source file ?  Using it is an
easier way to create an object file from binary data.

Cheers
  Nick

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/7093] LD is unable to create reloacatable from binary

2008-12-23 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-12-23 11:44 
---
oops - forgot the changelog entry:

bfd/ChangeLog
2008-12-23  Nick Clifton  ni...@redhat.com

PR 7093
* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF
object files.


-- 


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

--- 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/9695] BFD internal error while using oprofile on Gentoo with binutils 2.19

2008-12-30 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2008-12-30 07:49 
---
Subject: Re:  New: BFD internal error while using oprofile
 on Gentoo with binutils 2.19

Hi ultip,

 BFD: BFD (GNU Binutils) 2.19 internal error, aborting at
 /var/tmp/portage/sys-devel/binutils-2.19/work/binutils-2.19/bfd/pdp11.c
 line 528 in aout_16_some_aout_object_p

 I've filed a bugreport with the oprofile tracker already. This problem occurs
 intermittently, and probably depends on some specific binary that BFD is 
 choking on.

It does, and without one to examine we are not going to be able to fix 
the problem.  Please could you upload a (compressed) binary for us to 
look at ?

Cheers
   Nick




-- 


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

--- 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 gas/9698] fix undefined sprintf behaviour

2009-01-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-02 14:22 
---
Hi Matthias,

  Thanks for reporting this problem and supplying the fix as well.

  I have checked in your patch and the changelog entries.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/9695] BFD internal error while using oprofile on Gentoo with binutils 2.19

2009-01-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-02 16:02 
---
Created an attachment (id=3631)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3631action=view)
possible patch - just removes the abort.


-- 


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

--- 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/9695] BFD internal error while using oprofile on Gentoo with binutils 2.19

2009-01-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-02 16:06 
---
Hi utilp,

  Well something strange is going on with your opreport session since it is
clearly trying to examine files which it should not need to look at.

  Presumably the problem in the BFD library is being triggered because it is
being passed one of the unexpected files to examine and it is trying to treat
the file as if it were a proper executable binary.  Please could you try out the
uploaded patch which *might* fix the problem.  Without a testcase I cannot be
any more certain than that.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9682] Compilation error (gcc 4.3.2)

2009-01-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-02 16:12 
---
Hi Curtis,

  Thanks for reporting this bug.  I have applied your suggested fix along with
this changelog entry.

Cheers
  Nick

bfd/ChangeLog
2009-01-02  Curtis Mackie  curtmack...@gmail.com

PR 9682
* coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
literal.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5692] ld segfault linked to bfd elf error

2009-01-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-02 16:15 
---
Hi Khem,

  Please could you recheck this bug to see if it is still there ?

  I think that a recent fix of mine (for PR 7093) may have fixed the new version
of this problem as well.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|REOPENED|WAITING


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

--- 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 gprof/7099] gprof documentation for linking with -lc_p is now misleading

2009-01-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-02 19:17 
---
Created an attachment (id=3632)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3632action=view)
Add mention of using -static-libgcc


-- 


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

--- 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 gprof/7099] gprof documentation for linking with -lc_p is now misleading

2009-01-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-02 19:18 
---
Hi Shlomi,

  What do you think of the new paragraph in the uploaded patch ?

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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 gprof/7099] gprof documentation for linking with -lc_p is now misleading

2009-01-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-03 10:00 
---
Hi Shlomi,

  -lc_p is only needed if you are invoking the linker directly.  If you use gcc
to drive the linker, then it is not needed.

  I will check the patch in along with this changelog entry.

Cheers
  Nick

gprof/ChangeLog
PR 7099
* gprof.texi (Compiling): Mention the need for using
-static-libgcc on shared library systems.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/7073] when the obj file's length exceed the limitation, the linker exit with errors

2009-01-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-03 10:04 
---
Hi,

  Please do feel free to post your code to the mailing list.  I do not think
that we will be including it into the sources at the moment however as I think
that this is a specialized enhancement that would only be needed in very rare
circumstances.

Cheers
  Nick


-- 
   What|Removed |Added

   Severity|normal  |enhancement
 Status|NEW |RESOLVED
 Resolution||WONTFIX


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

--- 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/7061] cross ld configured with --with-sysroot doesn't search all relevant library directories

2009-01-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-03 12:38 
---
Created an attachment (id=3633)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3633action=view)
Make 32-bit sparc library searching behave in the same way as the 64-bit
version


-- 


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

--- 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/7061] cross ld configured with --with-sysroot doesn't search all relevant library directories

2009-01-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-03 12:41 
---
Hi,

  I do not think that genscripts.sh is misbehaving here.  In general if you are
providing a sysroot then you should not expect the linker to search elsewhere
for libraries.  The fact that the 64-bit sparc linker does do this is an
anomaly. (At least in my opinion).  It does make sense however that the 32-bit
and 64-bit sparc linkers should behave in same way, so please could you try out
the uploaded patch which will make the 32-bit sparc linker look in the normal
system library directories as well as the sysroot directories.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/7031] New linker command file function: REGION_ALIAS

2009-01-06 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-06 16:36 
---
Hi Sebastian,

  The patch looks good - thanks very much for persevering with this.

In answer to your questions:

* Yes stat_alloc() is the right function to use.
* Quoting names like this is preferred.
* You are correct, the prototype for lang_memory_region_default is redundant.
* There is no separate documentation for writing testcases.  But it is
relatively simple to do by taking an already existing testcase (or two) and
modifying them to suit your needs.

So, in order to accept this patch, or rather an extended version of it, we will
need:

  * A copyright assignment on file with the FSF for binutils contributions.

  * Documentation of the new feature in ld/ld.texinfo plus a one line
description of it in ld/NEWS.

  * A testcase or two to make sure that it works, and continues to work as
changes are made to the linker in the future.

Cheers
  Nick

-- 


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

--- 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/9727] ld crashes in bfd/elf.c bfd_elf_set_group_contents()

2009-01-12 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-12 13:59 
---
Hi Michael,

  I could not reproduce this problem using the current mainline sources (for
both gcc and the binutils).  Please could you try using them yourself and see if
you can make the bug occur.  (Or else prove that it has already been fixed).  If
it does occur, please could you upload the test.o object file to this PR so that
I can investigate further.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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 gas/9722] ARM:Wrong (thumb-2) opcode for nop in UAL mode

2009-01-14 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-14 15:06 
---
Created an attachment (id=3664)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3664action=view)
generate correct nop insn


-- 


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

--- 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 gas/9722] ARM:Wrong (thumb-2) opcode for nop in UAL mode

2009-01-15 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-15 12:35 
---
Hi Bastian,

  Great - I have checked the patch in along with a new test for the ARM
testsuite and a tweak of an existing test.

Cheers
  Nick

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/9769] [Build failure] tm struct tm_gmtoff field build error

2009-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-21 11:57 
---
Hi Pierre,

  Actually I can see no good reason for using this unsupported field, so I am
going to check in the attached patch to remove its use.

Cheers
  Nick

bfd/ChangeLog
2009-01-21  Nick Clifton  ni...@redhat.com

PR 9769
* vmsutil.c (vms_file_stats_name): Remove use of unsupported
tm_gmtoff field in struct tm.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/9766] --kill-at results in wrong export names

2009-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-21 12:01 
---
Created an attachment (id=3677)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3677action=view)
Use strrchr and check for a following digit.


-- 


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

--- 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/9766] --kill-at results in wrong export names

2009-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-21 12:02 
---
Hi Christoph,

  Please could you try out the uploaded patch and let me know if it works for 
you.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9743] --stub-group-size=1 does not help when linking stage1 GCC

2009-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-21 12:29 
---
Hi Laurent,

  Since --stub-group-size=1 is the default, it is not surprising that it made no
difference.  --stup-group-size=1024 tells the linker to process 1024 input
sections before trying to insert a stub section, which is very unlikely to help
you given that you problem is that the input sections are so large.

  Please could you try --stub-group-size=-1, which tells the linker to place
stub sections before the sections that need them.  If that does not work, please
try --stub-group-size=2 which tells the linker to place stub sections both
before and after input sections that need them, and to group the input sections
into units of 2.

  If neither of those options work, you could try some larger positive values
(eg 4, 8, 16) but in the end this is a heuristic to find a sweet spot to place
branch stubs, not a guarantee of successful linking.

Cheers
  Nick

PS.  Did you try compiling your stage 1 boostrap with -mlong-calls ?  This
should work around the 32Mbyte offset limit of the BL instruction by making gcc
load the address of a function to be called into a register first. 

-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9769] [Build failure] tm struct tm_gmtoff field build error

2009-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-21 11:56 
---
Created an attachment (id=3676)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3676action=view)
Remoev use of tm_gmtoff


-- 


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

--- 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/9774] objdump -d loops infinitely

2009-01-26 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-26 15:50 
---
Hi Khem,

  Please could you try out the uploaded patch and let me know if it works for 
you.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING
Summary|objdump -d loops infinitely |objdump -d loops infinitely


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

--- 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/9766] --kill-at results in wrong export names

2009-01-26 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-26 15:53 
---
Hi Christoph,

  I have checked the patch in along with this changelog entry.

Cheers
  Nick

binutils/ChangeLog
2009-01-26  Nick Clifton  ni...@redhat.com

PR 9766
* dlltool.c (xlate): When strip text after the @ sign, look for
the last one not the first one.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/9774] objdump -d loops infinitely

2009-01-26 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-26 15:49 
---
Created an attachment (id=3687)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3687action=view)
Sign extend addresses if necessary


-- 


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

--- 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/9774] objdump -d loops infinitely

2009-01-27 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-27 15:43 
---
Hi Khem,

  Ok - I have checked the patch in.

Cheers
  Nick

binutils/ChangeLog
2009-01-27  Nick Clifton  ni...@redhat.com

PR 9774
* objdump.c (disassemble_section): When the target uses signed
addresses make sure that we compute signed values.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/9774] objdump -d loops infinitely

2009-01-29 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-01-29 15:04 
---
Created an attachment (id=3696)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3696action=view)
Version of the previous patch suitable for applying to 2.17 branch sources


-- 


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

--- 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/9797] Simple linker script casues spurious error message

2009-02-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-03 15:58 
---
Created an attachment (id=3706)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3706action=view)
Describe the integer suffixes supported by the linker.


-- 


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

--- 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/9797] Simple linker script casues spurious error message

2009-02-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-03 16:01 
---
Hi Rich,

  I think that a slightly more extensive rewording is needed.  With the uploaded
patch the text in the 'Constants' section of the linker manual now reads:

  As in C, the linker considers an integer beginning with `0' to be
   octal, and an integer beginning with `0x' or `0X' to be hexadecimal.
   Alternatively the linker accepts suffixes of `h' or `H' for
   hexadeciaml, `o' or `O' for octal, `b' or `B' for binary and `d' or `D'
   for decimal.  Any integer value without a prefix or a suffix is
   considered to be decimal.

   In addition, you can use the suffixes `K' and `M' to scale a
   constant by `1024' or `1024*1024' respectively.  For example, the
   following all refer to the same quantity:

 _fourk_1 = 4K;
 _fourk_2 = 4096;
 _fourk_3 = 0x1000;
 _fourk_4 = 1o;

   Note - the `K' and `M' suffixes cannot be used in conjunction with
   the base suffixes mentioned above.

Are you happy with this ?

Cheers
  Nick



-- 
   What|Removed |Added

 Status|REOPENED|WAITING


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

--- 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/9805] ld man page error re: options --allow-shlib-undefined/--no-allow-shlib-undefined

2009-02-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-03 17:42 
---
Created an attachment (id=3707)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3707action=view)
Rewrite description of --allow-shlib-undefined


-- 


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

--- 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/9805] ld man page error re: options --allow-shlib-undefined/--no-allow-shlib-undefined

2009-02-03 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-03 17:43 
---
Hi Francis,

  The uploaded patch changes the description of the --allow-shlib-undefined and
--no-allow-shlib-undefined to the following:

Allows or disallows undefined symbols in shared libraries.  This
 switch is similar to `--no-undefined' except that it determines
 the behaviour when the undefined symbols are in a shared library
 rather than a regular object file.  It does not affect how
 undefined symbols in regular object files are handled.

 The default behaviour is to report errors for any undefined symbols
 referenced in shared libraries if the linker is being used to
 create an executable, but to allow them if the linker is being
 used to create a shared library.

 The reasons for allowing undefined symbol references in shared
 libraries specified at link time are that:

* A shared library specified at link time may not be the same
  as the one that is available at load time, so the symbol
  might actually be resolvable at load time.

* There are some operating systems, eg BeOS and HPPA, where
  undefined symbols in shared libraries are normal.

  The BeOS kernel for example patches shared libraries at load
  time to select whichever function is most appropriate for the
  current architecture.  This is used, for example, to
  dynamically select an appropriate memset function.


Do you agree with these changes ?

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9805] ld man page error re: options --allow-shlib-undefined/--no-allow-shlib-undefined

2009-02-04 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-04 09:14 
---
Hi Francis,

  Great - I have committed the patch along with this changelog entry.

Cheers
  Nick

ld/ChangeLog
2009-02-04  Nick Clifton  ni...@redhat.com

PR 9805
* ld.texinfo (--allow-shlib-undefined): Correct description of
default settings and tidy up the rest of the entry.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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 gas/9814] Gas uses Thumb padding within ARM code

2009-02-04 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-04 10:49 
---
Hi Christophe,

  Please try out the uploaded patch and let me know what you think.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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 gas/9814] Gas uses Thumb padding within ARM code

2009-02-04 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-04 10:48 
---
Created an attachment (id=3711)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3711action=view)
Record the current mode in the current frag as instructions are generated.


-- 


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

--- 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/6714] WindRes 2.18 can't concatenate literal strings anymore?

2009-02-11 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-11 14:38 
---
Subject: Re:  WindRes 2.18 can't concatenate literal strings
 anymore?

Hi Craig,

 I'm using 2.19 and I still get the same error of :
 
 /opt/mingw32/bin/i586-pc-mingw32-windres: icon file `pixmaps/' does not 
 contain
 icon data
 
 Is there a temp fix I can apply to get this working..?

1. Create a patch to fix windres so that it will concatenate string 
literals.

or:

2. Submit a bug report to http://sourceware.org/bugzilla/ describing the 
problem and including a small test case to reproduce the problem.

or:

3. Edit your resource file and perform the string literal concatenation 
yourself.

or:

4. Create a tool in your favourite programming language to pre-process 
the resources files for you.

Cheers
   Nick



-- 


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

--- 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/6714] WindRes 2.18 can't concatenate literal strings anymore?

2009-02-11 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-11 14:40 
---
Doh! Please ignore suggestion 2.  I had completely blanked on this already being
in bugzilla.


-- 


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

--- 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/6714] WindRes 2.18 can't concatenate literal strings anymore?

2009-02-11 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-11 14:53 
---
Hi Craig,

  I think that you are going to have to post another test case to demonstrate
the problem that you are having.  I tried the following:

  % cat fred.inc
  #define VALUE_AS_TXT 15

  % cat fred.rc
  #include fred.inc

  101 DIALOG DISCARDABLE  0, 0, 186, 95
  BEGIN
 LTEXT   Value:  VALUE_AS_TXT, -1, 7, 238, 100,  16
 LTEXT   Value:  16, -1, 7, 238, 100,  16
 LTEXT   Value: 17,-1, 7, 238, 100,  16
  END

And got this result:

  % windres fred.rc
  LANGUAGE 9, 1

  101 DIALOG MOVEABLE PURE DISCARDABLE 0, 0, 186, 95
  STYLE 0x8088
  BEGIN
LTEXT Value: 15, -1, 7, 238, 100, 16, 0x5002
LTEXT Value: 16, -1, 7, 238, 100, 16, 0x5002
LTEXT Value: 17, -1, 7, 238, 100, 16, 0x5002
  END


So string literal concatenation is working.

Cheers
  Nick

-- 


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

--- 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/9827] -q option cause assertion fail

2009-02-11 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-11 15:35 
---
Created an attachment (id=3732)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3732action=view)
 If the header size has not been set yet then assume that it will match the
output section's reloc type.


-- 


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

--- 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/9827] -q option cause assertion fail

2009-02-11 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-11 15:35 
---
Hi Jie,

  Please could you try out the uploaded patch and let me know if it works for 
you ?

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9827] -q option cause assertion fail

2009-02-12 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-12 15:09 
---
Hi Jie,

  Great.  I have committed the patch along with this changelog entry.

Cheers
  Nick

bfd/ChangeLog

PR 9827
* elflink.c (bfd_elf_final_link): When counting the relocations,
if the header size has not been set yet then assume that it will
match the output section's reloc type.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/9811] export table broken after forward (dlltool)

2009-02-16 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-16 09:47 
---
 All in all, sorry for this bug report. I believe, it can be closed as INVALID.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


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

--- 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/521] GNU ar on Solaris creates invalid archives in some cases

2009-02-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-18 11:14 
---
Hi Niki,

  Please could you provide a small testcase to reproduce the problem you are
having.  I tried using the sequence of instructions originally described by
Bruno, but they worked.  I also tried a few variations of my own but I could not
create a corrupt archive.

Cheers
  Nick


-- 


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

--- 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/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-18 15:29 
---
Hi Bjoern,

  Thanks for the patch.  I have applied it to the sources.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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 gas/9874] Warning while compiling gas/tc-ia64.c with -Wformat-security

2009-03-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-02 14:48 
---
I have checked in Jim's patch.

Cheers
  Nick

gas/ChangeLog

PR 9874
* config/tc-ia64.c (fix_insn): Fix warning reported by
-Wformat-security.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/7031] New linker command file function: REGION_ALIAS

2009-03-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-02 17:26 
---
Hi Sebastian,

  Thanks for the revised patch.  I have applied it along with this changelog 
entry.

Cheers
  Nick

ld/ChangeLog
2009-03-02  Sebastian Huber  sebastian.hu...@embedded-brains.de

* ldgram.y: Add support for REGION_ALIAS operator.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldlex.l: Likewise.
* NEWS: Mention the new feature.
* ld.texinfo: Document the new feature.

ld/testsuite/ChangeLog
2009-03-02  Sebastian Huber  sebastian.hu...@embedded-brains.de

* ld-scripts/regions-alias-1.t: New file.
* ld-scripts/regions-alias-2.t: New file.
* ld-scripts/regions-alias-3.t: New file.
* ld-scripts/regions-alias-4.t: New file.
* ld-scripts/script.exp: Run region alias tests.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/521] GNU ar on Solaris creates invalid archives in some cases

2009-03-10 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-10 15:46 
---
Hi Niki,

  Sorry but I still cannot reproduce the problem.  I checked both versions of
libmath.a that you uploaded and they both responded to the ar program, both with
the 't' command and the 'x' command.

  If you are willing to accept a large email (~270k) I can send you a copy of
the ar binary that I have been using so that you can try it out yourself.

Cheers
  Nick


-- 


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

--- 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/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-10 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-10 17:51 
---
Created an attachment (id=3806)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3806action=view)
Allow object files with relocs but no symbol table.


-- 


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

--- 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/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-10 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-10 17:53 
---
Hi Mike,

  The crtn.o file in your tarball is the culprit - it contains relocs that do
not not refer to any symbols.  Since those are the only kind of relocs in that
file there is no symbol table either and this is what is confusing the BFD 
library.

  Please try the uploaded patch which should work for your tarball but maybe not
for other tests.  (I did not try to track down all the places where the
assumption is made that relocs==symbols).

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-11 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-11 10:40 
---
Hi Mike,

 running with --verbose shows no info as to why ld decided to exit(1) ...

  Yeah my bad.  Delete the last frag of the patch to elflink.c, (the one that
calls bfd_set_error) and you will get your error message back.  That bit was
totally bogus.

  There is obviously another bit of the linker that assumes that
relocs==symbols.  Tracking it down is not going to be easy though.  *sigh*.  By
the way, if you omit crtn.o from the link then everything works just fine...

Cheers
  Nick


-- 


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

--- 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/521] GNU ar on Solaris creates invalid archives in some cases

2009-03-11 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-11 15:27 
---
Hi Niki,

  Just one idea - have you tried building a static version of the 'ar' binary
and then testing that ?

Cheers
  Nick


-- 


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

--- 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/9945] strip --strip-unneeded removes symbol table

2009-03-13 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-13 11:29 
---
Hi H.J.

  Patch approved - please apply.

Cheers
  Nick


-- 


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

--- 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/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-13 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-13 11:35 
---
Created an attachment (id=3820)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3820action=view)
Gracefully handle object files with relocs but no symbol tables.


-- 
   What|Removed |Added

Attachment #3806 is|0   |1
   obsolete||


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

--- 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/9934] arm gnueabi linker often fails with FPE error while linking shared libs

2009-03-13 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-13 11:38 
---
Hi Mike,

  I have checked in a revised version of my previous patch (uploaded) which will
stop the linker from seg-faulting.  It will still refuse to produce an
executable because of the non-representable section (in the crtn.o) file, but
that is now the correct behaviour.  Once the patch for 9945 is applied and a new
stripped version of crtn.o is produced the entire problem should go away.

Cheers
  Nick

bfd/ChangeLog
2009-03-13  Nick Clifton  ni...@redhat.com

PR 9934
* elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section.
* elflink.c (elf_link_read_relocs_from_section): Use
NUM_SHDR_ENTRIES.  Gracefully handle the case where there are
relocs but no symbol table.
* elf32-arm.c (elf32_arm_check_relocs): Likewise.


-- 
   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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

--- 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/9992] ar has troubles extracting archives

2009-03-27 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-03-27 21:04 
---
Created an attachment (id=3852)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3852action=view)
Fix binutils configure script


-- 


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

--- 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/6744] --export-dynamic does nothing for Cygwin .exe's

2009-04-01 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-01 14:43 
---
Hi Guys,

  I would prefer not to make -export-dynamic a synonym for -export-all-symbols
for the reason that Dave mentioned.  I would not object to adding code to
generate a warning message saying something like: --export-dynamic is not
supported for COFF/PE targets, did you mean --export-all-symbols ?.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9987] ld-gc testsuite errors on cygwin

2009-04-01 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-01 14:49 
---
Hi Christian,

  Since garbage collection is not currently implemented for Cygwin toolchains
the linker testsuite ought to skip the gc tests for this target.  So please
could you try out the uploaded patch to update the check_gc_sections_available
procedure in the linker test library.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/9984] strings' man page should mention if --encoding supports UTF-8 or not

2009-04-01 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-01 14:51 
---
The strings manual page already explicitly states which values are accepted for
the --encoding option. 

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


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

--- 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/9972] [PATCH] binutils strings: Document program option -V

2009-04-01 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-01 14:58 
---
Hi Jari,

  Your patch missed the usage() function in strings.c but other than that it was
fine, so I have checked it in along with this changelog entry.

Cheers
  Nick

binutils/ChangeLog
2009-04-01  Jari Aalto  jari.aa...@cante.net

PR 9972
* doc/binutils.texi (strings): Document the -V alias for the
--version option.
* strings.c (usage): Likewise.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/9987] ld-gc testsuite errors on cygwin

2009-04-01 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-01 14:47 
---
Created an attachment (id=3859)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3859action=view)
Do not assume that garbage collection is available on cygwin targets.


-- 


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

--- 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 gas/7026] ARM target wont build, error: format not a string literal and no format arguments

2009-04-01 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-01 15:48 
---
Hi Peter,

  I have applied the patch to the 2.19 branch sources, but other than that there
is nothing else to do.  If the sources that you are using do not compile then
either you will have to apply the patch manually or else upgrade to a newer set
of sources.

Cheers
  Nick


-- 


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

--- 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/9987] ld-gc testsuite errors on cygwin

2009-04-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-02 09:36 
---
Hi Guys,

  OK - I have applied my patch.  I will close this issue now since the problem -
ld testsuite failures - has been addressed.  The enhancement - supporting
garbage collection in cygwin targeted toolchains - can be documented in this PR
if/when it is ever implemented.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/9909] Binutils strip/ar BFD internal error

2009-04-09 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-09 14:30 
---
Created an attachment (id=3868)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3868action=view)
Allow external symbols for the section comdat symbol


-- 


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

--- 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/9909] Binutils strip/ar BFD internal error

2009-04-09 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-09 14:32 
---
Hi Claudius,

  You are using a slightly out of date version of binutils (2.18 as opposed to
2.19), but the bug is present in the current sources anyway.

  Please could you try out the uploaded patch which I think will solve the 
problem.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/7093] LD is unable to create reloacatable from binary

2009-04-09 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-09 14:45 
---
Hi Soren,

  The patch is applied to the mainline code and will be present in the next 
release.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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 gas/9856] generates illegal opcodes in unified mode instead of error

2009-04-09 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-09 15:00 
---
Hi Bastian,

  This is not a bug.  The assembler is quite reasonably translating the
requested operation (move low register to low register whilst setting the status
bits) into a machine instruction that will perform the operation.  The fact that
it needs to use an ADDS opcode instead of a MOVS opcode is a technical issue,
not a cause for the assembler to generate an error.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


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

--- 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/9824] Missing documentation for Linker Script Keywords

2009-04-09 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-09 16:04 
---
Created an attachment (id=3869)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3869action=view)
Document the ONLY_IF_RO, ONLY_IF_RW and CONSTANT linker script directives.


-- 


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

--- 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/9824] Missing documentation for Linker Script Keywords

2009-04-09 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-09 16:05 
---
Hi Rich,

  I am going to check in the uploaded patch to document these keywords.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/9909] Binutils strip/ar BFD internal error

2009-04-17 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-17 12:11 
---
Hi Claudius,

  Thanks - I have applied the patch along with the changelog entry below.

  With regard to getting gcc to use a newly built linker you will probably find
in the gcc build directory an executable (file or script) called collect-ld. 
Try replacing it with a symbolic link to the ld-new executable and then it
should work.

Cheers
  Nick

bfd/ChangeLog
2009-04-17  Nick Clifton  ni...@redhat.com

PR 9909
* coffcode.h (handle_COMDAT): Allow for external COMDAT symbols.
 

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/10058] 'make check' fails for --target=i686-pc-mingw32

2009-04-17 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-17 12:27 
---
Hi Sergei,

  Both of these problems boils down to the fact that the mingw32 target uses a
different binary file format (PE) when compared to your native file format 
(ELF).

  The eh-group tests only work on ELF targets so they should not have been run
for the i686-pc-mingw32.  (This has been fixed in the mainline sources).

  Support for weak symbols in PE format files is under active development at the
moment, so the tests have been left active, even though they are known to fail
for PE targets.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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 gas/9856] generates illegal opcodes in unified mode instead of error

2009-04-20 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-20 14:51 
---
Created an attachment (id=3895)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3895action=view)
Catch use of illegal copy instruction


-- 


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

--- 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 gas/9856] generates illegal opcodes in unified mode instead of error

2009-04-20 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-20 14:52 
---
Hi Bastian,

  Ah - sorry about that.  Now that I understand the problem, please could you
examine the uploaded patch which I think will address the issue for you.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|REOPENED|WAITING


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

--- 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/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c

2009-04-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-21 17:12 
---
Created an attachment (id=3898)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3898action=view)
Add support for reloc #8


-- 


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

--- 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/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c

2009-04-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-04-21 17:13 
---
Hi Owen,

  I have uploaded a possible patch to fix this problem - please could you try it
out for me ?

  Not having any binaries containing the R_ARM_THM_PC8 reloc makes testing
locally impossible, but I think that I have implemented it correctly.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/10109] Bugs in winduni.c break windres for code page 65001

2009-05-05 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-05-05 09:37 
---
Hi Guillaume,

  Thanks very much for finding this bug and supplying a patch to fix it.

  I have applied your patch along with this changelog entry.

Cheers
  Nick

binutils/ChangeLog
2009-05-05  Guillaume Duhamel  guillaume.duha...@gmail.com

PR 10109
* winduni.c: Replace test of HAVE_ICONV_H with a test of
HAVE_ICONV.
(iconv_onechar): Use ICONV_CONST instead of const.
(wind_MultiByteToWideChar): Initialise local strings.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c

2009-05-05 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-05-05 11:12 
---
Created an attachment (id=3924)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3924action=view)
revised form of previous patch


-- 
   What|Removed |Added

Attachment #3898 is|0   |1
   obsolete||


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

--- 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/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c

2009-05-05 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-05-05 11:15 
---
Hi Owen,

  OK, I have uploaded a revised patch based Jay's suggestion.  Please give it a
go and let me know if it works this time.

  I am not comfortable with suppressing the overflow warnings for the other
relocations however.  The checks are correct and those relocs are being
processed in the way that ARM specifies.  I think that it would be better to
find out exactly why the overflows are occurring an then determine if the IAR
compiler is at fault or if there is some kind of gcc specific assumption in the
linker.

  Would it be possible for you to post a simple IAR compiled object file that
generates these overflowing relocs ?

Cheers
  Nick


-- 


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

--- 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 gas/10143] Failed compilation at bfin-parse.c

2009-05-26 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-05-26 15:37 
---
Hi Liran,

  Thanks for reporting this problem.  The change you suggest is slightly wrong
in that it fixes the generated file bfin-parse.c which is built from the source
file gas/config/bfin-parse.y, but apart from that it works.  So I have applied
your patch to the bfin-parse.y file and checked it in with this changelog entry.

Cheers
  Nick

gas/ChangeLog
PR 10143
* config/bfin-parse.y (error): Use %s as format string for error
message.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/10263] objdump does not disassemble ARM code entered with .word directives

2009-06-12 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-06-12 12:22 
---
Subject: Re:  New: objdump does not disassemble ARM code
 entered with .word directives

Hi Mike,

 It used to be possible to enter instructions with .word directives and then
 disassemble them with objdump -d, but that no longer works. Example:

 mov r0, r1
 .word   0xe1a1
 bx  lr

0:   e1a1mov r0, r1
4:   e1a1.word   0xe1a1
8:   e12fff1ebx  lr

This is actually the intended behaviour.  The .word directive is used to 
enter data not instructions and the ARM port of GAS makes a note of this 
by emitting a local mapping symbol.  For example if you run:

   armv5tel-unknown-linux-gnueabi-readelf --syms test.o

You will see:

   Symbol table '.symtab' contains 9 entries:
Num:Value  Size TypeBind   Vis  Ndx Name
  0:  0 NOTYPE  LOCAL  DEFAULT  UND
  1:  0 SECTION LOCAL  DEFAULT1
  2:  0 SECTION LOCAL  DEFAULT3
  3:  0 SECTION LOCAL  DEFAULT4
  4:  0 NOTYPE  LOCAL  DEFAULT1 $a
  5: 0004 0 NOTYPE  LOCAL  DEFAULT1 $d
  6: 0008 0 NOTYPE  LOCAL  DEFAULT1 $a


It is the $d symbol, entry number 5 in the symbol table, which is 
telling the disassemble that the word at 0x0004 is not an 
instruction but data and so it should not attempt to disassemble it.


It would be possible to add a new pseudo-op, say .insn, to insert a 
numeric value into the output and have it be labelled as in instruction, 
but why bother ?  Do you really need this functionality.  Why not just 
assemble the instruction normally ?

Cheers
   Nick


-- 


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

--- 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/10263] objdump does not disassemble ARM code entered with .word directives

2009-06-13 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-06-13 07:23 
---
Created an attachment (id=3993)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=3993action=view)
Pass -D switch on to disassembler backends


-- 


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

--- 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/10263] objdump does not disassemble ARM code entered with .word directives

2009-06-15 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-06-15 11:39 
---
Hi Mikael,

  Ok - I have checked the patch in along with the changelog entries below.

Cheers
  Nick

include/ChangeLog
2009-06-15  Nick Clifton  ni...@redhat.com

* dis-asm.h (struct disassemble_info): New value for the flags
field.

binutils/ChangeLog
2009-06-15  Nick Clifton  ni...@redhat.com

PR 10263
* objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
the flags field of the disassemble_info structure if the -D switch
is in operation.

opcodes/ChangeLog
2009-06-15  Nick Clifton  ni...@redhat.com

PR 10263
* arm-dis.c (print_insn): Ignore is_data if the user has requested
the disassembly of data as well as instructions.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

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


<    1   2   3   4   5   6   7   8   9   10   >