[Bug ld/13991] powerpc-rtems ld failure [regression]

2012-04-24 Thread joel.sherrill at oarcorp dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13991

--- Comment #14 from Joel Sherrill  
2012-04-24 13:34:18 UTC ---
Thanks. The head now works again.

Can this patch be applied to the active release branches? 

>From an earlier comment of mine:

works - binutils 2.21.1 with no patches
broken - binutils 2.22 with no patches

If there are to be more 2.22 patches, this should be applied to that branch.

-- 
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/13990] ld/ld-new: BFD assertion fail, elf32-arm.c:12259 with --gc-sections and --shared, GCing a PLT reference to a local symbol

2012-04-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13990

--- Comment #1 from cvs-commit at gcc dot gnu.org  2012-04-24 16:09:19 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-04-24 16:09:12

Modified files:
bfd: ChangeLog elf32-arm.c 

Log message:
PR ld/13990
* elf32-arm.c (elf32_arm_gc_sweep_hook): Handle a forced-local
symbol, where PLT refcount is set to -1.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5660&r2=1.5661
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-arm.c.diff?cvsroot=src&r1=1.287&r2=1.288

-- 
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/13990] ld/ld-new: BFD assertion fail, elf32-arm.c:12259 with --gc-sections and --shared, GCing a PLT reference to a local symbol

2012-04-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13990

--- Comment #2 from cvs-commit at gcc dot gnu.org  2012-04-24 16:14:39 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-04-24 16:14:32

Modified files:
ld/testsuite   : ChangeLog 
ld/testsuite/ld-arm: arm-elf.exp 
Added files:
ld/testsuite/ld-arm: gc-hidden-1.d gcdfn.s hideall.ld hidfn.s 
 main.s 

Log message:
PR ld/13990
* ld-arm/arm-elf.exp: Run gc-hidden-1.
* ld-arm/gc-hidden-1.d: New test-file.
* ld-arm/gcdfn.s, ld-arm/hideall.ld, ld-arm/hidfn.s,
ld-arm/main.s: New files.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1515&r2=1.1516
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-arm/gc-hidden-1.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-arm/gcdfn.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-arm/hideall.ld.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-arm/hidfn.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-arm/main.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-arm/arm-elf.exp.diff?cvsroot=src&r1=1.93&r2=1.94

-- 
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/13990] ld/ld-new: BFD assertion fail, elf32-arm.c:12259 with --gc-sections and --shared, GCing a PLT reference to a local symbol

2012-04-24 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=13990

Hans-Peter Nilsson  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #3 from Hans-Peter Nilsson  2012-04-24 
16:18:27 UTC ---
fixed.

-- 
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/14017] New: Bug in symbol arithmetic

2012-04-24 Thread makhaloff at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14017

 Bug #: 14017
   Summary: Bug in symbol arithmetic
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sourceware.org
ReportedBy: makhal...@gmail.com
Classification: Unclassified


Created attachment 6364
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6364
Patch to fix this bug

I got error on this code:

.text
NULL:
PS_8K = 0x40   
OFFSET = (System1 - NULL)
S = (OFFSET + PS_8K)
movl $2,S
 .org 0x2000
System1:

S will be equal 0x40. But actual value should be 0x2040.

The reason is as follows:
* gas/read.c (pseudo_set): Fixed x=undef+const case (expr_sections is undefined
at this time also)

Example and patch are attached.

-- 
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/14017] Bug in symbol arithmetic

2012-04-24 Thread makhaloff at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14017

--- Comment #1 from Alexey Makhalov  2012-04-24 
22:26:50 UTC ---
Created attachment 6365
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6365
Example to test this bug

-- 
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/14019] New: Potential bug with on stack allocated variable

2012-04-24 Thread makhaloff at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14019

 Bug #: 14019
   Summary: Potential bug with on stack allocated variable
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sourceware.org
ReportedBy: makhal...@gmail.com
Classification: Unclassified


gas/read.c:1771

  if (line_label != NULL)
{
  expressionS exp;
  exp.X_op = O_symbol;
  exp.X_add_symbol = sym;
  exp.X_add_number = 0;
  symbol_set_value_expression (line_label, &exp);
  symbol_set_frag (line_label, &zero_address_frag);
  S_SET_SEGMENT (line_label, expr_section);
}

line_label is global, exp is local on stack allocated.
I might be reason of bug later.

Perhaps I wrong?

-- 
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/14019] Potential bug with on stack allocated variable

2012-04-24 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14019

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ian at airs dot com
 Resolution||INVALID

--- Comment #1 from Ian Lance Taylor  2012-04-25 03:04:31 
UTC ---
This is not a bug, as you can see by looking at the function
symbol_set_value_expression.

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