File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -126,14 +126,6 @@ SECTIONS
126
126
*(.sfpr);
127
127
MEM_KEEP(init.text)
128
128
MEM_KEEP(exit.text)
129
-
130
- #ifdef CONFIG_PPC32
131
- *(.got1)
132
- __got2_start = .;
133
- *(.got2)
134
- __got2_end = .;
135
- #endif /* CONFIG_PPC32 */
136
-
137
129
} :text
138
130
139
131
. = ALIGN(PAGE_SIZE);
@@ -143,7 +135,16 @@ SECTIONS
143
135
/* Read-only data */
144
136
RO_DATA(PAGE_SIZE)
145
137
146
- #ifdef CONFIG_PPC64
138
+ #ifdef CONFIG_PPC32
139
+ .got1 : AT(ADDR(.got1) - LOAD_OFFSET) {
140
+ *(.got1)
141
+ }
142
+ .got2 : AT(ADDR(.got2) - LOAD_OFFSET) {
143
+ __got2_start = .;
144
+ *(.got2)
145
+ __got2_end = .;
146
+ }
147
+ #else /* CONFIG_PPC32 */
147
148
SOFT_MASK_TABLE(8 )
148
149
RESTART_TABLE(8 )
149
150
@@ -194,7 +195,7 @@ SECTIONS
194
195
*(__rfi_flush_fixup)
195
196
__stop___rfi_flush_fixup = .;
196
197
}
197
- #endif /* CONFIG_PPC64 */
198
+ #endif /* CONFIG_PPC32 */
198
199
199
200
#ifdef CONFIG_PPC_BARRIER_NOSPEC
200
201
. = ALIGN(8 );
You can’t perform that action at this time.
0 commit comments