All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yoshinori Sato <ysato@users.sourceforge.jp>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] H8/300 vmlinux.lds.S update (2nd)
Date: Sat, 13 Nov 2004 01:42:12 +0900	[thread overview]
Message-ID: <m2is8buihn.wl%ysato@users.sourceforge.jp> (raw)

duplicate define section delete.
fix CONFIG_ROMKERNEL.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

diff -Nru a/arch/h8300/kernel/vmlinux.lds.S b/arch/h8300/kernel/vmlinux.lds.S
--- a/arch/h8300/kernel/vmlinux.lds.S	2004-11-13 01:12:50 +09:00
+++ b/arch/h8300/kernel/vmlinux.lds.S	2004-11-13 01:12:50 +09:00
@@ -5,9 +5,9 @@
 /* target memory map */
 #ifdef CONFIG_H8300H_GENERIC
 #define ROMTOP  0x000000
-#define ROMSIZE 0x200000
-#define RAMTOP  0x200000
-#define RAMSIZE 0x200000
+#define ROMSIZE 0x400000
+#define RAMTOP  0x400000
+#define RAMSIZE 0x400000
 #endif
 
 #ifdef CONFIG_H8300H_AKI3068NET
@@ -26,16 +26,16 @@
 
 #ifdef CONFIG_H8300H_SIM
 #define ROMTOP  0x000000
-#define ROMSIZE 0x200000
-#define RAMTOP  0x200000
-#define RAMSIZE 0x200000
+#define ROMSIZE 0x400000
+#define RAMTOP  0x400000
+#define RAMSIZE 0x400000
 #endif
 
 #ifdef CONFIG_H8S_SIM
 #define ROMTOP  0x000000
-#define ROMSIZE 0x200000
-#define RAMTOP  0x200000
-#define RAMSIZE 0x200000
+#define ROMSIZE 0x400000
+#define RAMTOP  0x400000
+#define RAMSIZE 0x800000
 #endif
 
 #ifdef CONFIG_H8S_EDOSK2674
@@ -51,6 +51,8 @@
 
 _jiffies = _jiffies_64 + 4;
 
+ENTRY(__start)
+	
 SECTIONS
 {
 #if defined(CONFIG_ROMKERNEL)
@@ -81,10 +83,8 @@
 	___start___ex_table = .;
 		*(__ex_table)
 	___stop___ex_table = .;
-
-        ___start___ksymtab = .;  /* Kernel symbol table          */
-		 *(__ksymtab)
 	}
+	
 	RODATA
 #if defined(CONFIG_ROMKERNEL)
 	SECURITY_INIT
@@ -143,10 +143,7 @@
 #if defined(CONFIG_RAMKERNEL)
 	SECURITY_INIT
 #endif
-	__begin_data = LOADADDR(.data) ;
-#if defined(CONFIG_ROMKERNEL)
-	__erom = LOADADDR(.data) + SIZEOF(.data) ;
-#endif
+	__begin_data = LOADADDR(.data);
         .bss : 
         {
 	. = ALIGN(0x4) ;
@@ -162,12 +159,11 @@
 	/DISCARD/ : {
 		*(.exitcall.exit)
 	}
-
         .romfs :	
 	{
 		*(.romfs*)
 	}
-	. = RAMTOP+RAMSIZE; 
+	. = RAMTOP+RAMSIZE;
         .dummy :
         {
 	COMMAND_START = . - 0x200 ;

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

                 reply	other threads:[~2004-11-12 16:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2is8buihn.wl%ysato@users.sourceforge.jp \
    --to=ysato@users.sourceforge.jp \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.