2003-02-19 03:34:51

by Miles Bader

[permalink] [raw]
Subject: [PATCH] Force v850 interrupt vector parts into their correct locations

Otherwise a if one them is partially empty, the following input section
can end up in the wrong place.

diff -ruN -X../cludes linux-2.5.62-uc0.orig/arch/v850/vmlinux.lds.S linux-2.5.62-uc0/arch/v850/vmlinux.lds.S
--- linux-2.5.62-uc0.orig/arch/v850/vmlinux.lds.S 2003-01-22 10:16:27.000000000 +0900
+++ linux-2.5.62-uc0/arch/v850/vmlinux.lds.S 2003-02-19 11:41:13.000000000 +0900
@@ -24,9 +26,12 @@

/* Interrupt vectors. */
#define INTV_CONTENTS \
+ . = ALIGN (0x10) ; \
__intv_start = . ; \
*(.intv.reset) /* Reset vector */ \
+ . = __intv_start + 0x10 ; \
*(.intv.common) /* Vectors common to all v850e proc */\
+ . = __intv_start + 0x80 ; \
*(.intv.mach) /* Machine-specific int. vectors. */ \
__intv_end = . ;