[PATCH] Force v850 interrupt vector parts into their correct locations

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Tue Feb 18 2003 - 22:44:27 EST


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 = . ;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:24 EST