http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54584

--- Comment #5 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-09-18 
23:30:23 UTC ---
This seems to be just a problem with flawed elf2flt linker placement of
orphaned sections.  But, I can't find where -elf2flt is handled in FSF
binutils; you need to talk to whomever is in charge of the local uclinux linker
patches.

For a linker fix, either add a "${RELOCATING+*(.tm_clone_table)}" in the .text
or .data output section of the default linker script or improve the elf2flt
orphaned section placement, similar to what I did in
<http://sourceware.org/ml/binutils/2012-09/msg00101.html> as a partial fix for
PR54373. (It fixes the main problem, but I found others.)  Generic ELF already
has good enough orphaned-section placement that no real ELF target has any
problem with .tm_clone_table actually being an orphaned section for all
targets.

Of course, an alternative is to cover up by disabling transactional memory,
likely the most pragmatic solution; I'm guessing TM is of little interest to
uclinux targets. :)

Reply via email to