]> git.wh0rd.org Git - elf2flt.git/commitdiff
Newer gcc compilers generate some ARM relocation types that we should
authorGreg Ungerer <gerg@snapgear.com>
Thu, 21 May 2009 07:02:06 +0000 (07:02 +0000)
committerGreg Ungerer <gerg@snapgear.com>
Thu, 21 May 2009 07:02:06 +0000 (07:02 +0000)
deal with in elf2flt.

Patch submitted by Erwin Authried <eauth@softsys.co.at>

elf2flt.c

index df48fbff7c98853e9e0fee8680565467319b5d61..49ceb30ce9ec2d4e81a16237f417f58690c40833 100644 (file)
--- a/elf2flt.c
+++ b/elf2flt.c
@@ -716,6 +716,10 @@ dump_symbols(symbols, number_of_symbols);
                                case R_ARM_REL32:
                                case R_ARM_THM_PC11:
                                case R_ARM_THM_PC22:
+                               case R_ARM_PC24:
+                               case R_ARM_PLT32:
+                               case R_ARM_GOTPC:
+                               case R_ARM_GOT32:
                                        relocation_needed = 0;
                                        break;
                                default: