From b38b1562e10c39df3e9c82fb5bfd6272923190f0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 2 Jun 2005 14:30:03 +0000 Subject: [PATCH] * ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-powerpc/powerpc.exp | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 98944087864..e487bc6492e 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-06-02 Alan Modra + + * ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32. + 2005-05-31 Zack Weinberg * ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets. diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp index 593d7e2f328..dcff739fd0b 100644 --- a/ld/testsuite/ld-powerpc/powerpc.exp +++ b/ld/testsuite/ld-powerpc/powerpc.exp @@ -1,5 +1,5 @@ # Expect script for ld-powerpc tests -# Copyright 2002, 2003 Free Software Foundation +# Copyright 2002, 2003, 2005 Free Software Foundation # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -69,9 +69,9 @@ set ppcelftests { {{readelf -WSsrl tlsso32.r} {objdump -dr tlsso32.d} {objdump -sj.got tlsso32.g} {objdump -sj.tdata tlsso32.t}} "tls32.so"} - {"Shared library with global symbol" "-shared -melf32ppc" "" {sdalib.s} + {"Shared library with global symbol" "-shared -melf32ppc" "-a32" {sdalib.s} {} "sdalib.so"} - {"Dynamic application with SDA" "-melf32ppc tmpdir/sdalib.so" "" {sdadyn.s} + {"Dynamic application with SDA" "-melf32ppc tmpdir/sdalib.so" "-a32" {sdadyn.s} {{objdump -R sdadyn.d}} "sdadyn"} } -- 2.30.2