diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-12-01 09:13:08 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-12-01 18:55:14 -0800 |
commit | 260aa570edcf120332daefb4a102a08c90e4d9b4 (patch) | |
tree | 03ed5b829c05b8edc2d52205f9c4d908c7a28a70 /binutils/windmc.h | |
parent | f39cb7ff7ce065f9a1c8c011a7a78d08a2b7fe25 (diff) | |
download | gdb-260aa570edcf120332daefb4a102a08c90e4d9b4.zip gdb-260aa570edcf120332daefb4a102a08c90e4d9b4.tar.gz gdb-260aa570edcf120332daefb4a102a08c90e4d9b4.tar.bz2 |
Fix ld/x86: reduce testsuite dependency on system object files
commit eab996435fe65a421541f59557c5f1fd427573a3
Author: Jan Beulich <jbeulich@suse.com>
Date: Tue Nov 7 13:58:32 2023 +0100
ld/x86: reduce testsuite dependency on system object files
changed some C compiler tests to assembler/linker tests which introduced
2 problems:
1. It broke x32 binutils tests since --64 was passed to assembler, but
-m elf_x86_64 wasn't passed to linker.
2. -nostdlib was passed to C compiler driver to exclude standard run-time
files which should be avoided with -r option for linker tests.
Fix them by passing -m elf_x86_64 to linker and removing -nostdlib for
linker tests with -r.
PR ld/30722
* testsuite/ld-x86-64/x86-64.exp: Pass -m elf_x86_64 to linker
for tests with --64. Remove -nostdlib for tests with -r.
Diffstat (limited to 'binutils/windmc.h')
0 files changed, 0 insertions, 0 deletions