vmlinux/i386: fix filters, 0x400000 start, integration with kernel build
This commit is contained in:
+8
-1
@@ -70,7 +70,7 @@ STUBS += i386-linux.elf.interp-entry.h
|
||||
STUBS += i386-linux.elf.interp-fold.h
|
||||
STUBS += i386-linux.elf.shell-entry.h
|
||||
STUBS += i386-linux.elf.shell-fold.h
|
||||
STUBS += i386-linux.kernel.vmlinux.h
|
||||
STUBS += i386-linux.kernel.vmlinux.h i386-linux.kernel.head-vmlinux.h
|
||||
STUBS += i386-linux.kernel.vmlinuz.h
|
||||
STUBS += i386-win32.pe.h
|
||||
STUBS += m68k-atari.tos.h
|
||||
@@ -581,6 +581,13 @@ i386-linux.kernel.vmlinu%.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
||||
$(call tc,bin2h) --ident=nrv_loader tmp/$T.bin $@
|
||||
|
||||
i386-linux.kernel.head-vmlinux.h : tc_list = arch-i386 default
|
||||
|
||||
i386-linux.kernel.head-vmlinux.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.tmp
|
||||
$(call tc,objcopy) --output-target binary --only-section .text tmp/$T.tmp tmp/$T.bin
|
||||
$(call tc,bin2h) --ident=head_stack tmp/$T.bin $@
|
||||
|
||||
|
||||
# /***********************************************************************
|
||||
# // i386-win32.pe
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
/* i386-linux.kernel.head-vmlinux.h -- created from i386-linux.kernel.head-vmlinux.bin, 39 (0x27) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
Copyright (C) 1996-2006 Markus Franz Xaver Johannes Oberhumer
|
||||
Copyright (C) 1996-2006 Laszlo Molnar
|
||||
Copyright (C) 2000-2006 John F. Reiser
|
||||
All Rights Reserved.
|
||||
|
||||
UPX and the UCL library are free software; you can redistribute them
|
||||
and/or modify them under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation; either version 2 of
|
||||
the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; see the file COPYING.
|
||||
If not, write to the Free Software Foundation, Inc.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
Markus F.X.J. Oberhumer Laszlo Molnar
|
||||
<mfx@users.sourceforge.net> <ml1050@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
|
||||
#define HEAD_STACK_SIZE 39
|
||||
#define HEAD_STACK_ADLER32 0x7a591357
|
||||
#define HEAD_STACK_CRC32 0xf4f6740a
|
||||
|
||||
unsigned char head_stack[39] = {
|
||||
140,200,131,192, 8,142,216,142,192,141,142, 0,144, 0, 0,137, /* 0x 0 */
|
||||
73,248,137, 65,252, 15,178, 97,248,106, 0,157, 14,184, 0, 0, /* 0x 10 */
|
||||
0, 0,232,252,255,255,255 /* 0x 20 */
|
||||
};
|
||||
Reference in New Issue
Block a user