From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: devans@cygnus.com Cc: bfd@cygnus.com Subject: Re: arm questions Date: Thu, 15 Apr 1999 11:01:00 -0000 Message-id: <19990415180136.2600.qmail@daffy.airs.com> References: <199904151738.KAA02138@canuck.cygnus.com.> <199904151738.KAA02138@canuck.cygnus.com.> X-SW-Source: 1999/msg00085.html Date: Thu, 15 Apr 1999 10:38:25 -0700 From: Doug Evans Two random questions. 1) elfarm-oabi.c uses USE_RELA elfarm-nabi.c uses USE_REL That seems rather backwards, doesn't it? I'd expect a new version of an abi to switch from USE_REL to USE_RELA, but not the other way around. [not that it can be changed, but rather ... why the switch?] This is my understanding of the situation. If anybody knows that I am wrong, please correct me. The ARM ELF situation is a mess because there were two separate implementations. Some folks in England put together ARM GNU/Linux, but they took a very long time to get the copyright stuff done. For some reason that I do not know, that implementation used REL rather than RELA relocs. In the meantime, Cygnus implemented ARM ELF, using RELA relocs. It's obviously desirable to have a single ARM ELF ABI, and the best choice is probably the one currently being used for GNU/Linux. Therefore, when we straightened out the copyright situation, we dumped the Cygnus RELA implementation in favour of the GNU/Linux REL implementation. 2) Whats the R_ARM_THM_XPC22 reloc for? I dunno. Philip Blundell is on the list. Phil, do you know? Ian