[Bug gas/12287] New: C++ throws fail when using latest GNU assembler on IA64

2010-12-03 Thread sje at cup dot hp.com
http://sourceware.org/bugzilla/show_bug.cgi?id=12287

   Summary: C++ throws fail when using latest GNU assembler on
IA64
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sources.redhat.com
ReportedBy: s...@cup.hp.com


C++ programs that include throws, like:

struct Bar { ~Bar() { throw 1; } };
int main()
{
  try { Bar f; }
  catch(int i) { return 0; }
  return 0;
}

fail when I use the latest gnu assembler.  This starts after this checkin:

2010-12-01  Maciej W. Rozycki  

* symbols.h (dot_symbol): New declaration.
(dot_symbol_init): New prototype.
* symbols.c (dot_symbol): New variable.
(symbol_clone): Assert it's not dot_symbol being cloned.
(dot_symbol_init): New function.
(symbol_clone_if_forward_ref): Create a new temporary symbol
when trying to clone dot_symbol.
* expr.c (current_location): Refer to dot_symbol instead of
making a new temporary symbol.
* read.c (read_a_source_file): Update dot_symbol as we go.
* as.c (main): Call dot_symbol_init.

Also, before this change I got 3 failures in the GAS testsuite:

FAIL: ia64 unwind descriptors
FAIL: lns-duplicate
FAIL: lns-common-1

After this change I get five failures:

FAIL: ia64 unwind relocations (ilp32)
FAIL: ia64 proc
FAIL: ia64 unwind descriptors
FAIL: lns-duplicate
FAIL: lns-common-1

I have tried using objdump to find the difference in the object files
before and after the gas change but the output of objdump is the same
before and after so I am not sure what the problem is.

I have been investigating this on ia64-hp-hpux11.23 but I believe it
can be reproduced on an ia64-*-linux-gnu platform as well.

-- 
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
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/12282] .note.GNU-stack is referenced in .ARM.exidx

2010-12-03 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12282

--- Comment #1 from cvs-commit at gcc dot gnu.org  2010-12-04 00:19:26 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ma...@sourceware.org2010-12-04 00:19:20

Modified files:
gas: ChangeLog expr.c 

Log message:
PR gas/12282
* expr.c (expr_build_dot): Make a clone of the symbol to return if
needed.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4344&r2=1.4345
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/expr.c.diff?cvsroot=src&r1=1.88&r2=1.89

-- 
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
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/12282] .note.GNU-stack is referenced in .ARM.exidx

2010-12-03 Thread ma...@linux-mips.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12282

Maciej W. Rozycki  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ma...@linux-mips.org
 Resolution||FIXED

--- Comment #2 from Maciej W. Rozycki  2010-12-04 
00:26:00 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
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12277] Linker error: "final link failed: Nonrepresentable section on output"

2010-12-03 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12277

--- Comment #1 from cvs-commit at gcc dot gnu.org  2010-12-04 04:42:11 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2010-12-04 04:42:07

Modified files:
bfd: ChangeLog elflink.c 

Log message:
PR ld/12277
* elflink.c (elf_link_output_extsym): Set bfd_error on symbol
and section errors.  Allow better translation of error messages.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5202&r2=1.5203
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.388&r2=1.389

-- 
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
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12277] Linker error: "final link failed: Nonrepresentable section on output"

2010-12-03 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12277

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||amodra at gmail dot com
 Resolution||FIXED

--- Comment #2 from Alan Modra  2010-12-04 04:43:47 
UTC ---
Fixed mainline.

-- 
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
http://lists.gnu.org/mailman/listinfo/bug-binutils