diff options
author | jamesbowman <jamesb@excamera.com> | 2016-07-08 11:53:31 -0700 |
---|---|---|
committer | jamesbowman <jamesb@excamera.com> | 2016-07-08 11:53:31 -0700 |
commit | 458653a9b2cf311e7bbb71efd1b410216e0ce059 (patch) | |
tree | 550c57fb5b20145f849b0fe628a1d6a52b3ddad9 /bfd/elf32-ft32.c | |
parent | 2f831b9a2bfbd0c2f6083d41b6dc9d9fc6b61e5a (diff) | |
download | gdb-458653a9b2cf311e7bbb71efd1b410216e0ce059.zip gdb-458653a9b2cf311e7bbb71efd1b410216e0ce059.tar.gz gdb-458653a9b2cf311e7bbb71efd1b410216e0ce059.tar.bz2 |
FT32: Correct 32-bit reloc for BFD_RELOC_32
The reloc for BFD_RELOC_32 was using the the 20-bit. This hack causes
problems in gdb. Fixed it to be the proper 32-bit reloc, R_FT32_32.
bfd/ChangeLog:
* elf32-ft32.c (ft32_reloc_map): Use R_FT32_32 for BFD_RELOC_32.
Diffstat (limited to 'bfd/elf32-ft32.c')
-rw-r--r-- | bfd/elf32-ft32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ft32.c b/bfd/elf32-ft32.c index 9c5f734..f46031e 100644 --- a/bfd/elf32-ft32.c +++ b/bfd/elf32-ft32.c @@ -160,7 +160,7 @@ struct ft32_reloc_map static const struct ft32_reloc_map ft32_reloc_map [] = { { BFD_RELOC_NONE, R_FT32_NONE }, - { BFD_RELOC_32, R_FT32_20 }, + { BFD_RELOC_32, R_FT32_32 }, { BFD_RELOC_16, R_FT32_16 }, { BFD_RELOC_8, R_FT32_8 }, { BFD_RELOC_FT32_10, R_FT32_10 }, |