From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: ian@zembu.com (Ian Lance Taylor) Cc: bfd@cygnus.com Subject: Re: Mixing REL and RELA Date: Thu, 15 Apr 1999 14:28:00 -0000 Message-id: References: <19990415212102.3383.qmail@daffy.airs.com> X-SW-Source: 1999/msg00095.html > > I had this working at least for a little while for the 64 bit MIPS ELF > target, where the ABI from SGI requires it. However, that target > never really worked, so I don't know how well mixing REL and RELA > works. > > The support I wrote for MIPS is CPU dependent; the code is in > elf64-mips.c. But I can't think of any reason why it has to be there. > > Most relocation processing is CPU dependent anyhow, probably too much > so. > > However, I would discourage mixing REL and RELA in object files. > That's just added complexity for no real benefit that I can see. > Unfortunately some ABIs require that. -- H.J. Lu (hjl@gnu.org)