[Bug ld/15056] gld 2.23.1 mishandles R_SPARC_TLS_LDM_CALL

2013-01-31 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://sourceware.org/bugzilla/show_bug.cgi?id=15056

--- Comment #21 from Rainer Orth  
2013-01-31 12:22:42 UTC ---
This fixed the full libstdc++.so testcase.  I'm now running a full gcc
mainline bootstrap to check that no other problems turn up.

Many thanks to both of you for the quick resolution.

Rainer

-- 
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/15070] gold crashes on ARMv5 due to unaligned memory access

2013-01-31 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15070

--- Comment #3 from Ian Lance Taylor  2013-01-31 05:35:12 
UTC ---
Yes, in this case "naturally aligned" means aligned to the size from the ELF
class.  That's the alignment that matters to gold.  I'm fine with changing the
comment.

There are two kinds of alignment requirement in gold.  First, as you say, files
in archives can be misaligned when mmapped into memory.  Second, many
relocations must be aligned; in this case the required alignment depends on the
size of the relocation.

The elfcpp library requires that ELF data structures be aligned.

The patch in the original comment looks right to me.  It corresponds to the
code in is_elf_object.  The patch in comment #2 is not correct.

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