[PATCH] D30889: [ELF] Fix error reporting for eh_frame and other synthetic sections

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 01:07:01 PDT 2017


evgeny777 added inline comments.


================
Comment at: test/ELF/linkerscript/eh-frame-reloc-out-of-range.s:6
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
+# RUN: echo "PHDRS { eh PT_LOAD; text PT_LOAD; }  \
+# RUN:       SECTIONS { . = 0x10000; \
----------------
grimar wrote:
> Do you need PHDRS for this testcase ?
By default "A" (eh_frame and eh_frame_hdr) and "AX" (text) sections go to the same segment. If you remove PHDRS you'll get very large (> 60GB) output file. 


Repository:
  rL LLVM

https://reviews.llvm.org/D30889





More information about the llvm-commits mailing list