tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: clang/llvm on aarch64



On 30.08.2019 06:53, Michał Górny wrote:
> On Thu, 2019-08-29 at 22:20 +0100, Robert Swindells wrote:
>> -void NetBSD::addClangTargetOptions(const ArgList &,
>> +void NetBSD::addClangTargetOptions(const ArgList &DriverArgs,
>>                                     ArgStringList &CC1Args,
>>                                     Action::OffloadKind) const {
>>    const SanitizerArgs &SanArgs = getSanitizerArgs();
>> +  bool UseInitArrayDefault =
>> +      getTriple().getArch() == llvm::Triple::aarch64 ||
>> +      getTriple().getArch() == llvm::Triple::aarch64_be ||
>> +      getTriple().getArch() == llvm::Triple::riscv32 ||
>> +      getTriple().getArch() == llvm::Triple::riscv64;
> 
> Don't we want to enable it for all platforms these days?
> 

Wasn't this enabled in:

From d5f718a8e6b2994d38359bdcf4649aff1324b9ac Mon Sep 17 00:00:00 2001
From: christos <christos%NetBSD.org@localhost>
Date: Fri, 28 Dec 2018 20:12:35 +0000
Subject: [PATCH] Re-do previous (always make available
 preinit/initarray/finiarray), with less disruption.


https://github.com/NetBSD/src/commit/d5f718a8e6b2994d38359bdcf4649aff1324b9ac

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index