mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Add NetBSD support in needsRuntimeRegistrationOfSectionRange.
Use linker script magic to get data/cnts/name start/end. llvm-svn: 349277
This commit is contained in:
parent
151ce022c7
commit
4f542b3de4
@ -701,6 +701,7 @@ static bool needsRuntimeRegistrationOfSectionRange(const Module &M) {
|
||||
// Use linker script magic to get data/cnts/name start/end.
|
||||
if (Triple(M.getTargetTriple()).isOSLinux() ||
|
||||
Triple(M.getTargetTriple()).isOSFreeBSD() ||
|
||||
Triple(M.getTargetTriple()).isOSNetBSD() ||
|
||||
Triple(M.getTargetTriple()).isOSFuchsia() ||
|
||||
Triple(M.getTargetTriple()).isPS4CPU())
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user