patch-2.4.0-test2 linux/arch/ia64/vmlinux.lds.S

Next file: linux/arch/m68k/amiga/amiga_ksyms.c
Previous file: linux/arch/ia64/tools/print_offsets.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/arch/ia64/vmlinux.lds.S linux/arch/ia64/vmlinux.lds.S
@@ -32,6 +32,13 @@
 #endif
   _etext = .;
 
+  /* Read-only data */
+
+  __gp = ALIGN(8) + 0x200000;
+
+  /* Global data */
+  _data = .;
+
   /* Exception table */
   . = ALIGN(16);
   __start___ex_table = .;
@@ -39,19 +46,33 @@
 	{ *(__ex_table) }
   __stop___ex_table = .;
 
-  /* Kernel symbol names for modules: */
+  __start___ksymtab = .;	/* Kernel symbol table */
+  __ksymtab : AT(ADDR(__ksymtab) - PAGE_OFFSET)
+	{ *(__ksymtab) }
+  __stop___ksymtab = .;
+
+  /* Unwind table */
+  ia64_unw_start = .;
+  .IA_64.unwind : AT(ADDR(.IA_64.unwind) - PAGE_OFFSET)
+	{ *(.IA_64.unwind) }
+  ia64_unw_end = .;
+  .IA_64.unwind_info : AT(ADDR(.IA_64.unwind_info) - PAGE_OFFSET)
+	{ *(.IA_64.unwind_info) }
+
+  .rodata : AT(ADDR(.rodata) - PAGE_OFFSET)
+	{ *(.rodata) }
   .kstrtab : AT(ADDR(.kstrtab) - PAGE_OFFSET)
 	{ *(.kstrtab) }
+  .opd : AT(ADDR(.opd) - PAGE_OFFSET)
+	{ *(.opd) }
 
-  /* The initial task and kernel stack */
-  . = ALIGN(PAGE_SIZE);
-  init_task : AT(ADDR(init_task) - PAGE_OFFSET)
-	{ *(init_task) }
+  /* Initialization code and data: */
 
-  /* Startup code */
+  . = ALIGN(PAGE_SIZE);
   __init_begin = .;
   .text.init : AT(ADDR(.text.init) - PAGE_OFFSET)
 	{ *(.text.init) }
+
   .data.init : AT(ADDR(.data.init) - PAGE_OFFSET)
 	{ *(.data.init) }
    . = ALIGN(16);
@@ -66,6 +87,10 @@
   . = ALIGN(PAGE_SIZE);
   __init_end = .;
 
+  /* The initial task and kernel stack */
+  init_task : AT(ADDR(init_task) - PAGE_OFFSET)
+	{ *(init_task) }
+
   .data.page_aligned : AT(ADDR(.data.page_aligned) - PAGE_OFFSET)
         { *(.data.idt) }
 
@@ -73,17 +98,12 @@
   .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - PAGE_OFFSET)
         { *(.data.cacheline_aligned) }
 
-  /* Global data */
-  _data = .;
+  /* Kernel symbol names for modules: */
+  .kstrtab : AT(ADDR(.kstrtab) - PAGE_OFFSET)
+	{ *(.kstrtab) }
 
-  .rodata : AT(ADDR(.rodata) - PAGE_OFFSET)
-	{ *(.rodata) }
-  .opd : AT(ADDR(.opd) - PAGE_OFFSET)
-	{ *(.opd) }
   .data : AT(ADDR(.data) - PAGE_OFFSET)
 	{ *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS }
-
-  __gp = ALIGN (8) + 0x200000;
 
   .got : AT(ADDR(.got) - PAGE_OFFSET)
 	{ *(.got.plt) *(.got) }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)