From b76eed6c1db6657386971b0cd8e2925debd411fb Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 17 Mar 1995 23:45:36 +0000 Subject: [PATCH] * 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. --- binutils/testsuite/config/.Sanitize | 1 + binutils/testsuite/config/hppa.sed | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 binutils/testsuite/config/hppa.sed diff --git a/binutils/testsuite/config/.Sanitize b/binutils/testsuite/config/.Sanitize index 6434174df67..c345df5493c 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 00000000000..d8607d85d0c --- /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/ -- 2.30.2