[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:06:54 PDT 2020


arichardson added a comment.

I can



================
Comment at: lld/test/ELF/arm-exidx-range.s:6
 // RUN:         .text : { *(.text) } \
 // RUN:         .vectors 0xffff0000 : { *(.vectors) } \
 // RUN: } " > %t.script
----------------
psmith wrote:
> This can be also be fixed by replacing this line:
> .vectors 0xffff0000 : AT(0xffff0000) : { *(.vectors) } \
Thanks, that's a better solution. I thought I'd have to add custom PHDRS to fix this so I used the attribute mismatch to force a new PT_LOAD.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85661/new/

https://reviews.llvm.org/D85661



More information about the llvm-commits mailing list