[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17847] Confusing linker error message
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/17847] Confusing linker error message |
Date: |
Thu, 15 Jan 2015 19:09:50 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17847
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6333bc0dd6e92dd5a76ba0a6890e08db2a6f7a29
commit 6333bc0dd6e92dd5a76ba0a6890e08db2a6f7a29
Author: H.J. Lu <address@hidden>
Date: Thu Jan 15 11:06:33 2015 -0800
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.
--
You are receiving this mail because:
You are on the CC list for the bug.