From 72f3b6aae734d8cdcded38aca94e379848bec7ef Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Tue, 8 Mar 2016 14:19:52 +0100 Subject: [ARC] Allow non-instruction relocations within .text sections bfd/ 2016-03-08 Cupertino Miranda Andrew Burgess * elf32-arc.c (arc_bfd_get_32): Becomes an alias for bfd_get_32. (arc_bfd_put_32): Becomes an alias for bfd_put_32. (arc_elf_howto_init): Added assert to validate relocations. (get_middle_endian_relocation): Delete. (middle_endian_convert): New function. (ME): Redefine, now does nothing. (IS_ME): New define. (arc_do_relocation): Extend the attached 'ARC_RELOC_HOWTO' definition to call middle_endian_convert. Add a new local variable and make use of this throughout. Added call to arc_bfd_get_8 and arc_bfd_put_8 for 8 bit relocations. gas/ 2016-03-08 Andrew Burgess * testsuite/gas/arc/inline-data-1.d: New file. * testsuite/gas/arc/inline-data-1.s: New file. include/ 2016-03-08 Cupertino Miranda Andrew Burgess * elf/arc-reloc.def: Add a call to ME within the formula for each relocation that requires middle-endian correction. --- include/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/ChangeLog') diff --git a/include/ChangeLog b/include/ChangeLog index 0e2c2bd..7e01b27 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2016-03-08 Cupertino Miranda + Andrew Burgess + + * elf/arc-reloc.def: Add a call to ME within the formula for each + relocation that requires middle-endian correction. + 2016-03-07 Trevor Saunders * opcode/dlx.h (struct dlx_opcode): Add const qualifiers. -- cgit v1.1