aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-03-17 23:45:36 +0000
committerJeff Law <law@redhat.com>1995-03-17 23:45:36 +0000
commitb76eed6c1db6657386971b0cd8e2925debd411fb (patch)
tree7790ef30849808a12a90f94bfd849015487c307b /binutils/testsuite
parente70a10c35a577953dc0bda1154301bf57bfe5c58 (diff)
downloadgdb-b76eed6c1db6657386971b0cd8e2925debd411fb.zip
gdb-b76eed6c1db6657386971b0cd8e2925debd411fb.tar.gz
gdb-b76eed6c1db6657386971b0cd8e2925debd411fb.tar.bz2
* config/hppa.sed: Sed script to transform bintest.s into proper
PA assembly code. * binutils-all/nm.exp: Enable these tests on the PA. * binutils-all/objcopy.exp: Enable these tests on the PA. Expect simple copy to fail. * binutils-all/objdump.exp: Enable these tests on the PA. Handle "CODE" as a section name. * binutils-all/size.exp: Enable these tests on the PA. * lib/utils-lib.exp (default_binutils_assemble): For "hppa*-*-*", run the assembly through a sed script before passing it to the assembler.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/config/.Sanitize1
-rw-r--r--binutils/testsuite/config/hppa.sed4
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/testsuite/config/.Sanitize b/binutils/testsuite/config/.Sanitize
index 6434174..c345df5 100644
--- a/binutils/testsuite/config/.Sanitize
+++ b/binutils/testsuite/config/.Sanitize
@@ -25,6 +25,7 @@ Do-first:
Things-to-keep:
default.exp
+hppa.sed
Things-to-lose:
diff --git a/binutils/testsuite/config/hppa.sed b/binutils/testsuite/config/hppa.sed
new file mode 100644
index 0000000..d8607d8
--- /dev/null
+++ b/binutils/testsuite/config/hppa.sed
@@ -0,0 +1,4 @@
+s/# Old OSF sed blows up if you have a sed command starting with "#"//
+s/# Avoid it by putting the comments within real sed commands.//
+s/# Fix the definition of common_symbol to be correct for the PA assebmlers.//
+s/ \.comm common_symbol,4/common_symbol .comm 4/