[AArch64] Cleanup whitespace in aarch64.c
2015-08-19 Jiong Wang <jiong.wang@arm.com> gcc/ * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Replace whitespaces with tab. From-SVN: r227005
This commit is contained in:
parent
4a5dc5994e
commit
a3957742f3
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2015-08-19 Jiong Wang <jiong.wang@arm.com>
|
||||||
|
|
||||||
|
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Replace
|
||||||
|
whitespaces with tab.
|
||||||
|
|
||||||
2015-08-13 Florian Weimer <fweimer@redhat.com>
|
2015-08-13 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* prj.adb (For_Every_Project_Imported_Context.Recursive_Check_Context):
|
* prj.adb (For_Every_Project_Imported_Context.Recursive_Check_Context):
|
||||||
|
|
|
@ -931,7 +931,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
|
||||||
The generate instruction sequence for accessing global variable
|
The generate instruction sequence for accessing global variable
|
||||||
is:
|
is:
|
||||||
|
|
||||||
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym]
|
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym]
|
||||||
|
|
||||||
Only one instruction needed. But we must initialize
|
Only one instruction needed. But we must initialize
|
||||||
pic_offset_table_rtx properly. We generate initialize insn for
|
pic_offset_table_rtx properly. We generate initialize insn for
|
||||||
|
@ -940,12 +940,12 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
|
||||||
The final instruction sequences will look like the following
|
The final instruction sequences will look like the following
|
||||||
for multiply global variables access.
|
for multiply global variables access.
|
||||||
|
|
||||||
adrp pic_offset_table_rtx, _GLOBAL_OFFSET_TABLE_
|
adrp pic_offset_table_rtx, _GLOBAL_OFFSET_TABLE_
|
||||||
|
|
||||||
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym1]
|
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym1]
|
||||||
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym2]
|
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym2]
|
||||||
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym3]
|
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym3]
|
||||||
... */
|
... */
|
||||||
|
|
||||||
rtx s = gen_rtx_SYMBOL_REF (Pmode, "_GLOBAL_OFFSET_TABLE_");
|
rtx s = gen_rtx_SYMBOL_REF (Pmode, "_GLOBAL_OFFSET_TABLE_");
|
||||||
crtl->uses_pic_offset_table = 1;
|
crtl->uses_pic_offset_table = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue