[mn10300, installed] improve PICness

Alexandre Oliva aoliva@redhat.com
Mon Jun 28 12:04:00 GMT 2004


This patch fixes a bug in the mn10300 back-end that permitted non-PIC
addressing modes such as (symbol+offset,register) to be emitted when
compiling with -fPIC.  I'm checking it in.  Tested on
i686-pc-linux-gnu-x-mn10300-elf.

This hadn't been noticed before because the linker fails to mark
non-PIC shared libraries with TEXTREL.  I'll fix this problem in
the linker as soon as I have a chance.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mn10300-stricter-pic.patch
Type: text/x-patch
Size: 8953 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040628/8596b5e1/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Gcc-patches mailing list