[uClibc]Missing DT_ entries for MIPS....

Steven J. Hill sjhill at cotw.com
Thu Mar 21 17:25:38 UTC 2002


Erik,

If you take a look at elf.h (uClibc or glibc) you will see that
MIPS architectures define their own DT_* entries and they are
required in order to perform relocations of the GOT. The loops
that you use throught ldso.c only check for DT_ entries less
than 24 which is not good enough for MIPS. I suggest adding
another array surrounded by #if defined(__mips__) in the
structure 'elf_resolve' in 'ldso/ldso/ld_hash.h'. It would make
my life a whole lot easier. Any objections?

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer



More information about the uClibc mailing list