diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-08-19 13:02:19 +0000 |
---|---|---|
committer | Jiong Wang <jiwang@gcc.gnu.org> | 2015-08-19 13:02:19 +0000 |
commit | a3957742f3799dc1c9867ed6ad893c3b466e9307 (patch) | |
tree | acc5c26fd259a72d2c8a9c0160b8016e57304430 /gcc | |
parent | 4a5dc5994ead847874e87adb4a9904eaae3e3562 (diff) | |
download | gcc-a3957742f3799dc1c9867ed6ad893c3b466e9307.zip gcc-a3957742f3799dc1c9867ed6ad893c3b466e9307.tar.gz gcc-a3957742f3799dc1c9867ed6ad893c3b466e9307.tar.bz2 |
[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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4d5a3e..efee122 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> * prj.adb (For_Every_Project_Imported_Context.Recursive_Check_Context): 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; |