Home
last modified time | relevance | path

Searched refs:rela (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/external/llvm-project/lld/test/ELF/
Demit-relocs-gc.s4 ## Show that we emit .rela.bar and .rela.text when GC is disabled.
7 # NOGC: .rela.text
8 # NOGC: .rela.bar
10 ## GC collects .bar section and we exclude .rela.bar from output. We keep
11 ## .rela.text because we keep .text.
15 # MSG: removing unused section {{.*}}.o:(.rela.bar)
17 # GC-NOT: rela.bar
18 # GC: rela.text
19 # GC-NOT: rela.bar
Dshf-info-link.test6 # CHECK-NOT: Name: .rela.text
7 # CHECK: Name: .rela.text
8 # CHECK-NOT: Name: .rela.text
21 - Name: .rela.text
Dppc32-gnu-ifunc.s8 # RELOC: .rela.dyn {
12 # SEC: .rela.dyn RELA 100000d4 0000d4 00000c
19 ## .rela.plt = 0x100000d4 = 65536*4096+212
20 ## end(.rela.plt) = 0x100000d4+0xc = 65536*4096+224
Drelocatable-sections.s7 # CHECK-NEXT: .rela.text
9 # CHECK-NEXT: .rela.text._init
11 # CHECK-NEXT: .rela.text._fini
Drel-addend-with-rela-input.s5 # RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux %s -o %t-rela.o
6 # RUN: llvm-readobj -h -S --section-data -r %t-rela.o \
18 # INPUT-RELA-NEXT: Section ({{.+}}) .rela.data {
26 # RUN: ld.lld -shared -o %t.so %t-rela.o -verbose
Dx86-64-zrel-zrela.s8 # RUN: ld.lld -shared -z rela %t.o -o %t1.so
19 # RELA: .rela.dyn {
24 # RELA-NEXT: .rela.plt {
28 # RUN: ld.lld -shared -z rela -z rel %t.o -o %t2.so
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
Dstrip-dwo-inplace.test22 CHECK: Name: .rela.text
23 CHECK: Name: .rela.debug_info
24 CHECK: Name: .rela.debug_addr
25 CHECK: Name: .rela.debug_pubnames
26 CHECK: Name: .rela.debug_pubtypes
27 CHECK: Name: .rela.debug_frame
28 CHECK: Name: .rela.debug_line
Ddrawf-fission.test36 #STRIP: Name: .rela.text
37 #STRIP: Name: .rela.debug_info
38 #STRIP: Name: .rela.debug_addr
39 #STRIP: Name: .rela.debug_pubnames
40 #STRIP: Name: .rela.debug_pubtypes
41 #STRIP: Name: .rela.debug_frame
42 #STRIP: Name: .rela.debug_line
Dset-section-flags.test5 # RUN: --set-section-flags=.baz=alloc --set-section-flags=.rela.baz=alloc %t %t.alloc
8 # RUN: --set-section-flags=.baz=load --set-section-flags=.rela.baz=load %t %t.load
11 # RUN: --set-section-flags=.baz=noload --set-section-flags=.rela.baz=noload %t %t.noload
14 # RUN: --set-section-flags=.baz=readonly --set-section-flags=.rela.baz=readonly %t %t.readonly
17 # RUN: --set-section-flags=.baz=exclude --set-section-flags=.rela.baz=exclude %t %t.exclude
20 # RUN: --set-section-flags=.baz=debug --set-section-flags=.rela.baz=debug %t %t.debug
23 # RUN: --set-section-flags=.baz=code --set-section-flags=.rela.baz=code %t %t.code
26 # RUN: --set-section-flags=.baz=data --set-section-flags=.rela.baz=data %t %t.data
29 # RUN: --set-section-flags=.baz=rom --set-section-flags=.rela.baz=rom %t %t.rom
32 # RUN: --set-section-flags=.baz=contents --set-section-flags=.rela.baz=contents %t %t.contents
[all …]
Ddynrelocsec-remove-shlink-reference.test4 ## relocation section .rela.dyn still references it via sh_link field.
6 …ol table '.dynsym' cannot be removed because it is referenced by the relocation section '.rela.dyn'
9 # RUN: llvm-objcopy -R .dynsym -R .rela.dyn %t %t2
16 # DROP-LINK: [ 1] .rela.dyn RELA 0000000000000270 000040 000000 18 A 0
26 - Name: .rela.dyn
Dstrip-symbol-and-relocation.test12 # CHECK-NOT: .rela.text
17 # RUN: llvm-objcopy --strip-symbol=bar -R .rela.text %t %t2
21 # STRIPSYM-NOT: .rela.text
37 - Name: .rela.text
Dbasic-relocations.test40 - Name: .rela.data
49 - Name: .rela.text
89 # CHECK-NEXT: Section (5) .rela.data {
92 # CHECK-NEXT: Section (6) .rela.text {
Ddynrelocsec-remove-shinfo-reference.test4 ## .rela.plt is a dynamic relocation section that has a connection
11 # RUN: | FileCheck %s --implicit-check-not=".got.plt" --implicit-check-not=".rela.plt"
20 - Name: .rela.plt
/external/llvm-project/llvm/test/tools/llvm-objdump/X86/
Dsection-filter-relocs.test41 - Name: .rela.text
49 - Name: .another.rela.text
56 - Name: .rela.text2
68 - Name: .rela.rodata
79 # RUN: llvm-objdump -r %t.o --section=.another.rela.text --section=.rela.rodata \
89 # RUN: llvm-objdump -s %t.o --section=.text --section=.rela.text2 \
95 # CONTENTS: Contents of section .rela.text2:
Dadjust-vma.test11 # NOADJUST-NEXT: 3 .rela.debug_str 00000018 0000000000000000
13 # NOADJUST-NEXT: 5 .rela.data 00000018 0000000000000000
23 # ADJUST-NEXT: 3 .rela.debug_str 00000018 0000000000000000
25 # ADJUST-NEXT: 5 .rela.data 00000018 0000000000000000
55 # COMMON: 0000000000000000 <.rela.debug_str>:
69 # COMMON: 0000000000000000 <.rela.data>:
90 - Name: .rela.debug_str
104 - Name: .rela.data
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h370 static unsigned RelocType32(const ELFRela &rela) { in RelocType32()
371 return rela.r_info & 0x0ff; in RelocType32()
375 static unsigned RelocType64(const ELFRela &rela) { in RelocType64()
376 return rela.r_info & 0xffffffff; in RelocType64()
381 static unsigned RelocSymbol32(const ELFRela &rela) { in RelocSymbol32()
382 return rela.r_info >> 8; in RelocSymbol32()
387 static unsigned RelocSymbol64(const ELFRela &rela) { in RelocSymbol64()
388 return rela.r_info >> 32; in RelocSymbol64()
/external/llvm-project/lld/test/ELF/linkerscript/
Dempty-relaplt-dyntags.test6 ## Check that we remove the empty .rela.plt section even when it
10 # CHECK-NOT: Name: .rela.plt
21 .rela.plt : { *(.rela.plt) }: all
Demit-reloc.s9 ## .rela.data is not listed, but don't error.
16 # RUN: .rela.dyn : { *(.rela.dyn) } \
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dreloc-addends.test3 # RUN: yaml2obj --docnum=1 -DENCODE=LSB -DTYPE=SHT_RELA %s -o %t.le64.rela
4 # RUN: llvm-readobj -r %t.le64.rela | FileCheck %s --check-prefix=LLVM-RELA64
5 # RUN: llvm-readelf -r %t.le64.rela | FileCheck %s --check-prefix=GNU-RELA64
26 # RUN: yaml2obj --docnum=1 -DENCODE=MSB -DTYPE=SHT_RELA %s -o %t.be64.rela
27 # RUN: llvm-readobj -r %t.be64.rela | FileCheck %s --check-prefix=LLVM-RELA64
28 # RUN: llvm-readelf -r %t.be64.rela | FileCheck %s --check-prefix=GNU-RELA64
82 # RUN: yaml2obj --docnum=2 -DENCODE=LSB -DTYPE=SHT_RELA %s -o %t.le32.rela
83 # RUN: llvm-readobj -r %t.le32.rela | FileCheck %s --check-prefix=LLVM-RELA32
84 # RUN: llvm-readelf -r %t.le32.rela | FileCheck %s --check-prefix=GNU-RELA32
103 # RUN: yaml2obj --docnum=2 -DENCODE=MSB -DTYPE=SHT_RELA %s -o %t.be32.rela
[all …]
Dreloc-negative-addend-no-sym.test8 # REL: Relocation section '.rela.text' at offset {{.*}} contains 1 entries:
12 # REL-NEXT: Relocation section '.rela.dyn' at offset {{.*}} contains 1 entries:
30 - Name: .rela.text
51 - Name: .rela.dyn
68 LastSec: .rela.dyn
Dgroups.test18 # CHECK-NEXT: .rela.text.foo
30 # CHECK-NEXT: .rela.text.bar
37 # GNU-NEXT: [ 4] .rela.text.foo
41 # GNU-NEXT: [ 6] .rela.text.bar
56 - SectionOrType: [[MEMBER1=.rela.text.foo]]
66 - SectionOrType: .rela.text.bar
70 - Name: .rela.text.foo
77 - Name: .rela.text.bar
111 # DUP-LLVM-NEXT: .rela.text.foo (4)
124 # DUP-LLVM-NEXT: .rela.text.bar (6)
[all …]
Dno-relocs.test9 # RUN: llvm-objcopy -R .rela.text -R .rel.text %t.no_relocs %t.no_sec
14 # NO-RELOCS-LLVM-NEXT: Section (2) .rela.text {
20 # NO-RELOCS-GNU: Relocation section '.rela.text' at offset {{.*}} contains 0 entries:
40 - Name: .rela.text
/external/llvm/test/tools/llvm-readobj/
Delf-groups.test28 CHECK-NEXT: .rela.text._Z3fooIcEvT_ (11)
38 CHECK-NEXT: .rela.text._Z3fooIiEvT_ (13)
45 GNU-NEXT: [ 11] .rela.text._Z3fooIcEvT_
49 GNU-NEXT: [ 13] .rela.text._Z3fooIiEvT_
/external/elfutils/tests/
Drun-annobingroup.sh34 [ 8] .rela.gnu.build.attributes..text.unlikely
44 [ 8] .rela.gnu.build.attributes..text.unlikely
52 [ 8] .rela.gnu.build.attributes..text.unlikely
62 [ 8] .rela.gnu.build.attributes..text.unlikely
132 [13] .rela.gnu.build.attributes.hot
137 [16] .rela.gnu.build.attributes.unlikely
/external/llvm-project/llvm/test/tools/llvm-size/
Doutput-alloc.test8 # CHECK-NEXT: .rela.alloc
21 - Name: .rela.alloc
30 - Name: .rela

12345678910>>...12