stub: start arm renaming.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-09-22 10:52:26 +02:00
parent 65ea4117ca
commit d3419acada
6 changed files with 17 additions and 17 deletions
+8 -8
View File
@@ -129,7 +129,7 @@ STUBS += powerpc64le-linux.elf-entry.h
STUBS += powerpc64le-linux.elf-fold.h STUBS += powerpc64le-linux.elf-fold.h
STUBS += powerpc64le-linux.kernel.vmlinux-head.h STUBS += powerpc64le-linux.kernel.vmlinux-head.h
STUBS += powerpc64le-linux.kernel.vmlinux.h STUBS += powerpc64le-linux.kernel.vmlinux.h
STUBS += thumb-eabi-linux.shlib-init.h STUBS += arm.v5t-linux.shlib-init.h
endif endif
@@ -1413,17 +1413,17 @@ powerpc64le-linux.kernel.vmlinux-head.h : $(srcdir)/src/$$T.S
# /*********************************************************************** # /***********************************************************************
# // thumb-eabi-linux.shlib (arm.v5t) # // arm.v5t-linux.shlib (arm.v5t)
# ************************************************************************/ # ************************************************************************/
thumb-eabi-linux.shlib%.h : tc_list = thumb-eabi-linux.elf armel-eabi-linux.elf default arm.v5t-linux.shlib%.h : tc_list = arm.v5t-linux.elf armel-eabi-linux.elf default
thumb-eabi-linux.shlib%.h : tc_bfdname = elf32-littlearm arm.v5t-linux.shlib%.h : tc_bfdname = elf32-littlearm
tc.armel-eabi-linux.elf.gcc = arm-linux-gcc-4.1.0 -march=armv5t -nostdinc -MMD -MT $@ tc.arm.v5t-linux.elf.gcc = arm-linux-gcc-4.1.0 -march=armv5t -nostdinc -MMD -MT $@
tc.armel-eabi-linux.elf.gcc += -fno-exceptions -fno-asynchronous-unwind-tables tc.arm.v5t-linux.elf.gcc += -fno-exceptions -fno-asynchronous-unwind-tables
tc.armel-eabi-linux.elf.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror tc.arm.v5t-linux.elf.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror
thumb-eabi-linux.shlib%.h : $(srcdir)/src/$$T.S arm.v5t-linux.shlib%.h : $(srcdir)/src/$$T.S
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.bin $(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.bin
$(call tc,f-embed_objinfo,tmp/$T.bin) $(call tc,f-embed_objinfo,tmp/$T.bin)
$(call tc,bin2h-c) tmp/$T.bin $@ $(call tc,bin2h-c) tmp/$T.bin $@
@@ -1,5 +1,5 @@
/* thumb-eabi-linux.shlib-init.h /* arm.v5t-linux.shlib-init.h
created from thumb-eabi-linux.shlib-init.bin, 15562 (0x3cca) bytes created from arm.v5t-linux.shlib-init.bin, 15562 (0x3cca) bytes
This file is part of the UPX executable compressor. This file is part of the UPX executable compressor.
@@ -31,11 +31,11 @@
*/ */
#define STUB_THUMB_EABI_LINUX_SHLIB_INIT_SIZE 15562 #define STUB_ARM_V5T_LINUX_SHLIB_INIT_SIZE 15562
#define STUB_THUMB_EABI_LINUX_SHLIB_INIT_ADLER32 0xa92f2082 #define STUB_ARM_V5T_LINUX_SHLIB_INIT_ADLER32 0xa92f2082
#define STUB_THUMB_EABI_LINUX_SHLIB_INIT_CRC32 0xe5449bd7 #define STUB_ARM_V5T_LINUX_SHLIB_INIT_CRC32 0xe5449bd7
unsigned char stub_thumb_eabi_linux_shlib_init[15562] = { unsigned char stub_arm_v5t_linux_shlib_init[15562] = {
/* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 97, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 97, 0, 0, 0, 0, 0, 0, 0, 0,
/* 0x0010 */ 1, 0, 40, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0010 */ 1, 0, 40, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 0x0020 */ 232, 20, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 40, 0, /* 0x0020 */ 232, 20, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 40, 0,
@@ -1,4 +1,4 @@
/* thumb-linux.shlib-init.S -- Linux Elf shared library init & decompressor /* arm.v4t-linux.shlib-init.S -- Linux Elf shared library init & decompressor
* *
* This file is part of the UPX executable compressor. * This file is part of the UPX executable compressor.
* *
+2
View File
@@ -0,0 +1,2 @@
#define ARMEL_EABI4 1
#include "arm.v4t-linux.shlib-init.S"
@@ -1,2 +0,0 @@
#define ARMEL_EABI4 1
#include "thumb-linux.shlib-init.S"