mirror of
https://github.com/rui314/mold.git
synced 2024-12-26 18:02:30 +03:00
temporary
This commit is contained in:
parent
c4009e87fb
commit
5899278828
@ -1,4 +1,4 @@
|
|||||||
// RUN: mold -o %t.exe /usr/lib/x86_64-linux-gnu/crt1.o
|
// RUN: mold -o %t.exe /usr/lib/x86_64-linux-gnu/crt1.o \
|
||||||
// RUN: /usr/lib/x86_64-linux-gnu/crti.o \
|
// RUN: /usr/lib/x86_64-linux-gnu/crti.o \
|
||||||
// RUN: /usr/lib/gcc/x86_64-linux-gnu/9/crtbegin.o \
|
// RUN: /usr/lib/gcc/x86_64-linux-gnu/9/crtbegin.o \
|
||||||
// RUN: /home/ruiu/mold/test/Output/hello-dynamic.s.tmp.o \
|
// RUN: /home/ruiu/mold/test/Output/hello-dynamic.s.tmp.o \
|
||||||
@ -9,3 +9,27 @@
|
|||||||
// RUN: /lib/x86_64-linux-gnu/libc.so.6 \
|
// RUN: /lib/x86_64-linux-gnu/libc.so.6 \
|
||||||
// RUN: /usr/lib/x86_64-linux-gnu/libc_nonshared.a \
|
// RUN: /usr/lib/x86_64-linux-gnu/libc_nonshared.a \
|
||||||
// RUN: /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
// RUN: /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
||||||
|
// RUN: readelf --dynamic %t.exe | FileCheck %s
|
||||||
|
|
||||||
|
// CHECK: Dynamic section at offset 0x2068 contains 17 entries:
|
||||||
|
// CHECK: Tag Type Name/Value
|
||||||
|
// CHECK: 0x0000000000000007 (RELA) 0x2003a0
|
||||||
|
// CHECK: 0x0000000000000008 (RELASZ) 0 (bytes)
|
||||||
|
// CHECK: 0x0000000000000009 (RELAENT) 24 (bytes)
|
||||||
|
// CHECK: 0x0000000000000017 (JMPREL) 0x200370
|
||||||
|
// CHECK: 0x0000000000000002 (PLTRELSZ) 48 (bytes)
|
||||||
|
// CHECK: 0x0000000000000003 (PLTGOT) 0x202058
|
||||||
|
// CHECK: 0x0000000000000014 (PLTREL) RELA
|
||||||
|
// CHECK: 0x0000000000000006 (SYMTAB) 0x2003a0
|
||||||
|
// CHECK: 0x000000000000000b (SYMENT) 24 (bytes)
|
||||||
|
// CHECK: 0x0000000000000005 (STRTAB) 0x2003e8
|
||||||
|
// CHECK: 0x000000000000000a (STRSZ) 26 (bytes)
|
||||||
|
// CHECK: 0x0000000000000004 (HASH) 0x200404
|
||||||
|
// CHECK: 0x0000000000000019 (INIT_ARRAY) 0x202028
|
||||||
|
// CHECK: 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
|
||||||
|
// CHECK: 0x000000000000001a (FINI_ARRAY) 0x202020
|
||||||
|
// CHECK: 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
|
||||||
|
// CHECK: 0x0000000000000000 (NULL) 0x0
|
||||||
|
|
||||||
|
.globl main
|
||||||
|
main:
|
||||||
|
Loading…
Reference in New Issue
Block a user