FT32: Correct 32-bit reloc for BFD_RELOC_32
authorjamesbowman <jamesb@excamera.com>
Fri, 8 Jul 2016 18:53:31 +0000 (11:53 -0700)
committerjamesbowman <jamesb@excamera.com>
Fri, 8 Jul 2016 18:53:31 +0000 (11:53 -0700)
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.

bfd/ChangeLog
bfd/elf32-ft32.c

index 40311715a78e1d8df61d238d6d1821c54cfdb1d0..e295eca4c1cabed5997033dc00d8917fade48465 100644 (file)
@@ -1,3 +1,7 @@
+2016-07-08  James Bowman  <james.bowman@ftdichip.com>
+
+       * elf32-ft32.c (ft32_reloc_map): Use R_FT32_32 for BFD_RELOC_32.
+
 2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
 
        * elf32-arm.c (THUMB32_MOVT): New veneer macro.
index 9c5f7345af584860cc115c26eb0b47bddcf93728..f46031ed7902e9e68b830f4e4d23b9ac3c073310 100644 (file)
@@ -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 },
This page took 0.028737 seconds and 4 git commands to generate.