diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-02 01:50:34 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-02 01:50:34 +0000 |
| commit | 4368bdb2706cc77c132c1e8d020d9bd3adf3c8ac (patch) | |
| tree | 6cab09b7fff6f3eb36614324616edd2dcbe857d0 /llvm/cmake/modules/LLVMExternalProjectUtils.cmake | |
| parent | dbcf9e2ee4602006df8e472e5cd18a64cecbdced (diff) | |
| download | bcm5719-llvm-4368bdb2706cc77c132c1e8d020d9bd3adf3c8ac.tar.gz bcm5719-llvm-4368bdb2706cc77c132c1e8d020d9bd3adf3c8ac.zip | |
Make gc a bit more aggressive.
We were not gcing any section whose name was a C identifier. Both gold
and bfd only keep those if they are used.
To avoid having to create the __start/__stop symbols early or doing
string lookups in resolvedReloc, this patch just looks for undefined
symbols __start/__stop to decide if a section is needed or not.
llvm-svn: 296723
Diffstat (limited to 'llvm/cmake/modules/LLVMExternalProjectUtils.cmake')
0 files changed, 0 insertions, 0 deletions

