[PATCH] D32887: [ELF] Emit __ehdr_start when there is a segment containing program headers
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 10:53:35 PDT 2017
> +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
> +# RUN: echo "SECTIONS { \
> +# RUN: . = SIZEOF_HEADERS; \
> +# RUN: .text : { *(.text*) } : text \
> +# RUN: } \
> +# RUN: PHDRS { \
> +# RUN: text PT_LOAD FILEHDR PHDRS; \
> +# RUN: }" > %t2.script
Do you need PHDRS in the test?
Please git-clang-format the patch.
With this patch the first test is failing for me. I think it has to run
after Script->assignAddresses(Phdrs);
Cheers,
Rafael
More information about the llvm-commits
mailing list