[PATCH] D85661: [ELF] Avoid creating a 2.1GB output file in arm-exidx-range.s
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 10:05:52 PDT 2020
arichardson updated this revision to Diff 284420.
arichardson added a comment.
Use linker script approach instead
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85661/new/
https://reviews.llvm.org/D85661
Files:
lld/test/ELF/arm-exidx-range.s
Index: lld/test/ELF/arm-exidx-range.s
===================================================================
--- lld/test/ELF/arm-exidx-range.s
+++ lld/test/ELF/arm-exidx-range.s
@@ -3,7 +3,7 @@
// RUN: echo "SECTIONS { \
// RUN: . = 0x80000000; \
// RUN: .text : { *(.text) } \
-// RUN: .vectors 0xffff0000 : { *(.vectors) } \
+// RUN: .vectors 0xffff0000 : AT(0xffff0000) { *(.vectors) } \
// RUN: } " > %t.script
// RUN: ld.lld --script %t.script %t.o -o %t
// RUN: llvm-readobj -x .ARM.exidx %t | FileCheck %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85661.284420.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200810/4bf9a195/attachment.bin>
More information about the llvm-commits
mailing list