[uClibc] adjust include/link.h for FR-V

Erik Andersen andersen at codepoet.org
Sat Mar 20 06:21:38 UTC 2004


On Sat Mar 20, 2004 at 03:18:56AM -0300, Alexandre Oliva wrote:
> Since in FDPIC segments may be relocated by different amounts, a
> single base load address is not enough to describe how a module was
> loaded.  The FR-V FDPIC ABI defines a data structure that's used
> instead of ElfW(Addr) to represent a load address.  This unfortunately
> requires some ifdef pollution in include/link.h.  Or is there a way
> for me to override this header file within the FR-V port?

If you supply a FR-V specific link.h header into
libc/sysdeps/linux/frv/ then you can do the same sortof
thing that mips does i.e. with sgidefs.h in the headers
target in libc/sysdeps/linux/mips/Makefile

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list