aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-i386.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-05-20 09:36:48 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-05-20 09:36:48 -0700
commit52bf37dd91e5dd983ed20d1329293d077fe71e41 (patch)
treee01de60acda8b2d765e362630f4c5706d25e0833 /bfd/elf32-i386.c
parenta4968f42e78972fa10b1a84a5e72afd4b65b0eca (diff)
downloadgdb-52bf37dd91e5dd983ed20d1329293d077fe71e41.zip
gdb-52bf37dd91e5dd983ed20d1329293d077fe71e41.tar.gz
gdb-52bf37dd91e5dd983ed20d1329293d077fe71e41.tar.bz2
Don't check R_386_GOT32 when setting need_convert_load
Since we no longer convert R_386_GOT32, don't check R_386_GOT32 when setting need_convert_load. * elf32-i386.c (elf_i386_check_relocs): Don't check R_386_GOT32 when setting need_convert_load.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r--bfd/elf32-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index c7e08aa..8766d2b 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2256,7 +2256,7 @@ do_size:
goto error_return;
}
- if ((r_type == R_386_GOT32 || r_type == R_386_GOT32X)
+ if (r_type == R_386_GOT32X
&& (h == NULL || h->type != STT_GNU_IFUNC))
sec->need_convert_load = 1;
}