[Bug binutils/12820] Install fails when trying to strip embedspu

2011-05-31 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12820

--- Comment #4 from cvs-commit at gcc dot gnu.org  2011-05-31 08:54:50 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2011-05-31 08:54:47

Modified files:
binutils   : ChangeLog configure.in configure 

Log message:
PR binutils/12820
* configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
* configure: Regenerate.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1802&r2=1.1803
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/configure.in.diff?cvsroot=src&r1=1.102&r2=1.103
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/configure.diff?cvsroot=src&r1=1.138&r2=1.139

-- 
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 binutils/12820] Install fails when trying to strip embedspu

2011-05-31 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12820

--- Comment #5 from cvs-commit at gcc dot gnu.org  2011-05-31 08:55:57 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_21-branch
Changes by:amo...@sourceware.org2011-05-31 08:55:55

Modified files:
binutils   : ChangeLog configure.in configure 

Log message:
PR binutils/12820
* configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
* configure: Regenerate.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1708.2.11&r2=1.1708.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/configure.in.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.100&r2=1.100.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/configure.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.135&r2=1.135.2.1

-- 
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 gold/12826] New: [PATCH] Gold not knowing ARM7EM architecture

2011-05-31 Thread asierllano at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12826

   Summary: [PATCH] Gold not knowing ARM7EM architecture
   Product: binutils
   Version: 2.21
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: asierll...@gmail.com


Created attachment 5760
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5760
Patch with the proposed change

When compiling code with gcc-4.6.0 for cpu "cortex-m4" it generates code for
ARM7EM. The gold 2.21 linker tells: "unknown CPU architecture".

The error is in line 10006 of gold/arm.cc:
 if (oldtag >= elfcpp::MAX_TAG_CPU_ARCH || newtag >= elfcpp::MAX_TAG_CPU_ARCH)

This detects an error in the architecture, but if the oldtag or newtag is just
the same as elfcpp::MAX_TAG_CPU_ARCH, it detects it incorrectly as unknown CPU.
Line 242 of elfcpp/arm.h:
  MAX_TAG_CPU_ARCH = TAG_CPU_ARCH_V7E_M

So it is as simple to fix as changing previous line by:
 if (oldtag > elfcpp::MAX_TAG_CPU_ARCH || newtag > elfcpp::MAX_TAG_CPU_ARCH)

So the value TAG_CPU_ARCH_V7E_M is not detected as an unknown CPU.

Included patch for easy applying.

-- 
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 gold/12826] [PATCH] Gold not knowing ARM7EM architecture

2011-05-31 Thread asierllano at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12826

Asier Llano  changed:

   What|Removed |Added

 CC||asierllano at gmail dot com

-- 
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 gold/12826] [PATCH] Gold not knowing ARM7EM architecture

2011-05-31 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12826

Ian Lance Taylor  changed:

   What|Removed |Added

 CC||ian at airs dot com
 AssignedTo|ian at airs dot com |dougkwan at google dot com

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