patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / ia64 / kernel / vmlinux.lds.S
index 5c45718..5791221 100644 (file)
@@ -195,11 +195,10 @@ SECTIONS
   .data : AT(ADDR(.data) - LOAD_OFFSET)
        { *(.data) *(.data1) *(.gnu.linkonce.d*) CONSTRUCTORS }
 
-  . = ALIGN(16);
-  __gp = . + 0x200000; /* gp must be 16-byte aligned for exc. table */
-
+  . = ALIGN(16);       /* gp must be 16-byte aligned for exc. table */
   .got : AT(ADDR(.got) - LOAD_OFFSET)
        { *(.got.plt) *(.got) }
+  __gp = ADDR(.got) + 0x200000;
   /* We want the small data sections together, so single-instruction offsets
      can access them all, and initialized data all before uninitialized, so
      we can shorten the on-disk segment size.  */