[Bug ld/12614] mingw ld omits needed jump stubs in link involving --start/end-group

2011-04-28 Thread dklprogramming at web dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=12614

dklprogramming at web dot de changed:

   What|Removed |Added

   Attachment #5690|0   |1
is obsolete||

--- Comment #4 from dklprogramming at web dot de 2011-04-28 13:19:47 UTC ---
Created attachment 5693
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5693
Updated patch

2011-04-28  Daniel C. Klauer  

* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Correctly check
whether symbol is in undef list.

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

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


[Bug ld/12614] mingw ld omits needed jump stubs in link involving --start/end-group

2011-04-28 Thread dklprogramming at web dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=12614

--- Comment #5 from dklprogramming at web dot de 2011-04-28 13:23:26 UTC ---
I have updated the patch and also added my name to the changelog item.

Thank you,
Daniel

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

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


[Bug ld/12614] mingw ld omits needed jump stubs in link involving --start/end-group

2011-04-28 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12614

--- Comment #6 from cvs-commit at gcc dot gnu.org  2011-04-28 15:29:46 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2011-04-28 15:29:43

Modified files:
ld : ChangeLog 
ld/emultempl   : pe.em 

Log message:
PR ld/12614
* emultempl/pe.em (_after_open): Correctly check whether symbol is
in undef list.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2323&r2=1.2324
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/emultempl/pe.em.diff?cvsroot=src&r1=1.169&r2=1.170

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

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


[Bug ld/12614] mingw ld omits needed jump stubs in link involving --start/end-group

2011-04-28 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12614

--- Comment #7 from cvs-commit at gcc dot gnu.org  2011-04-28 15:34:01 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_21-branch
Changes by:amo...@sourceware.org2011-04-28 15:33:57

Modified files:
ld : ChangeLog 
ld/emultempl   : pe.em 

Log message:
PR ld/12614
* emultempl/pe.em (_after_open): Correctly check whether symbol is
in undef list.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1..2.19&r2=1..2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/emultempl/pe.em.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.162.2.1&r2=1.162.2.2

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

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


[Bug ld/12614] mingw ld omits needed jump stubs in link involving --start/end-group

2011-04-28 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12614

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Alan Modra  2011-04-28 15:34:38 
UTC ---
patch applied

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

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


[Bug ld/12712] New: genscripts.sh produces unusable ld when executed with Bourne Shell

2011-04-28 Thread hume-ml+sourceware at bofh dot ca
http://sourceware.org/bugzilla/show_bug.cgi?id=12712

   Summary: genscripts.sh produces unusable ld when executed with
Bourne Shell
   Product: binutils
   Version: 2.21
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sources.redhat.com
ReportedBy: hume-ml+sourcew...@bofh.ca


When compiling binutils, the Makefile for ld will execute genscripts.sh using
"$(SHELL)".  Unless altered, SHELL will default to /bin/sh.  On platforms such
as Solaris or OpenIndiana, /bin/sh is *not* bash.  This results in corruption
of the linker scripts, which only manifests later when ld is actually run.

The problem is hinted at during the compile:

LIB_PATH='' /bin/sh ../../binutils-2.21/ld/genscripts.sh
"../../binutils-2.21/ld" "/arm_dev/arm-unknown-linux-uclibc/lib"
"/arm_dev/arm-unknown-linux-uclibc" "/arm_dev/arm-unknown-linux-uclibc"
i386-pc-solaris2.11 arm-unknown-linux-uclibc arm-unknown-linux-uclibc
"armelf_linux armelfb_linux" "/usr/local/lib /lib /usr/lib" yes armelf
"arm-unknown-linux-uclibc"
sed: ldscripts/armelf.xw.tmp: No such file or directory
sed: ldscripts/armelf.xc.tmp: No such file or directory
sed: ldscripts/armelf.xsc.tmp: No such file or directory
sed: ldscripts/armelf.xsw.tmp: No such file or directory
sed: ldscripts/armelf.xsw.tmp: No such file or directory


And then later, when attempting to execute ld, even from the build tree:

shumira:/arm_dev/build/stage1/build-binutils-2.21/ld> ./ld-new
./ld-new:built in linker script:14: syntax error

Simply executing "make" with "SHELL=/bin/bash" is enough to cure the issue.  It
might be more portable to fix the script (synchronization issue with subshells)
but /bin/bash exists almost everywhere.

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

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


[Bug ld/12712] genscripts.sh produces unusable ld when executed with Bourne Shell

2011-04-28 Thread hume-ml+sourceware at bofh dot ca
http://sourceware.org/bugzilla/show_bug.cgi?id=12712

--- Comment #1 from Brandon Hume  2011-04-28 
16:21:15 UTC ---
Incidentally, this is likely the same issue referenced in bugid 11461.

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

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


[Bug gas/12715] New: Large immediate for neon vmov assembled incorrectly with as built with --enable-targets=x86_64-linux-gnu

2011-04-28 Thread nereusuj at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12715

   Summary: Large immediate for neon vmov assembled incorrectly
with as built with --enable-targets=x86_64-linux-gnu
   Product: binutils
   Version: 2.21
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sources.redhat.com
ReportedBy: nereu...@gmail.com


ujkim@DO-ujkim04:~/work/toolchain-bug/as-2.21/neon-immediate-moves$ cat
neon-large-immediate-moves.s
.cpu cortex-a9
.fpu neon
.text

vmov.i64 d9,#0x

ujkim@DO-ujkim04:~/work/toolchain-bug/as-2.21/neon-immediate-moves$
arm-linux-gnueabi-as neon-large-immediate-moves.s

ujkim@DO-ujkim04:~/work/toolchain-bug/as-2.21/neon-immediate-moves$
arm-linux-gnueabi-objdump -d a.out

a.out: file format elf32-littlearm

Disassembly of section .text:

 <.text>:
   0:f2809e3f vmov.i64d9, #0x

The immediate value should be 0x but the assembled result are
ox

The toolchain is configured with following option.
../configure --host=i486-linux-gnu --build=i486-linux-gnu
--target=arm-linux-gnueabi --prefix=/tmp/cross/usr  --enable-shared
--enable-plugins --enable-targets=x86_64-linux-gnu --disable-werror 
--enable-ld=default --enable-gold

If I remove '--enable-targets=x86_64-linux-gnu' from the configure args, it
seems no problem.

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

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