* [COMMITTED][AArch64] Cleanup whitespace in aarch64.c
@ 2015-08-19 13:06 Jiong Wang
0 siblings, 0 replies; only message in thread
From: Jiong Wang @ 2015-08-19 13:06 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
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
[-- Attachment #2: k.patch --]
[-- Type: text/x-diff, Size: 1433 bytes --]
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-19 13:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 13:06 [COMMITTED][AArch64] Cleanup whitespace in aarch64.c Jiong Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).