linux/arch/m32r/kernel
Hirokazu Takata 3d60f84934 [PATCH] m32r: fix kernel entry address of vmlinux
This patch fixes the kernel entry point address of vmlinux.

The m32r kernel entry address is 0x08002000 (physical).
But, so far, the ENTRY point written in vmlinux.lds.S was not point
the correct kernel entry address.

(before fix)
    $ objdump -x vmlinux
    vmlinux:     file format elf32-m32r-linux
    vmlinux
    architecture: m32r2, flags 0x00000112:
    EXEC_P, HAS_SYMS, D_PAGED
    start address 0x88002090	/* NG */
        :
    Sections:
    Idx Name          Size      VMA       LMA       File off  Algn
      0 .empty_zero_page 00001000  88001000  88001000  00001000  2**12
                      CONTENTS, ALLOC, LOAD, DATA
      1 .boot         0000008c  88002000  88002000  00002000  2**2
                      CONTENTS, ALLOC, LOAD, READONLY, CODE
      2 .text         001ab694  88002090  88002090  00002090  2**4
                      CONTENTS, ALLOC, LOAD, READONLY, CODE
        :

(after fix)
    $ objdump -x vmlinux
    vmlinux:     file format elf32-m32r-linux
    vmlinux
    architecture: m32r2, flags 0x00000112:
    EXEC_P, HAS_SYMS, D_PAGED
    start address 0x08002000	/* OK */
        :

This fix also remedies the following GDB error message (of gdb-6.4 or after)
at the first operation of kernel debugging:
"Previous frame identical to this frame (corrupt stack?)".

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:20 -08:00
..
align.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
asm-offsets.c kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file 2005-09-09 22:47:53 +02:00
entry.S [PATCH] m32r: fix ace_handler to pass full 32-bit address 2006-12-08 08:28:37 -08:00
head.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
io_m32104ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_m32700ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_mappi2.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_mappi3.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_mappi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_oaks32r.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_opsput.c [PATCH] m32r: bootloader support for OPSPUT platform 2006-12-08 08:28:37 -08:00
io_usrv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
irq.c [PATCH] m32r pt_regs fixes 2006-10-07 10:51:15 -07:00
m32r_ksyms.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile [PATCH] m32r: Support M32104UT target platform 2006-01-06 08:33:43 -08:00
module.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
process.c [PATCH] m32r: build fix for processors without ISA_DSP_LEVEL2 2007-02-11 10:51:20 -08:00
ptrace.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
semaphore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_m32104ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_m32700ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_mappi2.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_mappi3.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_mappi.c [PATCH] m32r: NULL noise removal 2006-10-11 11:17:06 -07:00
setup_oaks32r.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_opsput.c [PATCH] m32r: bootloader support for OPSPUT platform 2006-12-08 08:28:37 -08:00
setup_usrv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup.c [PATCH] initrd: remove unused false condition for initrd_start 2006-12-07 08:39:38 -08:00
signal.c [PATCH] m32r: build fix for processors without ISA_DSP_LEVEL2 2007-02-11 10:51:20 -08:00
smp.c [PATCH] m32r: NULL noise removal 2006-10-11 11:17:06 -07:00
smpboot.c [PATCH] Change cpu_up and co from __devinit to __cpuinit 2007-01-11 18:18:20 -08:00
sys_m32r.c [PATCH] m32r: more __user annotations 2006-10-11 11:17:06 -07:00
time.c [PATCH] m32r pt_regs fixes 2006-10-07 10:51:15 -07:00
traps.c [PATCH] m32r: NULL noise removal 2006-10-11 11:17:06 -07:00
vmlinux.lds.S [PATCH] m32r: fix kernel entry address of vmlinux 2007-02-11 10:51:20 -08:00