* config/hppa.sed: Sed script to transform bintest.s into proper
authorJeff Law <law@redhat.com>
Fri, 17 Mar 1995 23:45:36 +0000 (23:45 +0000)
committerJeff Law <law@redhat.com>
Fri, 17 Mar 1995 23:45:36 +0000 (23:45 +0000)
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.

binutils/testsuite/config/.Sanitize
binutils/testsuite/config/hppa.sed [new file with mode: 0644]

index 6434174df6777cb9c492928ca2b9aadb0331e64e..c345df5493c9edda642ad3e92c366d29eb789510 100644 (file)
@@ -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 (file)
index 0000000..d8607d8
--- /dev/null
@@ -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/