|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
# arm_unaligned_reloc.sh -- test ARM unaligned static data relocations. |
|
|
|
|
|
|
|
# Copyright (C) 2011-2015 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2011-2014 Free Software Foundation, Inc. |
|
|
|
# Written by Doug Kwan <dougkwan@google.com> |
|
|
|
|
|
|
|
# This file is part of gold. |
|
|
|
@ -41,17 +41,17 @@ check() |
|
|
|
|
|
|
|
check arm_unaligned_reloc.stdout "^00009000 <x>:$" |
|
|
|
check arm_unaligned_reloc.stdout "^0000a001 <abs32>:$" |
|
|
|
check arm_unaligned_reloc.stdout "^ a001: 00009000 .*$" |
|
|
|
check arm_unaligned_reloc.stdout '^[ ]*a001:[ ]*00009001[ ].*$' |
|
|
|
check arm_unaligned_reloc.stdout "^0000a005 <rel32>:" |
|
|
|
check arm_unaligned_reloc.stdout "^ a005: ffffeffb .*$" |
|
|
|
check arm_unaligned_reloc.stdout "^[ ]*a005:[ ]*ffffeffc[ ].*$" |
|
|
|
check arm_unaligned_reloc.stdout "^0000a009 <abs16>:" |
|
|
|
check arm_unaligned_reloc.stdout "^ a009: 00009000 .*$" |
|
|
|
|
|
|
|
check arm_unaligned_reloc_r.stdout "^ 1: 00000000 .*$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*1: R_ARM_ABS32 .data.0$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^ 5: 00000000 .*$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*5: R_ARM_REL32 .data.0$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^ 9: 00000000 .*$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*9: R_ARM_ABS16 .data.0$" |
|
|
|
check arm_unaligned_reloc.stdout "^[ ]*a009:[ ]*00009001[ ].*$" |
|
|
|
|
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*1:[ ]*00000001[ ].*$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*1: R_ARM_ABS32[ ]*.data.0$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*5:[ ]*00000001[ ].*$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*5: R_ARM_REL32[ ]*.data.0$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*9:[ ]*00000001[ ].*$" |
|
|
|
check arm_unaligned_reloc_r.stdout "^[ ]*9: R_ARM_ABS16[ ]*.data.0$" |
|
|
|
|
|
|
|
exit 0 |
|
|
|
|