diff --git a/lld/test/elf/Hexagon/dynlib-gotoff.test b/lld/test/elf/Hexagon/dynlib-gotoff.test index 07308deab345..5a25ca327bd3 100644 --- a/lld/test/elf/Hexagon/dynlib-gotoff.test +++ b/lld/test/elf/Hexagon/dynlib-gotoff.test @@ -6,7 +6,6 @@ RUN: FileCheck -check-prefix=CHECKGOTPLT %s < %t 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: shankar 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: @@ -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: -CHECKGOTPLT: offset: 0 -CHECKGOTPLT: target: .text -CHECKGOTPLT: - kind: -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: -CHECKGOTPLT: offset: 0 -CHECKGOTPLT: target: fn2 -CHECKGOTPLT: - kind: -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, C0, 40, 3C, 00, 40, 00, 00, 00, C0, 98, 9 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: -CHECKGOTPLT: offset: 0 -CHECKGOTPLT: target: fn1 -CHECKGOTPLT: - kind: -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: -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