Page MenuHomeFreeBSD

Add new PowerPC relocations to binutils
ClosedPublic

Authored by jhibbits on Dec 11 2014, 3:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 25 2024, 9:41 PM
Unknown Object (File)
Jan 5 2024, 5:38 PM
Unknown Object (File)
Dec 25 2023, 9:39 AM
Unknown Object (File)
Dec 19 2023, 11:41 PM
Unknown Object (File)
Oct 18 2023, 4:49 AM
Unknown Object (File)
Feb 17 2023, 10:43 PM
Unknown Object (File)
Jan 3 2023, 8:02 AM
Unknown Object (File)
Dec 23 2022, 2:56 PM
Subscribers
None

Details

Reviewers
dim
Group Reviewers
committers
Summary

LLVM/Clang generates relocations that our binutils doesn't understand, but newer binutils does. I got permission from the author of a series of patches to relicense them as GPLv2 for use in FreeBSD. The upstream git hashes are:

ac2df442ac7901f00af15b272fc48b594b433713
2b95367962dc14f69d3c338c4d54195266e2e169
102890f04c44b64cf5cef4588267dd9f24086ac7
b7fcf6f6bb53b5027e111107f5416769cb9a5798
1d483afedd5a628dc84fb58d1d570f79fdfbfa7b
90aecf7a80c1cefeb45fc10a6cd02c8338e34b4c
3a71aa26df2a372a58e9c11ef9ba51fd0e83320a
727fc41e077139570ea8b8ddfd6c546b2a55627c

With the import of clang 3.5, and a few backported patches, we should be able to move powerpc and powerpc64 to clang-as-cc soon.

Test Plan

Passes make tinderbox, so no regressions. Binaries built with clang run on powerpc64.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jhibbits retitled this revision from to Add new PowerPC relocations to binutils.
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jhibbits added reviewers: committers, dim.
dim edited edge metadata.

Builds fine for me, looks sane, and it's from upstream, so should be good to go.

This revision is now accepted and ready to land.Dec 11 2014, 6:53 PM