This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Report LMA region overflows.
ClosedPublic

Authored by grimar on Mar 5 2018, 7:55 AM.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

grimar created this revision.Mar 5 2018, 7:55 AM
ruiu accepted this revision.Mar 5 2018, 10:33 AM

LGTM

test/ELF/linkerscript/lma-overflow.test
4–5

You can write two assembly lines in one line by separating with ';'.

6

And you don't need to create a temporary file --

echo '.section .foo,"a"; .quad 1' | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o
This revision is now accepted and ready to land.Mar 5 2018, 10:33 AM
This revision was automatically updated to reflect the committed changes.