]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'linus' into core/rodata
authorIngo Molnar <mingo@elte.hu>
Mon, 16 Jun 2008 09:24:00 +0000 (11:24 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 16 Jun 2008 09:24:00 +0000 (11:24 +0200)
arch/avr32/kernel/vmlinux.lds.S
arch/parisc/kernel/vmlinux.lds.S
arch/powerpc/kernel/vmlinux.lds.S
arch/s390/kernel/vmlinux.lds.S
arch/sh/kernel/vmlinux_32.lds.S
arch/sh/kernel/vmlinux_64.lds.S
arch/x86/kernel/vmlinux_32.lds.S
arch/x86/kernel/vmlinux_64.lds.S
include/asm-generic/vmlinux.lds.h

index 481cfd40c0539e85297ed33366ec579041d95680..bc932c9b4272f1d10af165ce026503400c2f6119 100644 (file)
@@ -93,8 +93,6 @@ SECTIONS
                __stop___ex_table = .;
        }
 
-       BUG_TABLE
-
        RODATA
 
        . = ALIGN(THREAD_SIZE);
index 2e516b871752d818a09622c0f14104aed429254c..1a3b6ccd362064e80b65412a62eee7e7b0f2182d 100644 (file)
@@ -67,7 +67,6 @@ SECTIONS
        _etext = .;
 
        RODATA
-       BUG_TABLE
 
        /* writeable */
        /* Make sure this is page aligned so
index 0c3000bf8d75d8919e20df3e44ba9a99d7bb7d14..53d57d17a894669baff94b7e0e30ece9a1acf6c4 100644 (file)
@@ -64,8 +64,6 @@ SECTIONS
 
        NOTES
 
-       BUG_TABLE
-
 /*
  * Init sections discarded at runtime
  */
index b4607155e8d0b930c98b8a913d050a08d47b9e4a..76c1e60c92f3fae3e88d03eb9a299536288dee40 100644 (file)
@@ -40,7 +40,6 @@ SECTIONS
        _etext = .;             /* End of text section */
 
        NOTES :text :note
-       BUG_TABLE :text
 
        RODATA
 
index c7113786ecd4c1158c461128880cfef650a31857..7b4b82bd1156bc8c373fb61fe4edce6ab82d6a4b 100644 (file)
@@ -44,7 +44,6 @@ SECTIONS
 
        _etext = .;                     /* End of text section */
 
-       BUG_TABLE
        NOTES
        RO_DATA(PAGE_SIZE)
 
index d1e177009a4140ab0e86a47040fee7256b9a1e97..33fa464514060c041f7e3505e20e78d16e8736a9 100644 (file)
@@ -65,7 +65,6 @@ SECTIONS
 
        _etext = .;                     /* End of text section */
 
-       BUG_TABLE
        NOTES 
        RO_DATA(PAGE_SIZE)
 
index ce5ed083a1e905e463486e8f05e9125d2f41d157..aa0855471c797bde4ab6f7f1527a845c72a91a19 100644 (file)
@@ -49,16 +49,14 @@ SECTIONS
        _etext = .;                     /* End of text section */
   } :text = 0x9090
 
+  NOTES :text :note
+
   . = ALIGN(16);               /* Exception table */
   __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
        __start___ex_table = .;
         *(__ex_table)
        __stop___ex_table = .;
-  }
-
-  NOTES :text :note
-
-  BUG_TABLE :text
+  } :text = 0x9090
 
   . = ALIGN(4);
   .tracedata : AT(ADDR(.tracedata) - LOAD_OFFSET) {
index fad3674b06a58f990cabab44bd61910f975a6682..d123747af1e44490917ad8023953d130981b95f8 100644 (file)
@@ -19,7 +19,7 @@ PHDRS {
        data PT_LOAD FLAGS(7);  /* RWE */
        user PT_LOAD FLAGS(7);  /* RWE */
        data.init PT_LOAD FLAGS(7);     /* RWE */
-       note PT_NOTE FLAGS(4);  /* R__ */
+       note PT_NOTE FLAGS(0);  /* ___ */
 }
 SECTIONS
 {
@@ -40,16 +40,14 @@ SECTIONS
        _etext = .;             /* End of text section */
   } :text = 0x9090
 
+  NOTES :text :note
+
   . = ALIGN(16);               /* Exception table */
   __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
        __start___ex_table = .;
         *(__ex_table)
        __stop___ex_table = .;
-  }
-
-  NOTES :text :note
-
-  BUG_TABLE :text
+  } :text = 0x9090
 
   RODATA
 
index f054778e916c08e0b1e7cc85dd028de15b21edb2..dd2cc8122ad85a55110f4743c3aeff1421a5ea5e 100644 (file)
@@ -67,6 +67,8 @@
                *(.rodata1)                                             \
        }                                                               \
                                                                        \
+       BUG_TABLE                                                       \
+                                                                       \
        /* PCI quirks */                                                \
        .pci_fixup        : AT(ADDR(.pci_fixup) - LOAD_OFFSET) {        \
                VMLINUX_SYMBOL(__start_pci_fixups_early) = .;           \
                .stab.indexstr 0 : { *(.stab.indexstr) }                \
                .comment 0 : { *(.comment) }
 
+#ifdef CONFIG_GENERIC_BUG
 #define BUG_TABLE                                                      \
        . = ALIGN(8);                                                   \
        __bug_table : AT(ADDR(__bug_table) - LOAD_OFFSET) {             \
                *(__bug_table)                                          \
                __stop___bug_table = .;                                 \
        }
+#else
+#define BUG_TABLE
+#endif
 
 #define NOTES                                                          \
        .notes : AT(ADDR(.notes) - LOAD_OFFSET) {                       \