[PATCH] D37749: Don't make _gp absolute
Rafael Ávila de Espíndola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 09:59:34 PDT 2017
rafael created this revision.
Herald added a subscriber: emaste.
_gp points to a position in the file, so it is not really absolute. It is also simpler to not force it to be absolute, so if there is no strong ABI requirement we should not do it.
https://reviews.llvm.org/D37749
Files:
ELF/Writer.cpp
test/ELF/basic-mips.s
test/ELF/mips-64-gprel-so.s
test/ELF/mips-64-rels.s
test/ELF/mips-got-relocs.s
test/ELF/mips-gp-disp.s
test/ELF/mips-gp-local.s
test/ELF/mips-gprel32-relocs-gp0.s
test/ELF/mips-gprel32-relocs.s
test/ELF/mips-hilo-gp-disp.s
test/ELF/mips-micro-relocs.s
test/ELF/mips-n32-rels.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37749.114858.patch
Type: text/x-patch
Size: 6813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170912/2e673f22/attachment.bin>
More information about the llvm-commits
mailing list