HomePhabricator

[lld] Mitigate relocation overflow [part 1 of 2].

Authored by shenhan on May 15 2018, 10:02 AM.

Description

[lld] Mitigate relocation overflow [part 1 of 2].

This CL places .dynsym and .dynstr at the beginning of SHF_ALLOC
sections. We do this to mitigate the possibility that huge .dynsym and
.dynstr sections placed between ro-data and text sections cause
relocation overflow.

Differential Revision: https://reviews.llvm.org/D45788

llvm-svn: 332374

Details

Committed
shenhanMay 15 2018, 10:02 AM
Differential Revision
D45788: Mitigate relocation overflow [part 1 of 2]
Parents
rGc5b4401cf70c: [InstCombine] add multi-use shuffle tests and regenerate checks; NFC
Branches
Unknown
Tags
Unknown