This is an archive of the discontinued LLVM Phabricator instance.

[PPC64] Support got relocations
ClosedPublic

Authored by sfertile on Nov 23 2018, 6:14 AM.

Details

Summary

Adds support for the '@got' relocations.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

sfertile created this revision.Nov 23 2018, 6:14 AM
MaskRay added inline comments.Nov 25 2018, 9:20 PM
test/ELF/ppc64-got-off.s
8

The file seems to mix tabs and spaces.

sfertile added inline comments.Nov 26 2018, 9:01 AM
test/ELF/ppc64-got-off.s
8

Do you mean the 8-spacing on the directives vs the 4 spacing on the instructions? Thats how I typically write in assembly. I don't mind cleaning that up to a consistent spacing for all though.

ruiu accepted this revision.Nov 26 2018, 9:18 AM

LGTM

test/ELF/ppc64-got-off.s
8

I don't mind too much about coding style of test assembly files, so this is fine. If we want to enforce some formatting, we probably should reformat all the existing assembly files in this directory, but that's probably an unwanted churn.

This revision is now accepted and ready to land.Nov 26 2018, 9:18 AM

Reminder for committing :)

Reminder for committing :)

Sorry, I've been on vacation. Will commit this either today or tomorrow.