More cleanup of stubs for powerpc64le-darwin* which does not exist.

Only powerpc64-darwin (BigEndian, no suffix) exists.
https://github.com/upx/upx/issues/596
This commit is contained in:
John Reiser
2022-09-22 15:36:13 -07:00
committed by Markus F.X.J. Oberhumer
parent 38a1d3179b
commit d0a52bd483
16 changed files with 1860 additions and 2351 deletions
-52
View File
@@ -1,52 +0,0 @@
file format elf64-powerpcle
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 MACOS000 00000008 0000000000000000 0000000000000000 00000040 2**0 CONTENTS, RELOC, READONLY
1 NRV_HEAD 00000000 0000000000000000 0000000000000000 00000048 2**0 CONTENTS, READONLY
2 NRV2E 00000154 0000000000000000 0000000000000000 00000048 2**0 CONTENTS, RELOC, READONLY
3 NRV2D 00000144 0000000000000000 0000000000000000 0000019c 2**0 CONTENTS, RELOC, READONLY
4 NRV2B 000000f8 0000000000000000 0000000000000000 000002e0 2**0 CONTENTS, RELOC, READONLY
5 LZMA_ELF00 00000094 0000000000000000 0000000000000000 000003d8 2**0 CONTENTS, RELOC, READONLY
6 LZMA_DEC30 00000028 0000000000000000 0000000000000000 0000046c 2**0 CONTENTS, READONLY
7 LZMA_DEC10 00000bb8 0000000000000000 0000000000000000 00000494 2**0 CONTENTS, READONLY
8 LZMA_DEC20 00000c74 0000000000000000 0000000000000000 0000104c 2**0 CONTENTS, READONLY
9 NRV_TAIL 0000001c 0000000000000000 0000000000000000 00001cc0 2**0 CONTENTS, READONLY
10 CFLUSH 00000024 0000000000000000 0000000000000000 00001cdc 2**0 CONTENTS, READONLY
11 ELFMAINY 00000000 0000000000000000 0000000000000000 00001d00 2**0 CONTENTS, READONLY
12 ELFMAINZ 000002e8 0000000000000000 0000000000000000 00001d00 2**0 CONTENTS, READONLY
SYMBOL TABLE:
0000000000000000 l d LZMA_DEC30 0000000000000000 LZMA_DEC30
0000000000000000 l d NRV_TAIL 0000000000000000 NRV_TAIL
0000000000000000 l d ELFMAINZ 0000000000000000 ELFMAINZ
0000000000000000 l d MACOS000 0000000000000000 MACOS000
0000000000000000 l d NRV_HEAD 0000000000000000 NRV_HEAD
0000000000000000 l d NRV2E 0000000000000000 NRV2E
0000000000000000 l d NRV2D 0000000000000000 NRV2D
0000000000000000 l d NRV2B 0000000000000000 NRV2B
0000000000000000 l d LZMA_ELF00 0000000000000000 LZMA_ELF00
0000000000000000 l d LZMA_DEC10 0000000000000000 LZMA_DEC10
0000000000000000 l d LZMA_DEC20 0000000000000000 LZMA_DEC20
0000000000000000 l d CFLUSH 0000000000000000 CFLUSH
0000000000000000 l d ELFMAINY 0000000000000000 ELFMAINY
0000000000000000 g MACOS000 0000000000000000 _start
RELOCATION RECORDS FOR [MACOS000]:
OFFSET TYPE VALUE
0000000000000004 R_PPC64_REL24 ELFMAINZ+0x00000000000002e4
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
00000000000000c0 R_PPC64_REL14 NRV_TAIL
RELOCATION RECORDS FOR [NRV2D]:
OFFSET TYPE VALUE
00000000000000cc R_PPC64_REL14 NRV_TAIL
RELOCATION RECORDS FOR [NRV2B]:
OFFSET TYPE VALUE
0000000000000098 R_PPC64_REL14 NRV_TAIL
RELOCATION RECORDS FOR [LZMA_ELF00]:
OFFSET TYPE VALUE
0000000000000004 R_PPC64_REL14 LZMA_DEC30+0x0000000000000028
-52
View File
@@ -1,52 +0,0 @@
file format elf64-powerpcle
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 MACOS000 00000004 0000000000000000 0000000000000000 00000040 2**0 CONTENTS, RELOC, READONLY
1 NRV_HEAD 00000000 0000000000000000 0000000000000000 00000044 2**0 CONTENTS, READONLY
2 NRV2E 00000154 0000000000000000 0000000000000000 00000044 2**0 CONTENTS, RELOC, READONLY
3 NRV2D 00000144 0000000000000000 0000000000000000 00000198 2**0 CONTENTS, RELOC, READONLY
4 NRV2B 000000f8 0000000000000000 0000000000000000 000002dc 2**0 CONTENTS, RELOC, READONLY
5 LZMA_ELF00 00000094 0000000000000000 0000000000000000 000003d4 2**0 CONTENTS, RELOC, READONLY
6 LZMA_DEC30 00000028 0000000000000000 0000000000000000 00000468 2**0 CONTENTS, READONLY
7 LZMA_DEC10 00000bb8 0000000000000000 0000000000000000 00000490 2**0 CONTENTS, READONLY
8 LZMA_DEC20 00000c74 0000000000000000 0000000000000000 00001048 2**0 CONTENTS, READONLY
9 NRV_TAIL 0000001c 0000000000000000 0000000000000000 00001cbc 2**0 CONTENTS, READONLY
10 CFLUSH 00000024 0000000000000000 0000000000000000 00001cd8 2**0 CONTENTS, READONLY
11 ELFMAINY 00000000 0000000000000000 0000000000000000 00001cfc 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000058 0000000000000000 0000000000000000 00001cfc 2**0 CONTENTS, READONLY
SYMBOL TABLE:
0000000000000000 l d LZMA_DEC30 0000000000000000 LZMA_DEC30
0000000000000000 l d NRV_TAIL 0000000000000000 NRV_TAIL
0000000000000000 l d ELFMAINZ 0000000000000000 ELFMAINZ
0000000000000000 l d MACOS000 0000000000000000 MACOS000
0000000000000000 l d NRV_HEAD 0000000000000000 NRV_HEAD
0000000000000000 l d NRV2E 0000000000000000 NRV2E
0000000000000000 l d NRV2D 0000000000000000 NRV2D
0000000000000000 l d NRV2B 0000000000000000 NRV2B
0000000000000000 l d LZMA_ELF00 0000000000000000 LZMA_ELF00
0000000000000000 l d LZMA_DEC10 0000000000000000 LZMA_DEC10
0000000000000000 l d LZMA_DEC20 0000000000000000 LZMA_DEC20
0000000000000000 l d CFLUSH 0000000000000000 CFLUSH
0000000000000000 l d ELFMAINY 0000000000000000 ELFMAINY
0000000000000000 g MACOS000 0000000000000000 _start
RELOCATION RECORDS FOR [MACOS000]:
OFFSET TYPE VALUE
0000000000000000 R_PPC64_REL24 ELFMAINZ+0x0000000000000048
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
00000000000000c0 R_PPC64_REL14 NRV_TAIL
RELOCATION RECORDS FOR [NRV2D]:
OFFSET TYPE VALUE
00000000000000cc R_PPC64_REL14 NRV_TAIL
RELOCATION RECORDS FOR [NRV2B]:
OFFSET TYPE VALUE
0000000000000098 R_PPC64_REL14 NRV_TAIL
RELOCATION RECORDS FOR [LZMA_ELF00]:
OFFSET TYPE VALUE
0000000000000004 R_PPC64_REL14 LZMA_DEC30+0x0000000000000028
-344
View File
@@ -1,344 +0,0 @@
Memory Configuration
Name Origin Length Attributes
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
TARGET(elf64-powerpcle)
LOAD tmp/powerpc64le-darwin.macho-fold.o
LOAD tmp/powerpc64le-darwin.macho-main.o
[!provide] PROVIDE (__executable_start, 0x8048000)
0x0000000008048000 . = (0x8048000 + SIZEOF_HEADERS)
.interp
*(.interp)
.note.gnu.build-id
*(.note.gnu.build-id)
.hash
*(.hash)
.gnu.hash
*(.gnu.hash)
.dynsym
*(.dynsym)
.dynstr
*(.dynstr)
.gnu.version
*(.gnu.version)
.gnu.version_d
*(.gnu.version_d)
.gnu.version_r
*(.gnu.version_r)
.rel.dyn
*(.rel.init)
*(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
*(.rel.fini)
*(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
*(.rel.data.rel.ro .rel.data.rel.ro.* .rel.gnu.linkonce.d.rel.ro.*)
*(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
*(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
*(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
*(.rel.ctors)
*(.rel.dtors)
*(.rel.got)
*(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
*(.rel.ifunc)
.rel.plt 0x0000000008048000 0x0
*(.rel.plt)
[!provide] PROVIDE (__rel_iplt_start, .)
*(.rel.iplt)
[!provide] PROVIDE (__rel_iplt_end, .)
.init
*(SORT(.init))
.plt
*(.plt)
*(.iplt)
.plt.got
*(.plt.got)
.text 0x0000000008048000 0x92c
*(.text.unlikely .text.*_unlikely .text.unlikely.*)
*(.text.exit .text.exit.*)
*(.text.startup .text.startup.*)
*(.text.hot .text.hot.*)
*(.text .stub .text.* .gnu.linkonce.t.*)
.text 0x0000000008048000 0x1dc tmp/powerpc64le-darwin.macho-fold.o
0x0000000008048000 _start
0x00000000080480e8 pread
0x00000000080480f8 mmap
0x0000000008048110 exit
0x0000000008048118 read
0x0000000008048120 open
0x0000000008048128 close
0x0000000008048130 mprotect
0x0000000008048138 _savegpr0_14
0x000000000804813c _savegpr0_15
0x0000000008048140 _savegpr0_16
0x0000000008048144 _savegpr0_17
0x0000000008048148 _savegpr0_18
0x000000000804814c _savegpr0_19
0x0000000008048150 _savegpr0_20
0x0000000008048154 _savegpr0_21
0x0000000008048158 _savegpr0_22
0x000000000804815c _savegpr0_23
0x0000000008048160 _savegpr0_24
0x0000000008048164 _savegpr0_25
0x0000000008048168 _savegpr0_26
0x000000000804816c _savegpr0_27
0x0000000008048170 _savegpr0_28
0x0000000008048174 _savegpr0_29
0x0000000008048188 _restgpr0_14
0x000000000804818c _restgpr0_15
0x0000000008048190 _restgpr0_16
0x0000000008048194 _restgpr0_17
0x0000000008048198 _restgpr0_18
0x000000000804819c _restgpr0_19
0x00000000080481a0 _restgpr0_20
0x00000000080481a4 _restgpr0_21
0x00000000080481a8 _restgpr0_22
0x00000000080481ac _restgpr0_23
0x00000000080481b0 _restgpr0_24
0x00000000080481b4 _restgpr0_25
0x00000000080481b8 _restgpr0_26
0x00000000080481bc _restgpr0_27
0x00000000080481c0 _restgpr0_28
0x00000000080481c4 _restgpr0_29
.text 0x00000000080481dc 0x750 tmp/powerpc64le-darwin.macho-main.o
*(.gnu.warning)
.fini
*(SORT(.fini))
[!provide] PROVIDE (__etext, .)
[!provide] PROVIDE (_etext, .)
[!provide] PROVIDE (etext, .)
.rodata
*(.rodata .rodata.* .gnu.linkonce.r.*)
.rodata1
*(.rodata1)
.eh_frame_hdr
*(.eh_frame_hdr)
*(.eh_frame_entry .eh_frame_entry.*)
.eh_frame
*(.eh_frame)
*(.eh_frame.*)
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
.gnu_extab
*(.gnu_extab*)
.exception_ranges
*(.exception_ranges .exception_ranges*)
0x000000000804992c . = DATA_SEGMENT_ALIGN (0x1000, 0x1000)
.eh_frame
*(.eh_frame)
*(.eh_frame.*)
.gnu_extab
*(.gnu_extab)
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
.exception_ranges
*(.exception_ranges .exception_ranges*)
.tdata
*(.tdata .tdata.* .gnu.linkonce.td.*)
.tbss
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x000000000804992c 0x0
[!provide] PROVIDE (__preinit_array_start, .)
*(.preinit_array)
[!provide] PROVIDE (__preinit_array_end, .)
.init_array 0x000000000804992c 0x0
[!provide] PROVIDE (__init_array_start, .)
*(SORT(.init_array.*) SORT(.ctors.*))
*(.init_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .ctors)
[!provide] PROVIDE (__init_array_end, .)
.fini_array 0x000000000804992c 0x0
[!provide] PROVIDE (__fini_array_start, .)
*(SORT(.fini_array.*) SORT(.dtors.*))
*(.fini_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .dtors)
[!provide] PROVIDE (__fini_array_end, .)
.ctors
*crtbegin.o(.ctors)
*crtbegin?.o(.ctors)
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors)
*(SORT(.ctors.*))
*(.ctors)
.dtors
*crtbegin.o(.dtors)
*crtbegin?.o(.dtors)
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors)
*(SORT(.dtors.*))
*(.dtors)
.jcr
*(.jcr)
.data.rel.ro
*(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*)
*(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*)
.dynamic
*(.dynamic)
.got
*(.got)
*(.igot)
0x000000000804992c . = DATA_SEGMENT_RELRO_END (., (SIZEOF (.got.plt) >= 0xc)?0xc:0x0)
.got.plt 0x000000000804992c 0x0
*(.got.plt)
*(.igot.plt)
.data 0x000000000804992c 0x0
*(.data .data.* .gnu.linkonce.d.*)
.data 0x000000000804992c 0x0 tmp/powerpc64le-darwin.macho-fold.o
.data 0x000000000804992c 0x0 tmp/powerpc64le-darwin.macho-main.o
.toc 0x000000000804992c 0x0
.toc 0x000000000804992c 0x0 tmp/powerpc64le-darwin.macho-main.o
.opd 0x0000000008049930 0x40
.opd 0x0000000008049930 0x40 tmp/powerpc64le-darwin.macho-main.o
0x0000000008049960 upx_main
.data1
*(.data1)
0x0000000008049970 _edata = .
[!provide] PROVIDE (edata, .)
0x0000000008049970 . = .
0x0000000008049970 __bss_start = .
.bss 0x0000000008049970 0x0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x0000000008049970 0x0 tmp/powerpc64le-darwin.macho-fold.o
.bss 0x0000000008049970 0x0 tmp/powerpc64le-darwin.macho-main.o
*(COMMON)
0x0000000008049970 . = ALIGN ((. != 0x0)?0x4:0x1)
0x0000000008049970 . = ALIGN (0x4)
0x0000000008049970 . = SEGMENT_START ("ldata-segment", .)
0x0000000008049970 . = ALIGN (0x4)
0x0000000008049970 _end = .
[!provide] PROVIDE (end, .)
0x0000000008049970 . = DATA_SEGMENT_END (.)
.stab
*(.stab)
.stabstr
*(.stabstr)
.stab.excl
*(.stab.excl)
.stab.exclstr
*(.stab.exclstr)
.stab.index
*(.stab.index)
.stab.indexstr
*(.stab.indexstr)
.comment
*(.comment)
.debug
*(.debug)
.line
*(.line)
.debug_srcinfo
*(.debug_srcinfo)
.debug_sfnames
*(.debug_sfnames)
.debug_aranges
*(.debug_aranges)
.debug_pubnames
*(.debug_pubnames)
.debug_info
*(.debug_info .gnu.linkonce.wi.*)
.debug_abbrev
*(.debug_abbrev)
.debug_line
*(.debug_line .debug_line.* .debug_line_end)
.debug_frame
*(.debug_frame)
.debug_str
*(.debug_str)
.debug_loc
*(.debug_loc)
.debug_macinfo
*(.debug_macinfo)
.debug_weaknames
*(.debug_weaknames)
.debug_funcnames
*(.debug_funcnames)
.debug_typenames
*(.debug_typenames)
.debug_varnames
*(.debug_varnames)
.debug_pubtypes
*(.debug_pubtypes)
.debug_ranges
*(.debug_ranges)
.debug_macro
*(.debug_macro)
.gnu.attributes
*(.gnu.attributes)
/DISCARD/
*(.note.GNU-stack)
*(.gnu_debuglink)
*(.gnu.lto_*)
OUTPUT(tmp/powerpc64le-darwin.macho-fold.bin binary)