This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[COMMITTED][AArch64] Cleanup whitespace in aarch64.c
- From: Jiong Wang <jiong dot wang at arm dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 19 Aug 2015 13:51:53 +0100
- Subject: [COMMITTED][AArch64] Cleanup whitespace in aarch64.c
- Authentication-results: sourceware.org; auth=none
These whitespaces are introduced by my commit r225017. Those whitespaces
should be replaced with tab according to GNU coding style.
Commited as obvisous (r227005), after cross build aarch64-elf OK.
2015-08-19 Jiong Wang <jiong.wang@arm.com>
gcc/
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
Replace whitespaces with tab.
--
Regards,
Jiong
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index aa268ae..0f3be3c 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -931,7 +931,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
The generate instruction sequence for accessing global variable
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
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
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:sym2]
- ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym3]
- ... */
+ 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:sym3]
+ ... */
rtx s = gen_rtx_SYMBOL_REF (Pmode, "_GLOBAL_OFFSET_TABLE_");
crtl->uses_pic_offset_table = 1;