[lld] r177991 - [ELF][Hexagon] Fixing failing test on Bots, few symbol names are available only in debug builds, dont check the symbol names
Shankar Easwaran
shankare at codeaurora.org
Mon Mar 25 21:01:26 PDT 2013
Author: shankare
Date: Mon Mar 25 23:01:26 2013
New Revision: 177991
URL: http://llvm.org/viewvc/llvm-project?rev=177991&view=rev
Log:
[ELF][Hexagon] Fixing failing test on Bots, few symbol names are available only in debug builds, dont check the symbol names
Modified:
lld/trunk/test/elf/Hexagon/dynlib-gotoff.test
Modified: lld/trunk/test/elf/Hexagon/dynlib-gotoff.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Hexagon/dynlib-gotoff.test?rev=177991&r1=177990&r2=177991&view=diff
==============================================================================
--- lld/trunk/test/elf/Hexagon/dynlib-gotoff.test (original)
+++ lld/trunk/test/elf/Hexagon/dynlib-gotoff.test Mon Mar 25 23:01:26 2013
@@ -6,7 +6,6 @@ RUN: FileCheck -check-prefix=CHECKGOTPLT
CHECKGOTPLT: type: got
CHECKGOTPLT: content: [ 00, 00, 00, 00, 00, 00, 00, 00 ]
CHECKGOTPLT: alignment: 2^3
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .got
CHECKGOTPLT: permissions: rw-
CHECKGOTPLT: references:
@@ -17,7 +16,6 @@ CHECKGOTPLT: target: c
CHECKGOTPLT: type: got
CHECKGOTPLT: content: [ 00, 00, 00, 00, 00, 00, 00, 00 ]
CHECKGOTPLT: alignment: 2^3
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .got
CHECKGOTPLT: permissions: rw-
CHECKGOTPLT: references:
@@ -28,7 +26,6 @@ CHECKGOTPLT: target: sha
CHECKGOTPLT: type: got
CHECKGOTPLT: content: [ 00, 00, 00, 00, 00, 00, 00, 00 ]
CHECKGOTPLT: alignment: 2^3
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .got.plt
CHECKGOTPLT: permissions: rw-
CHECKGOTPLT: references:
@@ -37,12 +34,11 @@ CHECKGOTPLT: offset: 0
CHECKGOTPLT: target: fn
CHECKGOTPLT: - kind: R_HEX_32
CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: .PLT0
+ target: .PLT0
- name: __got_fn1
CHECKGOTPLT: type: got
CHECKGOTPLT: content: [ 00, 00, 00, 00, 00, 00, 00, 00 ]
CHECKGOTPLT: alignment: 2^3
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .got.plt
CHECKGOTPLT: permissions: rw-
CHECKGOTPLT: references:
@@ -51,12 +47,11 @@ CHECKGOTPLT: offset: 0
CHECKGOTPLT: target: fn1
CHECKGOTPLT: - kind: R_HEX_32
CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: .PLT0
+ target: .PLT0
- name: __got_fn2
CHECKGOTPLT: type: got
CHECKGOTPLT: content: [ 00, 00, 00, 00, 00, 00, 00, 00 ]
CHECKGOTPLT: alignment: 2^3
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .got.plt
CHECKGOTPLT: permissions: rw-
CHECKGOTPLT: references:
@@ -65,10 +60,9 @@ CHECKGOTPLT: offset: 0
CHECKGOTPLT: target: fn2
CHECKGOTPLT: - kind: R_HEX_32
CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: .PLT0
+ target: .PLT0
CHECKGOTPLT: - name: .text
CHECKGOTPLT: alignment: 2^2
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .text
CHECKGOTPLT: references:
CHECKGOTPLT: - kind: <unknown>
@@ -78,28 +72,12 @@ CHECKGOTPLT: - name: fn2
CHECKGOTPLT: scope: global
CHECKGOTPLT: content: [ 00, C0, 9D, A0, 00, C0, 00, 78, 1E, C0, 1E, 96 ]
CHECKGOTPLT: alignment: 2^2
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .text
-CHECKGOTPLT: references:
-CHECKGOTPLT: - kind: <unknown>
-CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: .text
-CHECKGOTPLT: - kind: <unknown>
-CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: fn1
CHECKGOTPLT: - name: fn1
CHECKGOTPLT: scope: global
CHECKGOTPLT: content: [ 00, C0, 9D, A0, 00, C0, 00, 78, 1E, C0, 1E, 96 ]
CHECKGOTPLT: alignment: 2^2
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .text
-CHECKGOTPLT: references:
-CHECKGOTPLT: - kind: <unknown>
-CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: fn2
-CHECKGOTPLT: - kind: <unknown>
-CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: fn
CHECKGOTPLT: - name: fn
CHECKGOTPLT: scope: global
CHECKGOTPLT: content: [ 01, C0, 9D, A0, 01, D8, 9D, A1, 00, 40, 00, 00,
@@ -110,7 +88,6 @@ CHECKGOTPLT: 0A, C
CHECKGOTPLT: 14, C0, 40, 3C, 00, C0, 00, 78, 38, C0, 9D, 91,
CHECKGOTPLT: 1E, C0, 1E, 96 ]
CHECKGOTPLT: alignment: 2^2
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .text
CHECKGOTPLT: references:
CHECKGOTPLT: - kind: R_HEX_B32_PCREL_X
@@ -147,18 +124,11 @@ CHECKGOTPLT: offset: 52
CHECKGOTPLT: - kind: R_HEX_GOT_11_X
CHECKGOTPLT: offset: 56
target: __got_shankar
-CHECKGOTPLT: - kind: <unknown>
-CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: fn1
-CHECKGOTPLT: - kind: <unknown>
-CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: fn3
CHECKGOTPLT: - name: fn3
CHECKGOTPLT: scope: global
CHECKGOTPLT: content: [ 00, C0, 9D, A0, 00, C0, 00, 5A, 00, C0, 00, 5A,
CHECKGOTPLT: 00, C0, 00, 5A, 00, C0, 00, 78, 1E, C0, 1E, 96 ]
CHECKGOTPLT: alignment: 2^2
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .text
CHECKGOTPLT: references:
CHECKGOTPLT: - kind: R_HEX_B22_PCREL
@@ -170,16 +140,12 @@ CHECKGOTPLT: offset: 8
CHECKGOTPLT: - kind: R_HEX_B22_PCREL
CHECKGOTPLT: offset: 12
target: __plt_fn2
-CHECKGOTPLT: - kind: <unknown>
-CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: fn
- name: .PLT0
CHECKGOTPLT: type: stub
CHECKGOTPLT: content: [ 00, 40, 00, 00, 1C, C0, 49, 6A, 0E, 42, 9C, E2,
CHECKGOTPLT: 4F, 40, 9C, 91, 3C, C0, 9C, 91, 0E, 42, 0E, 8C,
CHECKGOTPLT: 00, C0, 9C, 52 ]
CHECKGOTPLT: alignment: 2^4
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .plt
CHECKGOTPLT: references:
CHECKGOTPLT: - kind: R_HEX_B32_PCREL_X
@@ -193,7 +159,6 @@ CHECKGOTPLT: type: stub
CHECKGOTPLT: content: [ 00, 40, 00, 00, 0E, C0, 49, 6A, 1C, C0, 8E, 91,
CHECKGOTPLT: 00, C0, 9C, 52 ]
CHECKGOTPLT: alignment: 2^4
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .plt
CHECKGOTPLT: references:
CHECKGOTPLT: - kind: R_HEX_B32_PCREL_X
@@ -208,7 +173,6 @@ CHECKGOTPLT: type: stub
CHECKGOTPLT: content: [ 00, 40, 00, 00, 0E, C0, 49, 6A, 1C, C0, 8E, 91,
CHECKGOTPLT: 00, C0, 9C, 52 ]
CHECKGOTPLT: alignment: 2^4
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .plt
CHECKGOTPLT: references:
CHECKGOTPLT: - kind: R_HEX_B32_PCREL_X
@@ -223,7 +187,6 @@ CHECKGOTPLT: type: stub
CHECKGOTPLT: content: [ 00, 40, 00, 00, 0E, C0, 49, 6A, 1C, C0, 8E, 91,
CHECKGOTPLT: 00, C0, 9C, 52 ]
CHECKGOTPLT: alignment: 2^4
-CHECKGOTPLT: section-choice: custom-required
CHECKGOTPLT: section-name: .plt
CHECKGOTPLT: references:
CHECKGOTPLT: - kind: R_HEX_B32_PCREL_X
More information about the llvm-commits
mailing list