From 7cf492ee5aba3cb968360d83892adf66746f84e1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 9 Apr 2012 16:28:34 +0000 Subject: ld/testsuite/ * ld-elf/eh1.d: Add explicit --64 to as options, and explicit -melf_x86_64 and -Ttext to ld options, so we don't assume every x86_64-*-* target uses --64 (vs --x32) by default or has the same address space layout. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to map -melf_x86_64 to -melf_x86_64_nacl. --- ld/testsuite/ld-elf/eh3.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ld/testsuite/ld-elf/eh3.d') diff --git a/ld/testsuite/ld-elf/eh3.d b/ld/testsuite/ld-elf/eh3.d index 1f76b8c1756..b3bd7567c4d 100644 --- a/ld/testsuite/ld-elf/eh3.d +++ b/ld/testsuite/ld-elf/eh3.d @@ -1,6 +1,7 @@ #source: eh3.s #source: eh3a.s -#ld: +#as: --64 +#ld: -melf_x86_64 -Ttext 0x400078 #readelf: -wf #target: x86_64-*-* -- cgit v1.2.1