aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2018-06-17 07:04:11 +0200
committerJohn Darrington <john@darrington.wattle.id.au>2018-08-21 19:24:21 +0200
commit4e57b456393946cb4f90131b78e162cdec903c8a (patch)
tree6b8f7d53baca08f0ca190dda3f41371e038720b4 /include
parent4895f384b47628c8c354dccbb0bfab45b8c33984 (diff)
downloadgdb-4e57b456393946cb4f90131b78e162cdec903c8a.zip
gdb-4e57b456393946cb4f90131b78e162cdec903c8a.tar.gz
gdb-4e57b456393946cb4f90131b78e162cdec903c8a.tar.bz2
S12Z: Rename reloc R_S12Z_UKNWN_3 to R_S12Z_EXT18 and implement according to recently inferred information about this reloc.
* bfd/elf32-s12z.c: (opru18_reloc): New function. * bfd/elf32-s12z.c: (elf_s12z_howto_table): Adjust Howto according to new knowledge. * include/elf/s12z.h: Rename R_S12Z_UKNWN_3 to R_S12Z_EXT18.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/elf/s12z.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index f0dca58..f23c7cc 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-23 John Darrington <john@darrington.wattle.id.au>
+
+ * elf/s12z.h: Rename R_S12Z_UKNWN_3 to R_S12Z_EXT18.
+
2018-08-21 Alan Modra <amodra@gmail.com>
* opcode/ppc.h (struct powerpc_operand): Correct "insert" comment.
diff --git a/include/elf/s12z.h b/include/elf/s12z.h
index 72504ee..fc74b9a 100644
--- a/include/elf/s12z.h
+++ b/include/elf/s12z.h
@@ -29,7 +29,7 @@ START_RELOC_NUMBERS (elf_s12z_reloc_type)
RELOC_NUMBER (R_S12Z_UKNWN_2, 2)
RELOC_NUMBER (R_S12Z_PCREL_7_15, 3)
RELOC_NUMBER (R_S12Z_EXT24, 4)
- RELOC_NUMBER (R_S12Z_UKNWN_3, 5)
+ RELOC_NUMBER (R_S12Z_EXT18, 5)
RELOC_NUMBER (R_S12Z_EXT32, 6)
END_RELOC_NUMBERS (R_S12Z_max)