40 lines
1.4 KiB
Makefile
40 lines
1.4 KiB
Makefile
#source: dso-1.s
|
|
#as: --pic --no-underscore --march=v32 --em=criself
|
|
#ld: --shared -m crislinux
|
|
#objdump: -p -h
|
|
|
|
# Sanity check; just an empty GOT.
|
|
|
|
.*: file format elf32-cris
|
|
|
|
Program Header:
|
|
LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
|
|
filesz 0x0+188 memsz 0x0+188 flags r-x
|
|
LOAD off 0x0+188 vaddr 0x0+2188 paddr 0x0+2188 align 2\*\*13
|
|
filesz 0x0+64 memsz 0x0+78 flags rw-
|
|
DYNAMIC off 0x0+188 vaddr 0x0+2188 paddr 0x0+2188 align 2\*\*2
|
|
filesz 0x0+58 memsz 0x0+58 flags rw-
|
|
Dynamic Section:
|
|
HASH 0x94
|
|
STRTAB 0x15c
|
|
SYMTAB 0xcc
|
|
STRSZ 0x28
|
|
SYMENT 0x10
|
|
private flags = 2: \[v32\]
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 \.hash 0+38 0+94 0+94 0+94 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
|
1 \.dynsym 0+90 0+cc 0+cc 0+cc 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
|
2 \.dynstr 0+28 0+15c 0+15c 0+15c 2\*\*0
|
|
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
|
3 \.text 0+4 0+184 0+184 0+184 2\*\*0
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
4 \.dynamic 0+58 0+2188 0+2188 0+188 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
5 \.got 0+c 0+21e0 0+21e0 0+1e0 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
6 \.bss 0+14 0+21ec 0+21ec 0+1ec 2\*\*0
|
|
ALLOC
|