Searched refs:rela (Results 1 – 25 of 281) sorted by relevance
12345678910>>...12
4 ## Show that we emit .rela.bar and .rela.text when GC is disabled.7 # NOGC: .rela.text8 # NOGC: .rela.bar10 ## GC collects .bar section and we exclude .rela.bar from output. We keep11 ## .rela.text because we keep .text.15 # MSG: removing unused section {{.*}}.o:(.rela.bar)17 # GC-NOT: rela.bar18 # GC: rela.text19 # GC-NOT: rela.bar
6 # CHECK-NOT: Name: .rela.text7 # CHECK: Name: .rela.text8 # CHECK-NOT: Name: .rela.text21 - Name: .rela.text
8 # RELOC: .rela.dyn {12 # SEC: .rela.dyn RELA 100000d4 0000d4 00000c19 ## .rela.plt = 0x100000d4 = 65536*4096+21220 ## end(.rela.plt) = 0x100000d4+0xc = 65536*4096+224
7 # CHECK-NEXT: .rela.text9 # CHECK-NEXT: .rela.text._init11 # CHECK-NEXT: .rela.text._fini
5 # RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux %s -o %t-rela.o6 # 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
8 # RUN: ld.lld -shared -z rela %t.o -o %t1.so19 # RELA: .rela.dyn {24 # RELA-NEXT: .rela.plt {28 # RUN: ld.lld -shared -z rela -z rel %t.o -o %t2.so
22 CHECK: Name: .rela.text23 CHECK: Name: .rela.debug_info24 CHECK: Name: .rela.debug_addr25 CHECK: Name: .rela.debug_pubnames26 CHECK: Name: .rela.debug_pubtypes27 CHECK: Name: .rela.debug_frame28 CHECK: Name: .rela.debug_line
36 #STRIP: Name: .rela.text37 #STRIP: Name: .rela.debug_info38 #STRIP: Name: .rela.debug_addr39 #STRIP: Name: .rela.debug_pubnames40 #STRIP: Name: .rela.debug_pubtypes41 #STRIP: Name: .rela.debug_frame42 #STRIP: Name: .rela.debug_line
5 # RUN: --set-section-flags=.baz=alloc --set-section-flags=.rela.baz=alloc %t %t.alloc8 # RUN: --set-section-flags=.baz=load --set-section-flags=.rela.baz=load %t %t.load11 # RUN: --set-section-flags=.baz=noload --set-section-flags=.rela.baz=noload %t %t.noload14 # RUN: --set-section-flags=.baz=readonly --set-section-flags=.rela.baz=readonly %t %t.readonly17 # RUN: --set-section-flags=.baz=exclude --set-section-flags=.rela.baz=exclude %t %t.exclude20 # RUN: --set-section-flags=.baz=debug --set-section-flags=.rela.baz=debug %t %t.debug23 # RUN: --set-section-flags=.baz=code --set-section-flags=.rela.baz=code %t %t.code26 # RUN: --set-section-flags=.baz=data --set-section-flags=.rela.baz=data %t %t.data29 # RUN: --set-section-flags=.baz=rom --set-section-flags=.rela.baz=rom %t %t.rom32 # RUN: --set-section-flags=.baz=contents --set-section-flags=.rela.baz=contents %t %t.contents[all …]
4 ## 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 %t216 # DROP-LINK: [ 1] .rela.dyn RELA 0000000000000270 000040 000000 18 A 026 - Name: .rela.dyn
12 # CHECK-NOT: .rela.text17 # RUN: llvm-objcopy --strip-symbol=bar -R .rela.text %t %t221 # STRIPSYM-NOT: .rela.text37 - Name: .rela.text
40 - Name: .rela.data49 - Name: .rela.text89 # CHECK-NEXT: Section (5) .rela.data {92 # CHECK-NEXT: Section (6) .rela.text {
4 ## .rela.plt is a dynamic relocation section that has a connection11 # RUN: | FileCheck %s --implicit-check-not=".got.plt" --implicit-check-not=".rela.plt"20 - Name: .rela.plt
41 - Name: .rela.text49 - Name: .another.rela.text56 - Name: .rela.text268 - Name: .rela.rodata79 # 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:
11 # NOADJUST-NEXT: 3 .rela.debug_str 00000018 000000000000000013 # NOADJUST-NEXT: 5 .rela.data 00000018 000000000000000023 # ADJUST-NEXT: 3 .rela.debug_str 00000018 000000000000000025 # ADJUST-NEXT: 5 .rela.data 00000018 000000000000000055 # COMMON: 0000000000000000 <.rela.debug_str>:69 # COMMON: 0000000000000000 <.rela.data>:90 - Name: .rela.debug_str104 - Name: .rela.data
370 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()
6 ## Check that we remove the empty .rela.plt section even when it10 # CHECK-NOT: Name: .rela.plt21 .rela.plt : { *(.rela.plt) }: all
9 ## .rela.data is not listed, but don't error.16 # RUN: .rela.dyn : { *(.rela.dyn) } \
3 # RUN: yaml2obj --docnum=1 -DENCODE=LSB -DTYPE=SHT_RELA %s -o %t.le64.rela4 # RUN: llvm-readobj -r %t.le64.rela | FileCheck %s --check-prefix=LLVM-RELA645 # RUN: llvm-readelf -r %t.le64.rela | FileCheck %s --check-prefix=GNU-RELA6426 # RUN: yaml2obj --docnum=1 -DENCODE=MSB -DTYPE=SHT_RELA %s -o %t.be64.rela27 # RUN: llvm-readobj -r %t.be64.rela | FileCheck %s --check-prefix=LLVM-RELA6428 # RUN: llvm-readelf -r %t.be64.rela | FileCheck %s --check-prefix=GNU-RELA6482 # RUN: yaml2obj --docnum=2 -DENCODE=LSB -DTYPE=SHT_RELA %s -o %t.le32.rela83 # RUN: llvm-readobj -r %t.le32.rela | FileCheck %s --check-prefix=LLVM-RELA3284 # RUN: llvm-readelf -r %t.le32.rela | FileCheck %s --check-prefix=GNU-RELA32103 # RUN: yaml2obj --docnum=2 -DENCODE=MSB -DTYPE=SHT_RELA %s -o %t.be32.rela[all …]
8 # 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.text51 - Name: .rela.dyn68 LastSec: .rela.dyn
18 # CHECK-NEXT: .rela.text.foo30 # CHECK-NEXT: .rela.text.bar37 # GNU-NEXT: [ 4] .rela.text.foo41 # GNU-NEXT: [ 6] .rela.text.bar56 - SectionOrType: [[MEMBER1=.rela.text.foo]]66 - SectionOrType: .rela.text.bar70 - Name: .rela.text.foo77 - Name: .rela.text.bar111 # DUP-LLVM-NEXT: .rela.text.foo (4)124 # DUP-LLVM-NEXT: .rela.text.bar (6)[all …]
9 # RUN: llvm-objcopy -R .rela.text -R .rel.text %t.no_relocs %t.no_sec14 # 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
28 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_
34 [ 8] .rela.gnu.build.attributes..text.unlikely44 [ 8] .rela.gnu.build.attributes..text.unlikely52 [ 8] .rela.gnu.build.attributes..text.unlikely62 [ 8] .rela.gnu.build.attributes..text.unlikely132 [13] .rela.gnu.build.attributes.hot137 [16] .rela.gnu.build.attributes.unlikely
8 # CHECK-NEXT: .rela.alloc21 - Name: .rela.alloc30 - Name: .rela