blob: 063da4ef0068f4f0898537be737510540eb2f01a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
From 023c92ac45b727768599a95f7da748158a270753 Mon Sep 17 00:00:00 2001
From: bule <bule1@huawei.com>
Date: Mon, 16 Aug 2021 11:20:35 +0800
Subject: [PATCH 21/22] [mcmodel] Bugfix for mcmodel=medium on x86
Declare default_medium_symbol_p in targhooks.h which otherwise
cause the build failure on x86 platform.
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 72f3064e8f8..95c136edc79 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -218,6 +218,7 @@ extern int default_register_move_cost (machine_mode, reg_class_t,
reg_class_t);
extern bool default_slow_unaligned_access (machine_mode, unsigned int);
extern HOST_WIDE_INT default_estimated_poly_value (poly_int64);
+extern bool default_medium_symbol_p (rtx);
extern bool default_use_by_pieces_infrastructure_p (unsigned HOST_WIDE_INT,
unsigned int,
--
2.21.0.windows.1
|