linux/arch
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
..
alpha [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
arm [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
arm26 [PATCH] ARM26: Use ARRAY_SIZE macro when appropriate 2007-02-11 10:51:19 -08:00
avr32 [AVR32] Add missing #include <linux/module.h> 2007-02-09 15:23:46 +01:00
cris [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
frv [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
h8300 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
i386 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
ia64 [PATCH] optional ZONE_DMA: optional ZONE_DMA for ia64 2007-02-11 10:51:18 -08:00
m32r [PATCH] m32r: fix kernel entry address of vmlinux 2007-02-11 10:51:20 -08:00
m68k [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
m68knommu [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
mips [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
parisc [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from parisc 2007-02-11 10:51:18 -08:00
powerpc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
ppc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
s390 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
sh [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from sh/sh64 2007-02-11 10:51:18 -08:00
sh64 [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from sh/sh64 2007-02-11 10:51:18 -08:00
sparc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
sparc64 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
um [PATCH] uml: fix signal frame alignment 2007-01-30 16:01:35 -08:00
v850 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
x86_64 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
xtensa [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00