Compress shared libraries for mips and mipsel in ELF on Linux

modified:   p_lx_elf.cpp
	modified:   stub/Makefile
	new file:   stub/mips.r3000-linux.shlib-init.h
	new file:   stub/mipsel.r3000-linux.shlib-init.h
	new file:   stub/src/mips.r3000-linux.shlib-init.S
	new file:   stub/src/mipsel.r3000-linux.shlib-init.S
	new file:   stub/tmp/mips.r3000-linux.shlib-init.bin.dump
	new file:   stub/tmp/mipsel.r3000-linux.shlib-init.bin.dump
This commit is contained in:
John Reiser
2017-10-19 13:47:36 -07:00
parent ee008acfbd
commit 403b180b1d
8 changed files with 2040 additions and 8 deletions
@@ -0,0 +1,50 @@
file format elf32-bigmips
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 ELFMAINX 00000038 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 NRV2E 00000154 00000000 00000000 0000006c 2**0 CONTENTS, RELOC, READONLY
2 NRV2D 00000144 00000000 00000000 000001c0 2**0 CONTENTS, RELOC, READONLY
3 NRV2B 00000128 00000000 00000000 00000304 2**0 CONTENTS, RELOC, READONLY
4 LZMA_ELF00 0000009c 00000000 00000000 0000042c 2**0 CONTENTS, READONLY
5 LZMA_DEC20 00000ad8 00000000 00000000 000004c8 2**0 CONTENTS, READONLY
6 LZMA_DEC10 00000ad8 00000000 00000000 00000fa0 2**0 CONTENTS, READONLY
7 LZMA_DEC30 00000004 00000000 00000000 00001a78 2**0 CONTENTS, READONLY
8 NRV_HEAD 00000010 00000000 00000000 00001a7c 2**0 CONTENTS, READONLY
9 NRV_TAIL 00000010 00000000 00000000 00001a8c 2**0 CONTENTS, READONLY
10 CFLUSH 00000024 00000000 00000000 00001a9c 2**0 CONTENTS, READONLY
11 ELFMAINY 00000000 00000000 00000000 00001ac0 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000398 00000000 00000000 00001ac0 2**0 CONTENTS, READONLY
SYMBOL TABLE:
00000000 l d ELFMAINX 00000000 ELFMAINX
00000000 l d NRV_TAIL 00000000 NRV_TAIL
00000000 l d ELFMAINZ 00000000 ELFMAINZ
00000000 l d NRV2E 00000000 NRV2E
00000000 l d NRV2D 00000000 NRV2D
00000000 l d NRV2B 00000000 NRV2B
00000000 l d LZMA_ELF00 00000000 LZMA_ELF00
00000000 l d LZMA_DEC20 00000000 LZMA_DEC20
00000000 l d LZMA_DEC10 00000000 LZMA_DEC10
00000000 l d LZMA_DEC30 00000000 LZMA_DEC30
00000000 l d NRV_HEAD 00000000 NRV_HEAD
00000000 l d CFLUSH 00000000 CFLUSH
00000000 l d ELFMAINY 00000000 ELFMAINY
00000000 g O ELFMAINX 00000000 _start
00000000 g O ELFMAINY 00000000 end_decompress
RELOCATION RECORDS FOR [ELFMAINX]:
OFFSET TYPE VALUE
00000024 R_MIPS_LO16 ELFMAINX
0000002c R_MIPS_LO16 ELFMAINZ
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
0000007c R_MIPS_PC16 NRV_TAIL
RELOCATION RECORDS FOR [NRV2D]:
OFFSET TYPE VALUE
0000007c R_MIPS_PC16 NRV_TAIL
RELOCATION RECORDS FOR [NRV2B]:
OFFSET TYPE VALUE
00000064 R_MIPS_PC16 NRV_TAIL