[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/10887] building memtest86 causes segfault in LD.
From: |
ian at airs dot com |
Subject: |
[Bug gold/10887] building memtest86 causes segfault in LD. |
Date: |
4 Nov 2009 16:41:43 -0000 |
------- Additional Comments From ian at airs dot com 2009-11-04 16:41 -------
Thanks for the bug report. I've patched the linker to avoid the crash.
However, the core problem is that the linker script expects that the dynamic
reloc sections will have specific names, and gold does not use those names.
gold puts all the dynamic relocs in a section named .rel.dyn. So while I have
fixed the crash, the effect is that the linker script will discard all the
dynamic relocs, which I think is not what is intended. I think the linker
script
might be better written as something like
.rel.dyn { *(.rel.*) }
or simply adding
.rel.dyn { *(.rel.dyn .rel.dyn.*) }
like the other cases will also fix the problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10887
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gold/10887] New: building memtest86 causes segfault in LD., scott dot sourceware dot 2009 at scottrix dot co dot uk, 2009/11/02
- [Bug gold/10887] building memtest86 causes segfault in LD., scott dot sourceware dot 2009 at scottrix dot co dot uk, 2009/11/02
- [Bug gold/10887] building memtest86 causes segfault in LD., cvs-commit at gcc dot gnu dot org, 2009/11/04
- [Bug gold/10887] building memtest86 causes segfault in LD., cvs-commit at gcc dot gnu dot org, 2009/11/04
- [Bug gold/10887] building memtest86 causes segfault in LD.,
ian at airs dot com <=
- [Bug gold/10887] building memtest86 causes segfault in LD., scott dot sourceware dot 2009 at scottrix dot co dot uk, 2009/11/06
- [Bug gold/10887] building memtest86 causes segfault in LD., ian at airs dot com, 2009/11/06
- [Bug gold/10887] building memtest86 causes segfault in LD., scott dot sourceware dot 2009 at scottrix dot co dot uk, 2009/11/06