This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Linkerscript: ignore AT
AbandonedPublic

Authored by grimar on Jul 21 2016, 2:11 PM.

Details

Summary

AT is tricky command and we even have a patch for it: D19272
Though looks we do not want to support it right now,
but probably it is worth to ignore then.
Patch implements that and just shows warning if it is used.

Diff Detail

Event Timeline

grimar updated this revision to Diff 64959.Jul 21 2016, 2:11 PM
grimar retitled this revision from to [ELF] - Linkerscript: ignore AT.
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar updated this object.
grimar added subscribers: llvm-commits, grimar, evgeny777.
emaste added a subscriber: emaste.Jul 21 2016, 2:46 PM

If we don't want to implement it fully just yet I'm happy with a warning for now. It will at least allow FreeBSD testing to continue.

ruiu edited edge metadata.Jul 21 2016, 3:01 PM

If a linker script contains an AT commands, the program should depend on it, otherwise it didn't contain it on the first place. So I think it's a hard error. I mean I ithin doing nothing and treat AT as an unknown token is the right approach.

davide requested changes to this revision.Jul 21 2016, 3:34 PM
davide added a reviewer: davide.
davide added a subscriber: davide.

Hmm no. Please don't ignore this. I tried ignoring and the Xen loader gets very angry.

This revision now requires changes to proceed.Jul 21 2016, 3:34 PM

In that case we should just proceed with D19272

grimar abandoned this revision.Jul 22 2016, 1:49 AM

I`ll rebase and update the D19272 then.