summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/ELF/Inputs/no-augmentation.obin3640 -> 0 bytes
-rw-r--r--lld/test/ELF/no-augmentation.s18
2 files changed, 10 insertions, 8 deletions
diff --git a/lld/test/ELF/Inputs/no-augmentation.o b/lld/test/ELF/Inputs/no-augmentation.o
deleted file mode 100644
index 8b9ff5e5923..00000000000
--- a/lld/test/ELF/Inputs/no-augmentation.o
+++ /dev/null
Binary files differ
diff --git a/lld/test/ELF/no-augmentation.s b/lld/test/ELF/no-augmentation.s
index a16b9a1df97..31cd92e39b1 100644
--- a/lld/test/ELF/no-augmentation.s
+++ b/lld/test/ELF/no-augmentation.s
@@ -1,12 +1,5 @@
-// Input file generated on a mips64 device running FreeBSD 11-CURRENT
-// using the system compiler GCC 4.2.1, from no-augmentation.c containing:
-// int fn(int a) { return a + 1; }
-// with command:
-// cc -funwind-tables -g -O0 -c no-augmentation.c
-
// RUN: llvm-mc -filetype=obj -triple=mips64-unknown-freebsd %s -o %t.o
-// RUN: ld.lld --eh-frame-hdr %t.o %p/Inputs/no-augmentation.o -o %t \
-// RUN: | FileCheck -allow-empty %s
+// RUN: ld.lld --eh-frame-hdr %t.o -o %t | FileCheck -allow-empty %s
// REQUIRES: mips
@@ -15,3 +8,12 @@
.global __start
__start:
+
+.section .eh_frame,"aw",@progbits
+ .4byte 9
+ .4byte 0x0
+ .byte 0x1
+ .string ""
+ .uleb128 0x1
+ .sleb128 -4
+ .byte 0x1f
OpenPOWER on IntegriCloud