FRV FDPIC ABI implementation

Alexandre Oliva aoliva@redhat.com
Fri Dec 26 15:08:00 GMT 2003


This patch adds code to binutils to support a new ABI designed for the
FR-V architecture, that enables text segments of executables and
shared libraries to be shared by multiple processes on an OS such as
uClinux, that can run on FR-V processors without an MMU.

The only bit still missing is a rewrite of some patches I had for
bfd/elf-eh-frame.c that I needed to prevent certain PC-relative
encodings that would cross segment boundaries, which is a no-no in
this ABI, since segments may relocate independently.  I'm working on
rewriting that part ATM, since the code I wrote before, that works,
was just an ugly hack to prove that this was all it would take to get
EH to work.

Patches for GCC and uClibc will follow shortly, in the corresponding
mailing lists.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-frv-fdpic.patch.bz2
Type: application/x-bzip2
Size: 37057 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20031226/e0cf712f/attachment.bz2>
-------------- 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