sync with OpenBSD -current
This commit is contained in:
parent
a7acbdeab0
commit
c22b8a6120
202 changed files with 3004 additions and 4921 deletions
|
@ -8113,7 +8113,7 @@ def err_typecheck_convert_pointer_int : Error<
|
|||
"; remove &}3">;
|
||||
def ext_typecheck_convert_pointer_int : ExtWarn<
|
||||
err_typecheck_convert_pointer_int.Summary>,
|
||||
InGroup<IntConversion>, DefaultError;
|
||||
InGroup<IntConversion>;
|
||||
def err_typecheck_convert_int_pointer : Error<
|
||||
"incompatible integer to pointer conversion "
|
||||
"%select{%diff{assigning to $ from $|assigning to different types}0,1"
|
||||
|
@ -8133,7 +8133,7 @@ def err_typecheck_convert_int_pointer : Error<
|
|||
"; remove &}3">;
|
||||
def ext_typecheck_convert_int_pointer : ExtWarn<
|
||||
err_typecheck_convert_int_pointer.Summary>,
|
||||
InGroup<IntConversion>, DefaultError;
|
||||
InGroup<IntConversion>;
|
||||
def ext_typecheck_convert_pointer_void_func : Extension<
|
||||
"%select{%diff{assigning to $ from $|assigning to different types}0,1"
|
||||
"|%diff{passing $ to parameter of type $|"
|
||||
|
|
|
@ -21198,6 +21198,8 @@ bool ARMTargetLowering::shouldInsertFencesForAtomic(
|
|||
}
|
||||
|
||||
bool ARMTargetLowering::useLoadStackGuardNode() const {
|
||||
if (Subtarget->getTargetTriple().isOSOpenBSD())
|
||||
return false;
|
||||
// ROPI/RWPI are not supported currently.
|
||||
return !Subtarget->isROPI() && !Subtarget->isRWPI();
|
||||
}
|
||||
|
|
|
@ -5293,7 +5293,8 @@ void PPCDAGToDAGISel::Select(SDNode *N) {
|
|||
// generate secure plt code for TLS symbols.
|
||||
getGlobalBaseReg();
|
||||
} break;
|
||||
case PPCISD::CALL: {
|
||||
case PPCISD::CALL:
|
||||
case PPCISD::CALL_RM: {
|
||||
if (PPCLowering->getPointerTy(CurDAG->getDataLayout()) != MVT::i32 ||
|
||||
!TM.isPositionIndependent() || !Subtarget->isSecurePlt() ||
|
||||
!Subtarget->isTargetELF())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue