Skip to contentSkip to conversation

h8300-normalize-global-variables-exported-by-vmlinuxlds.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] h8300-normalize-global-variables-exported-by-vmlinuxlds.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:26:40 -0700

The patch titled
Subject: h8300: normalize global variables exported by vmlinux.lds
has been removed from the -mm tree. Its filename was
h8300-normalize-global-variables-exported-by-vmlinuxlds.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jiang Liu <[email protected]>
Subject: h8300: normalize global variables exported by vmlinux.lds

Generate mandatory global variables __bss_start/__bss_stop in file vmlinux.lds.

Also remove one unused declaration of _text.

---

 arch/h8300/boot/compressed/misc.c |    1 -
 arch/h8300/kernel/vmlinux.lds.S   |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/h8300/boot/compressed/misc.c renamed from arch/h8300/boot/compressed/misc.c~h8300-normalize-global-variables-exported-by-vmlinuxlds +0 -1
diff -puN arch/h8300/boot/compressed/misc.c~h8300-normalize-global-variables-exported-by-vmlinuxlds arch/h8300/boot/compressed/misc.c
@@ -79,7 +79,6 @@ static void error(char *m);
 
 int puts(const char *);
 
-extern int _text;		/* Defined in vmlinux.lds.S */
 extern int _end;
 static unsigned long free_mem_ptr;
 static unsigned long free_mem_end_ptr;
arch/h8300/kernel/vmlinux.lds.S renamed from arch/h8300/kernel/vmlinux.lds.S~h8300-normalize-global-variables-exported-by-vmlinuxlds +2 -0
diff -puN arch/h8300/kernel/vmlinux.lds.S~h8300-normalize-global-variables-exported-by-vmlinuxlds arch/h8300/kernel/vmlinux.lds.S
@@ -132,10 +132,12 @@ SECTIONS
         {
 	. = ALIGN(0x4) ;
 	__sbss = . ;
+	___bss_start = . ;
 		*(.bss*)
 	. = ALIGN(0x4) ;
 		*(COMMON)
 	. = ALIGN(0x4) ;
+	___bss_stop = . ;
 	__ebss = . ;
 	__end = . ;
 	__ramstart = .;

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch