diff options
author | Alan Modra <amodra@gmail.com> | 2021-02-18 14:43:14 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-02-19 13:49:15 +1030 |
commit | 2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f (patch) | |
tree | 43eca27a7a11557b325be3d06291acb72fcf8fb1 /ld/ChangeLog | |
parent | 0be51eb4c363bea9a550392bf58c0e497403fff2 (diff) | |
download | gdb-2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f.zip gdb-2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f.tar.gz gdb-2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f.tar.bz2 |
Wrong ELF class plugin vs. gcc ld version
When building 32-bit binutils with CC="gcc -m32" CXX="g++ -m32" we can
fail the gcc ld version test due to an error attempting to load a
64-bit plugin into 32-bit ld-new. This results in bogus errors about
"Your compiler driver ignores -B when choosing ld."
* testsuite/lib/ld-lib.exp: Whitespace.
(load_common_lib): Expand single use and delete this proc.
(run_host_cmd): Use -fno-lto when getting gcc's ld version.
Use -B for clang too.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b7c7bbb..9d16c30 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2021-02-19 Alan Modra <amodra@gmail.com> + + * testsuite/lib/ld-lib.exp: Whitespace. + (load_common_lib): Expand single use and delete this proc. + (run_host_cmd): Use -fno-lto when getting gcc's ld version. + Use -B for clang too. + 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com> * testplugin.c (record_read_length): Remove debug fprintf. |