1 |
commit: 39341b837bba83478e24f45804830a5c4c743245 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 13 00:13:23 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 13 00:13:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=39341b83 |
7 |
|
8 |
9.2.0: drop 27_all_hppa64-patchable-entry-90751.patch as well |
9 |
|
10 |
27_all_hppa64-patchable-entry-90751.patch was backported to 9.2.0 |
11 |
|
12 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
13 |
|
14 |
.../27_all_hppa64-patchable-entry-90751.patch | 120 --------------------- |
15 |
9.2.0/gentoo/README.history | 1 - |
16 |
2 files changed, 121 deletions(-) |
17 |
|
18 |
diff --git a/9.2.0/gentoo/27_all_hppa64-patchable-entry-90751.patch b/9.2.0/gentoo/27_all_hppa64-patchable-entry-90751.patch |
19 |
deleted file mode 100644 |
20 |
index d93fe0a..0000000 |
21 |
--- a/9.2.0/gentoo/27_all_hppa64-patchable-entry-90751.patch |
22 |
+++ /dev/null |
23 |
@@ -1,120 +0,0 @@ |
24 |
-https://gcc.gnu.org/PR90751 |
25 |
- |
26 |
-From 5df07cedc211b67011688e911db34ee18997eedf Mon Sep 17 00:00:00 2001 |
27 |
-From: danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> |
28 |
-Date: Fri, 7 Jun 2019 23:20:44 +0000 |
29 |
-Subject: [PATCH] PR target/90751 * config/pa/pa-linux.h |
30 |
- (ASM_DECLARE_FUNCTION_NAME): Update comment. Call pa_output_function_label. |
31 |
- (TARGET_ASM_FUNCTION_PROLOGUE): define. * |
32 |
- config/pa/pa-protos.h (pa_output_function_label): Declare. * |
33 |
- config/pa/pa.c (pa_output_function_prologue): Add ATTRIBUTE_UNUSED to |
34 |
- declaration. (pa_linux_output_function_prologue): Declare. |
35 |
- (TARGET_ASM_FUNCTION_PROLOGUE): Delete define. |
36 |
- (pa_output_function_label): New. (pa_output_function_prologue): Revise |
37 |
- to use pa_output_function_label. (pa_linux_output_function_prologue): |
38 |
- New. * config/pa/pa.h (TARGET_ASM_FUNCTION_PROLOGUE): Define. |
39 |
- |
40 |
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@272061 138bc75d-0d04-0410-961f-82ee72b054a4 |
41 |
---- a/gcc/config/pa/pa-linux.h |
42 |
-+++ b/gcc/config/pa/pa-linux.h |
43 |
-@@ -109,9 +109,14 @@ along with GCC; see the file COPYING3. If not see |
44 |
- { \ |
45 |
- ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "function"); \ |
46 |
- ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL)); \ |
47 |
-+ pa_output_function_label (FILE); \ |
48 |
- } \ |
49 |
- while (0) |
50 |
- |
51 |
-+/* Output function prologue for linux. */ |
52 |
-+#undef TARGET_ASM_FUNCTION_PROLOGUE |
53 |
-+#define TARGET_ASM_FUNCTION_PROLOGUE pa_linux_output_function_prologue |
54 |
-+ |
55 |
- /* As well as globalizing the label, we need to encode the label |
56 |
- to ensure a plabel is generated in an indirect call. */ |
57 |
- |
58 |
---- a/gcc/config/pa/pa-protos.h |
59 |
-+++ b/gcc/config/pa/pa-protos.h |
60 |
-@@ -108,6 +108,7 @@ extern void pa_asm_output_aligned_local (FILE *, const char *, |
61 |
- extern void pa_hpux_asm_output_external (FILE *, tree, const char *); |
62 |
- extern HOST_WIDE_INT pa_initial_elimination_offset (int, int); |
63 |
- extern HOST_WIDE_INT pa_function_arg_size (machine_mode, const_tree); |
64 |
-+extern void pa_output_function_label (FILE *); |
65 |
- |
66 |
- extern const int pa_magic_milli[]; |
67 |
- |
68 |
---- a/gcc/config/pa/pa.c |
69 |
-+++ b/gcc/config/pa/pa.c |
70 |
-@@ -118,7 +118,8 @@ static void set_reg_plus_d (int, int, HOST_WIDE_INT, int); |
71 |
- static rtx pa_function_value (const_tree, const_tree, bool); |
72 |
- static rtx pa_libcall_value (machine_mode, const_rtx); |
73 |
- static bool pa_function_value_regno_p (const unsigned int); |
74 |
--static void pa_output_function_prologue (FILE *); |
75 |
-+static void pa_output_function_prologue (FILE *) ATTRIBUTE_UNUSED; |
76 |
-+static void pa_linux_output_function_prologue (FILE *) ATTRIBUTE_UNUSED; |
77 |
- static void update_total_code_bytes (unsigned int); |
78 |
- static void pa_output_function_epilogue (FILE *); |
79 |
- static int pa_adjust_cost (rtx_insn *, int, rtx_insn *, int, unsigned int); |
80 |
-@@ -262,8 +263,6 @@ static size_t n_deferred_plabels = 0; |
81 |
- #undef TARGET_ASM_INTEGER |
82 |
- #define TARGET_ASM_INTEGER pa_assemble_integer |
83 |
- |
84 |
--#undef TARGET_ASM_FUNCTION_PROLOGUE |
85 |
--#define TARGET_ASM_FUNCTION_PROLOGUE pa_output_function_prologue |
86 |
- #undef TARGET_ASM_FUNCTION_EPILOGUE |
87 |
- #define TARGET_ASM_FUNCTION_EPILOGUE pa_output_function_epilogue |
88 |
- |
89 |
-@@ -3842,16 +3841,10 @@ pa_compute_frame_size (poly_int64 size, int *fregs_live) |
90 |
- & ~(PREFERRED_STACK_BOUNDARY / BITS_PER_UNIT - 1)); |
91 |
- } |
92 |
- |
93 |
--/* On HP-PA, move-double insns between fpu and cpu need an 8-byte block |
94 |
-- of memory. If any fpu reg is used in the function, we allocate |
95 |
-- such a block here, at the bottom of the frame, just in case it's needed. |
96 |
-+/* Output function label, and associated .PROC and .CALLINFO statements. */ |
97 |
- |
98 |
-- If this function is a leaf procedure, then we may choose not |
99 |
-- to do a "save" insn. The decision about whether or not |
100 |
-- to do this is made in regclass.c. */ |
101 |
-- |
102 |
--static void |
103 |
--pa_output_function_prologue (FILE *file) |
104 |
-+void |
105 |
-+pa_output_function_label (FILE *file) |
106 |
- { |
107 |
- /* The function's label and associated .PROC must never be |
108 |
- separated and must be output *after* any profiling declarations |
109 |
-@@ -3897,7 +3890,22 @@ pa_output_function_prologue (FILE *file) |
110 |
- fprintf (file, ",ENTRY_FR=%d", fr_saved + 11); |
111 |
- |
112 |
- fputs ("\n\t.ENTRY\n", file); |
113 |
-+} |
114 |
-+ |
115 |
-+/* Output function prologue. */ |
116 |
- |
117 |
-+static void |
118 |
-+pa_output_function_prologue (FILE *file) |
119 |
-+{ |
120 |
-+ pa_output_function_label (file); |
121 |
-+ remove_useless_addtr_insns (0); |
122 |
-+} |
123 |
-+ |
124 |
-+/* The label is output by ASM_DECLARE_FUNCTION_NAME on linux. */ |
125 |
-+ |
126 |
-+static void |
127 |
-+pa_linux_output_function_prologue (FILE *file ATTRIBUTE_UNUSED) |
128 |
-+{ |
129 |
- remove_useless_addtr_insns (0); |
130 |
- } |
131 |
- |
132 |
---- a/gcc/config/pa/pa.h |
133 |
-+++ b/gcc/config/pa/pa.h |
134 |
-@@ -1305,3 +1305,6 @@ do { \ |
135 |
- |
136 |
- /* Target CPU versions for D. */ |
137 |
- #define TARGET_D_CPU_VERSIONS pa_d_target_versions |
138 |
-+ |
139 |
-+/* Output default function prologue for hpux. */ |
140 |
-+#define TARGET_ASM_FUNCTION_PROLOGUE pa_output_function_prologue |
141 |
--- |
142 |
-2.21.0 |
143 |
- |
144 |
|
145 |
diff --git a/9.2.0/gentoo/README.history b/9.2.0/gentoo/README.history |
146 |
index 1ce21dd..ae5ec16 100644 |
147 |
--- a/9.2.0/gentoo/README.history |
148 |
+++ b/9.2.0/gentoo/README.history |
149 |
@@ -25,4 +25,3 @@ |
150 |
+ 24_all_libstdcxx-no-vtv.patch |
151 |
+ 25_all_ia64-bootstrap.patch |
152 |
+ 26_all_disable-riscv32-ABIs.patch |
153 |
- + 27_all_hppa64-patchable-entry-90751.patch |