diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-05-15 16:33:57 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-05-16 08:07:15 -0700 |
commit | f8a86fda2eef0fe4656d003a3c824426ab6eccc0 (patch) | |
tree | 5ed19c147d52033886e33c9044e9974dd5531c9b | |
parent | d216129e31f8431f8f8986e9dab0083b44e67594 (diff) | |
download | binutils-gdb-f8a86fda2eef0fe4656d003a3c824426ab6eccc0.tar.gz |
Add call *foo@GOTPLT(%eax)
-rw-r--r-- | gas/config/tc-i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 4ce5572b9d5..2dd72ba5b77 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -7447,9 +7447,9 @@ lex_got (enum bfd_reloc_code_real *rel, { STRING_COMMA_LEN ("PLT"), { BFD_RELOC_386_PLT32, BFD_RELOC_X86_64_PLT32 }, OPERAND_TYPE_IMM32_32S_DISP32 }, - { STRING_COMMA_LEN ("GOTPLT"), { _dummy_first_bfd_reloc_code_real, + { STRING_COMMA_LEN ("GOTPLT"), { BFD_RELOC_386_RELAX_PLT32, BFD_RELOC_X86_64_GOTPLT64 }, - OPERAND_TYPE_IMM64_DISP64 }, + OPERAND_TYPE_IMM32_32S_64_DISP32_64 }, { STRING_COMMA_LEN ("GOTOFF"), { BFD_RELOC_386_GOTOFF, BFD_RELOC_X86_64_GOTOFF64 }, OPERAND_TYPE_IMM64_DISP64 }, |