mips64 elf64 reloc data structures
Alexandre Oliva
aoliva@redhat.com
Thu Mar 20 06:14:00 GMT 2003
On Mar 18, 2003, Roland McGrath <roland@redhat.com> wrote:
> I think you should make sure that every place for which these macros
> matter uses <ldsodefs.h> and do it in mips/ldsodefs.h instead.
Contrary to my recollections and fears, this seems to have worked.
I've verified that the ELF64_R_ macros defined in elf/elf.h were not
used by building glibc for mips64-linux-gnu after adding syntax errors
to the unwanted definitions, and it still built correctly, so it
appears that the files that include only elf.h do not need these
macros. I'm still concerned that there is a possibility of errors
being silently introduced by this arrangement, but even my attempt to
avoid taking risks and adding an explicit include of ldsodefs.h
everywhere elf.h was included failed: a number of files just can't
include ldsodefs.h, and I fear some of them may be installed, so I
gave it up. I still think some of this code belongs in generic code,
but I'm leaving it at this for now. Ok to install?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips64-elf64-relocs.patch
Type: text/x-patch
Size: 4175 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030320/fdbd6ce0/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 Libc-alpha
mailing list