diff options
author | Jan Wen Voung <jvoung@google.com> | 2012-06-19 16:03:02 +0000 |
---|---|---|
committer | Jan Wen Voung <jvoung@google.com> | 2012-06-19 16:03:02 +0000 |
commit | c9a4e269d00dc9e2ba0c7b77721fa54cfb5a59fa (patch) | |
tree | c3fe8d0f7f42e0414c27c2571b5ab29b2933c896 /test/MC | |
parent | fe5b65827f20a61bef817c6421f32b7e05d65caf (diff) | |
download | external_llvm-c9a4e269d00dc9e2ba0c7b77721fa54cfb5a59fa.zip external_llvm-c9a4e269d00dc9e2ba0c7b77721fa54cfb5a59fa.tar.gz external_llvm-c9a4e269d00dc9e2ba0c7b77721fa54cfb5a59fa.tar.bz2 |
Have ARM ELF use correct reloc for "b" instr.
The condition code didn't actually matter for arm "b" instructions,
unlike "bl". It should just use the R_ARM_JUMP24 reloc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/elf-reloc-condcall.s | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/MC/ARM/elf-reloc-condcall.s b/test/MC/ARM/elf-reloc-condcall.s index dcc62d3..08b4ecc 100644 --- a/test/MC/ARM/elf-reloc-condcall.s +++ b/test/MC/ARM/elf-reloc-condcall.s @@ -4,6 +4,8 @@ bleq some_label bl some_label blx some_label + beq some_label + b some_label // OBJ: .rel.text // OBJ: 'r_offset', 0x00000000 @@ -18,6 +20,14 @@ // OBJ-NEXT: 'r_sym', 0x000004 // OBJ-NEXT: 'r_type', 0x1c +// OBJ: 'r_offset', 0x0000000c +// OBJ-NEXT: 'r_sym', 0x000004 +// OBJ-NEXT: 'r_type', 0x1d + +// OBJ: 'r_offset', 0x00000010 +// OBJ-NEXT: 'r_sym', 0x000004 +// OBJ-NEXT: 'r_type', 0x1d + // OBJ: .symtab // OBJ: Symbol 4 -// OBJ-NEXT: some_label
\ No newline at end of file +// OBJ-NEXT: some_label |