diff options
author | Nick Clifton <nickc@redhat.com> | 2014-04-11 16:02:52 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-04-11 16:02:52 +0100 |
commit | 32ae0d80cd430150ad9536aa160f34f504e129bc (patch) | |
tree | 76b9dab3571164bcc1e07302277c471a07ae7f68 /gas | |
parent | 58a84dcf29b735ee776536b4c51ba90b51612b71 (diff) | |
download | gdb-32ae0d80cd430150ad9536aa160f34f504e129bc.zip gdb-32ae0d80cd430150ad9536aa160f34f504e129bc.tar.gz gdb-32ae0d80cd430150ad9536aa160f34f504e129bc.tar.bz2 |
PE32+ binaries that use addresses > 1^32 have a problem in that the linker
converts some address expressions into absolute values, but the PE format
only stores absolutes as 32-bits. This is a partial solution which attempts
to convert such absolute values back to section relative ones instead. It
fails for symbols like __image_base and ImageBase__, but it is unclear as to
whether these values are ever actually used by applications.
PR ld/16821
* peXXigen.c (abs_finder): New function.
(_bfd_XXi_swap_sym_out): For absolute symbols with values larger
than 1^32 try to convert them into section relative values
instead.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions