fix for FRV assembler regression

Alexandre Oliva aoliva@redhat.com
Mon Sep 22 21:30:00 GMT 2003


A recent change in the FRV assembler introduced a regression in C++,
when a template function, emitted in a .gnu.linkonce section, called a
static function, emitted in .text.  The relocation was adjusted, which
caused the linker to compute the wrong address when applying the
relocation.  This patch fixes the regression, by reintroducing a
condition that was present before the patch, that wasn't implied by
the new condition.  Ok to install?  Tested on
athlon-linux-gnu-x-frv-elf.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frv-gas-pcrel-inter-section.patch
Type: text/x-patch
Size: 2989 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030922/6b03d4d9/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Binutils mailing list