diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-01-15 11:06:33 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-01-15 11:08:59 -0800 |
commit | 6333bc0dd6e92dd5a76ba0a6890e08db2a6f7a29 (patch) | |
tree | e63abc4928496451a64b4eac09e5a780ddb716b8 /bfd/ChangeLog | |
parent | d221e7efd61fc80f6fbf862b7e32927835575329 (diff) | |
download | gdb-6333bc0dd6e92dd5a76ba0a6890e08db2a6f7a29.zip gdb-6333bc0dd6e92dd5a76ba0a6890e08db2a6f7a29.tar.gz gdb-6333bc0dd6e92dd5a76ba0a6890e08db2a6f7a29.tar.bz2 |
Don't complain about -fPIC for undefined symbol
When building executable, undefined symbol is a fatal error. We don't
complain about -fPIC if the symbol is undefined.
bfd/
PR ld/17847
* elf64-x86-64.c (elf_x86_64_relocate_section): Don't complain
about -fPIC if the symbol is undefined when building executable.
ld/testsuite/
PR ld/17847
* ld-x86-64/pie1.d: New file.
* ld-x86-64/pie1.s: Likwise.
* ld-x86-64/x86-64.exp: Run pie1.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8c376e2..9558b5c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2015-01-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/17847 + * elf64-x86-64.c (elf_x86_64_relocate_section): Don't complain + about -fPIC if the symbol is undefined when building executable. + 2015-01-15 Nick Clifton <nickc@redhat.com> PR binutils/17512 |