]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
Merge branch 'core/rodata' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 14 Jul 2008 22:28:10 +0000 (15:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 14 Jul 2008 22:28:10 +0000 (15:28 -0700)
* 'core/rodata' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  move BUG_TABLE into RODATA

1  2 
arch/avr32/kernel/vmlinux.lds.S
arch/x86/kernel/vmlinux_32.lds.S
arch/x86/kernel/vmlinux_64.lds.S
include/asm-generic/vmlinux.lds.h

Simple merge
index 2674f57962756a3dbb5e609dae3d8442b7d143c3,aa0855471c797bde4ab6f7f1527a845c72a91a19..cdb2363697d2c52655139543862af80b820a8f91
@@@ -54,12 -56,15 +56,8 @@@ SECTION
        __start___ex_table = .;
         *(__ex_table)
        __stop___ex_table = .;
-   }
-   NOTES :text :note
-   BUG_TABLE :text
+   } :text = 0x9090
  
 -  . = ALIGN(4);
 -  .tracedata : AT(ADDR(.tracedata) - LOAD_OFFSET) {
 -      __tracedata_start = .;
 -      *(.tracedata)
 -      __tracedata_end = .;
 -  }
 -
    RODATA
  
    /* writeable */
Simple merge
index f1992dc5c4248a21a6c71f7a546fdb21527d72a5,dd2cc8122ad85a55110f4743c3aeff1421a5ea5e..bf2851f93937f89ed50db774e80668a8dc27f324
                *(__bug_table)                                          \
                __stop___bug_table = .;                                 \
        }
+ #else
+ #define BUG_TABLE
+ #endif
  
 +#ifdef CONFIG_PM_TRACE
 +#define TRACEDATA                                                     \
 +      . = ALIGN(4);                                                   \
 +      .tracedata : AT(ADDR(.tracedata) - LOAD_OFFSET) {               \
 +              __tracedata_start = .;                                  \
 +              *(.tracedata)                                           \
 +              __tracedata_end = .;                                    \
 +      }
 +#else
 +#define TRACEDATA
 +#endif
 +
  #define NOTES                                                         \
        .notes : AT(ADDR(.notes) - LOAD_OFFSET) {                       \
                VMLINUX_SYMBOL(__start_notes) = .;                      \