diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-26 13:47:51 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-26 13:47:51 -0700 |
commit | 8065630f2e00860f6b0e9ee885b3e29f4a129e1f (patch) | |
tree | 548018f9d02e8eea148f60fc9be45ee9c5b744cb | |
parent | 04bf8827512c113419fdda513bd8ea23734387bc (diff) | |
download | syslinux-8065630f2e00860f6b0e9ee885b3e29f4a129e1f.tar.gz |
.got.plt is really part of the GOT
The .got.plt section is the GOT entries associated with the PLT;
although we don't have a PLT we still have the 3 reserved entries
which are mentioned in the psABI as "the first three entries of the
GOT". These don't matter for our needs, but make them part of the
.got anyway.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | com32/lib/com32.ld | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/com32/lib/com32.ld b/com32/lib/com32.ld index f615e82d..37ee46cf 100644 --- a/com32/lib/com32.ld +++ b/com32/lib/com32.ld @@ -71,14 +71,10 @@ SECTIONS .got : { PROVIDE (__got_start = .); + KEEP (*(.got.plt)) KEEP (*(.got)) PROVIDE (__got_end = .); } - .got.plt : { - PROVIDE (__got_plt_start = .); - KEEP (*(.got.plt)) - PROVIDE (__got_plt_end = .); - } /* Adjust the address for the data segment. Avoid mixing code and data within same 128-byte chunk. */ |