[PATCH] Unaligned relocs in .debug_line on SPARC
Eric Botcazou
ebotcazou@adacore.com
Mon Nov 27 08:06:00 GMT 2006
Hi,
The assembler emits unaligned relocs in .debug_line on SPARC. While the GNU
linker can grok them, the Sun linker cannot (at least on Solaris 8) and, for
example, this prevents GCC from bootstrapping with GNU as and Sun ld there.
Hence the attached patch, which lets GCC bootstrap in the above configuration.
2006-11-27 Eric Botcazou <ebotcazou@adacore.com>
gas/
* config/tc-sparc.c (tc_gen_reloc): Turn aligned relocs into
their unaligned counterparts in debugging sections.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fb19-003.diff
Type: text/x-diff
Size: 1139 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20061127/0afb8b7d/attachment.bin>
More information about the Binutils
mailing list