ia64/xen-unstable

changeset 5084:580d5a4fff25

bitkeeper revision 1.1508 (42916959z-L_1fAuVkGLI_kRj1O2VA)

Some more ioemu config hardcoding. Our 'target arch' is always i386.
Do we really need linker scripts??
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon May 23 05:25:45 2005 +0000 (2005-05-23)
parents 377402d5f51f
children 3a30cc8f8ec3
files .rootkeys tools/ioemu/configure tools/ioemu/i386-vl.ld tools/ioemu/i386.ld tools/ioemu/target-i386-dm/Makefile tools/ioemu/x86_32.ld
line diff
     1.1 --- a/.rootkeys	Sun May 22 07:38:53 2005 +0000
     1.2 +++ b/.rootkeys	Mon May 23 05:25:45 2005 +0000
     1.3 @@ -606,8 +606,6 @@ 428d0d85gCUCX0nbuRAt28QJgQ5P8w tools/ioe
     1.4  428d0d85hp-zgN40hVYXWRjhInkUkg tools/ioemu/hw/vga.c
     1.5  428d0d85G_4S-hpRyrhV4yGjSrS-cQ tools/ioemu/hw/vga_int.h
     1.6  428d0d85oWl1ONX_gIZWS1fXjeXGlA tools/ioemu/hw/vga_template.h
     1.7 -428d0d85-wAtLF5FYFHCUAxXKNbEkA tools/ioemu/i386-vl.ld
     1.8 -428d0d85d831iQvvCD3LcaOD9rYGkg tools/ioemu/i386.ld
     1.9  428d0d85_mNnFPE8hnoC3VvBD9CCuA tools/ioemu/keyboard_rdesktop.c
    1.10  428d0d85SyOIeDg3SoxH2BiBpXWWkA tools/ioemu/keymaps/ar
    1.11  428d0d85ToGTVvPrl8hKAi2QxCzp2w tools/ioemu/keymaps/common
    1.12 @@ -676,6 +674,7 @@ 428d0d8bfvbYQwj6MgDr958m4_SfRA tools/ioe
    1.13  428d0d8bgAojEQcAcTV2gj2E_eG4Lw tools/ioemu/vl.c
    1.14  428d0d8bXiCY4iTjoSPxGry8jXdAtg tools/ioemu/vl.h
    1.15  428d0d8bQVKedvN5EIPm39s33TXkpA tools/ioemu/vnc.c
    1.16 +428d0d85d831iQvvCD3LcaOD9rYGkg tools/ioemu/x86_32.ld
    1.17  428f0763_67jCiHbdgfGlgAOJqfg9A tools/ioemu/x86_64.ld
    1.18  3fbba6dbDfYvJSsw9500b4SZyUhxjQ tools/libxc/Makefile
    1.19  41dde8afKYRKxS4XtLv1KUegGQy_bg tools/libxc/linux_boot_params.h
     2.1 --- a/tools/ioemu/configure	Sun May 22 07:38:53 2005 +0000
     2.2 +++ b/tools/ioemu/configure	Mon May 23 05:25:45 2005 +0000
     2.3 @@ -513,12 +513,9 @@ echo "/* Automatically generated by conf
     2.4  echo "include ../config-host.mak" >> $config_mak
     2.5  echo "#include \"../config-host.h\"" >> $config_h
     2.6  
     2.7 -if test "$target_cpu" = "i386" ; then
     2.8 -  echo "TARGET_ARCH=i386" >> $config_mak
     2.9 -  echo "HOST_ARCH=`uname -i`" >> $config_mak
    2.10 -  echo "#define TARGET_ARCH \"i386\"" >> $config_h
    2.11 -  echo "#define TARGET_I386 1" >> $config_h
    2.12 -fi
    2.13 +echo "TARGET_ARCH=i386" >> $config_mak
    2.14 +echo "#define TARGET_ARCH \"i386\"" >> $config_h
    2.15 +echo "#define TARGET_I386 1" >> $config_h
    2.16  
    2.17  interp_prefix1=`echo "$interp_prefix" | sed "s/%M/$target_cpu/g"`
    2.18  echo "#define CONFIG_QEMU_PREFIX \"$interp_prefix1\"" >> $config_h
     3.1 --- a/tools/ioemu/i386-vl.ld	Sun May 22 07:38:53 2005 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,140 +0,0 @@
     3.4 -/* ld script to make i386 Linux kernel
     3.5 - * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>;
     3.6 - */
     3.7 -OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
     3.8 -OUTPUT_ARCH(i386)
     3.9 -SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/alpha-unknown-linux-gnu/lib);
    3.10 -ENTRY(_start)
    3.11 -SECTIONS
    3.12 -{
    3.13 -  /* Read-only sections, merged into text segment: */
    3.14 -  . = 0xa8000000 + SIZEOF_HEADERS;
    3.15 -  .interp     : { *(.interp) 	}
    3.16 -  .hash          : { *(.hash)		}
    3.17 -  .dynsym        : { *(.dynsym)		}
    3.18 -  .dynstr        : { *(.dynstr)		}
    3.19 -  .gnu.version   : { *(.gnu.version)	}
    3.20 -  .gnu.version_d   : { *(.gnu.version_d)	}
    3.21 -  .gnu.version_r   : { *(.gnu.version_r)	}
    3.22 -  .rel.text      :
    3.23 -    { *(.rel.text) *(.rel.gnu.linkonce.t*) }
    3.24 -  .rela.text     :
    3.25 -    { *(.rela.text) *(.rela.gnu.linkonce.t*) }
    3.26 -  .rel.data      :
    3.27 -    { *(.rel.data) *(.rel.gnu.linkonce.d*) }
    3.28 -  .rela.data     :
    3.29 -    { *(.rela.data) *(.rela.gnu.linkonce.d*) }
    3.30 -  .rel.rodata    :
    3.31 -    { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
    3.32 -  .rela.rodata   :
    3.33 -    { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
    3.34 -  .rel.got       : { *(.rel.got)		}
    3.35 -  .rela.got      : { *(.rela.got)		}
    3.36 -  .rel.ctors     : { *(.rel.ctors)	}
    3.37 -  .rela.ctors    : { *(.rela.ctors)	}
    3.38 -  .rel.dtors     : { *(.rel.dtors)	}
    3.39 -  .rela.dtors    : { *(.rela.dtors)	}
    3.40 -  .rel.init      : { *(.rel.init)	}
    3.41 -  .rela.init     : { *(.rela.init)	}
    3.42 -  .rel.fini      : { *(.rel.fini)	}
    3.43 -  .rela.fini     : { *(.rela.fini)	}
    3.44 -  .rel.bss       : { *(.rel.bss)		}
    3.45 -  .rela.bss      : { *(.rela.bss)		}
    3.46 -  .rel.plt       : { *(.rel.plt)		}
    3.47 -  .rela.plt      : { *(.rela.plt)		}
    3.48 -  .init          : { *(.init)	} =0x47ff041f
    3.49 -  .text      :
    3.50 -  {
    3.51 -    *(.text)
    3.52 -    /* .gnu.warning sections are handled specially by elf32.em.  */
    3.53 -    *(.gnu.warning)
    3.54 -    *(.gnu.linkonce.t*)
    3.55 -  } =0x47ff041f
    3.56 -  _etext = .;
    3.57 -  PROVIDE (etext = .);
    3.58 -  .fini      : { *(.fini)    } =0x47ff041f
    3.59 -  .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
    3.60 -  .rodata1   : { *(.rodata1) }
    3.61 -  .reginfo : { *(.reginfo) }
    3.62 -  __preinit_array_start = .;
    3.63 -  .preinit_array : { *(.preinit_array) }
    3.64 -  __preinit_array_end = .;
    3.65 -  __init_array_start = .;
    3.66 -  .init_array : { *(.init_array) }
    3.67 -  __init_array_end = .;
    3.68 -  __fini_array_start = .;
    3.69 -  .fini_array : { *(.fini_array) }
    3.70 -  __fini_array_end = .;
    3.71 -
    3.72 -  /* Adjust the address for the data segment.  We want to adjust up to
    3.73 -     the same address within the page on the next page up.  */
    3.74 -  . = ALIGN(0x100000) + (. & (0x100000 - 1));
    3.75 -  .data    :
    3.76 -  {
    3.77 -    *(.data)
    3.78 -    *(.gnu.linkonce.d*)
    3.79 -    CONSTRUCTORS
    3.80 -  }
    3.81 -  .data1   : { *(.data1) }
    3.82 -  .ctors         :
    3.83 -  {
    3.84 -    *(.ctors)
    3.85 -  }
    3.86 -  .dtors         :
    3.87 -  {
    3.88 -    *(.dtors)
    3.89 -  }
    3.90 -  .plt      : { *(.plt)	}
    3.91 -  .got           : { *(.got.plt) *(.got) }
    3.92 -  .dynamic       : { *(.dynamic) }
    3.93 -  /* We want the small data sections together, so single-instruction offsets
    3.94 -     can access them all, and initialized data all before uninitialized, so
    3.95 -     we can shorten the on-disk segment size.  */
    3.96 -  .sdata     : { *(.sdata) }
    3.97 -  _edata  =  .;
    3.98 -  PROVIDE (edata = .);
    3.99 -  __bss_start = .;
   3.100 -  .sbss      : { *(.sbss) *(.scommon) }
   3.101 -  .bss       :
   3.102 -  {
   3.103 -   *(.dynbss)
   3.104 -   *(.bss)
   3.105 -   *(COMMON)
   3.106 -  }
   3.107 -  _end = . ;
   3.108 -  PROVIDE (end = .);
   3.109 -  /* Stabs debugging sections.  */
   3.110 -  .stab 0 : { *(.stab) }
   3.111 -  .stabstr 0 : { *(.stabstr) }
   3.112 -  .stab.excl 0 : { *(.stab.excl) }
   3.113 -  .stab.exclstr 0 : { *(.stab.exclstr) }
   3.114 -  .stab.index 0 : { *(.stab.index) }
   3.115 -  .stab.indexstr 0 : { *(.stab.indexstr) }
   3.116 -  .comment 0 : { *(.comment) }
   3.117 -  /* DWARF debug sections.
   3.118 -     Symbols in the DWARF debugging sections are relative to the beginning
   3.119 -     of the section so we begin them at 0.  */
   3.120 -  /* DWARF 1 */
   3.121 -  .debug          0 : { *(.debug) }
   3.122 -  .line           0 : { *(.line) }
   3.123 -  /* GNU DWARF 1 extensions */
   3.124 -  .debug_srcinfo  0 : { *(.debug_srcinfo) }
   3.125 -  .debug_sfnames  0 : { *(.debug_sfnames) }
   3.126 -  /* DWARF 1.1 and DWARF 2 */
   3.127 -  .debug_aranges  0 : { *(.debug_aranges) }
   3.128 -  .debug_pubnames 0 : { *(.debug_pubnames) }
   3.129 -  /* DWARF 2 */
   3.130 -  .debug_info     0 : { *(.debug_info) }
   3.131 -  .debug_abbrev   0 : { *(.debug_abbrev) }
   3.132 -  .debug_line     0 : { *(.debug_line) }
   3.133 -  .debug_frame    0 : { *(.debug_frame) }
   3.134 -  .debug_str      0 : { *(.debug_str) }
   3.135 -  .debug_loc      0 : { *(.debug_loc) }
   3.136 -  .debug_macinfo  0 : { *(.debug_macinfo) }
   3.137 -  /* SGI/MIPS DWARF 2 extensions */
   3.138 -  .debug_weaknames 0 : { *(.debug_weaknames) }
   3.139 -  .debug_funcnames 0 : { *(.debug_funcnames) }
   3.140 -  .debug_typenames 0 : { *(.debug_typenames) }
   3.141 -  .debug_varnames  0 : { *(.debug_varnames) }
   3.142 -  /* These must appear regardless of  .  */
   3.143 -}
     4.1 --- a/tools/ioemu/i386.ld	Sun May 22 07:38:53 2005 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,140 +0,0 @@
     4.4 -/* ld script to make i386 Linux kernel
     4.5 - * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>;
     4.6 - */
     4.7 -OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
     4.8 -OUTPUT_ARCH(i386)
     4.9 -SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/alpha-unknown-linux-gnu/lib);
    4.10 -ENTRY(_start)
    4.11 -SECTIONS
    4.12 -{
    4.13 -  /* Read-only sections, merged into text segment: */
    4.14 -  . = 0x60000000 + SIZEOF_HEADERS;
    4.15 -  .interp     : { *(.interp) 	}
    4.16 -  .hash          : { *(.hash)		}
    4.17 -  .dynsym        : { *(.dynsym)		}
    4.18 -  .dynstr        : { *(.dynstr)		}
    4.19 -  .gnu.version   : { *(.gnu.version)	}
    4.20 -  .gnu.version_d   : { *(.gnu.version_d)	}
    4.21 -  .gnu.version_r   : { *(.gnu.version_r)	}
    4.22 -  .rel.text      :
    4.23 -    { *(.rel.text) *(.rel.gnu.linkonce.t*) }
    4.24 -  .rela.text     :
    4.25 -    { *(.rela.text) *(.rela.gnu.linkonce.t*) }
    4.26 -  .rel.data      :
    4.27 -    { *(.rel.data) *(.rel.gnu.linkonce.d*) }
    4.28 -  .rela.data     :
    4.29 -    { *(.rela.data) *(.rela.gnu.linkonce.d*) }
    4.30 -  .rel.rodata    :
    4.31 -    { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
    4.32 -  .rela.rodata   :
    4.33 -    { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
    4.34 -  .rel.got       : { *(.rel.got)		}
    4.35 -  .rela.got      : { *(.rela.got)		}
    4.36 -  .rel.ctors     : { *(.rel.ctors)	}
    4.37 -  .rela.ctors    : { *(.rela.ctors)	}
    4.38 -  .rel.dtors     : { *(.rel.dtors)	}
    4.39 -  .rela.dtors    : { *(.rela.dtors)	}
    4.40 -  .rel.init      : { *(.rel.init)	}
    4.41 -  .rela.init     : { *(.rela.init)	}
    4.42 -  .rel.fini      : { *(.rel.fini)	}
    4.43 -  .rela.fini     : { *(.rela.fini)	}
    4.44 -  .rel.bss       : { *(.rel.bss)		}
    4.45 -  .rela.bss      : { *(.rela.bss)		}
    4.46 -  .rel.plt       : { *(.rel.plt)		}
    4.47 -  .rela.plt      : { *(.rela.plt)		}
    4.48 -  .init          : { *(.init)	} =0x47ff041f
    4.49 -  .text      :
    4.50 -  {
    4.51 -    *(.text)
    4.52 -    /* .gnu.warning sections are handled specially by elf32.em.  */
    4.53 -    *(.gnu.warning)
    4.54 -    *(.gnu.linkonce.t*)
    4.55 -  } =0x47ff041f
    4.56 -  _etext = .;
    4.57 -  PROVIDE (etext = .);
    4.58 -  .fini      : { *(.fini)    } =0x47ff041f
    4.59 -  . = ALIGN(32 / 8);
    4.60 -  PROVIDE (__preinit_array_start = .);
    4.61 -  .preinit_array     : { *(.preinit_array) }
    4.62 -  PROVIDE (__preinit_array_end = .);
    4.63 -  PROVIDE (__init_array_start = .);
    4.64 -  .init_array     : { *(.init_array) }
    4.65 -  PROVIDE (__init_array_end = .);
    4.66 -  PROVIDE (__fini_array_start = .);
    4.67 -  .fini_array     : { *(.fini_array) }
    4.68 -  PROVIDE (__fini_array_end = .);
    4.69 -  .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
    4.70 -  .rodata1   : { *(.rodata1) }
    4.71 -  .reginfo : { *(.reginfo) }
    4.72 -  /* Adjust the address for the data segment.  We want to adjust up to
    4.73 -     the same address within the page on the next page up.  */
    4.74 -  . = ALIGN(0x100000) + (. & (0x100000 - 1));
    4.75 -  .data    :
    4.76 -  {
    4.77 -    *(.data)
    4.78 -    *(.gnu.linkonce.d*)
    4.79 -    CONSTRUCTORS
    4.80 -  }
    4.81 -  .data1   : { *(.data1) }
    4.82 -  .ctors         :
    4.83 -  {
    4.84 -    *(.ctors)
    4.85 -  }
    4.86 -  .dtors         :
    4.87 -  {
    4.88 -    *(.dtors)
    4.89 -  }
    4.90 -  .plt      : { *(.plt)	}
    4.91 -  .got           : { *(.got.plt) *(.got) }
    4.92 -  .dynamic       : { *(.dynamic) }
    4.93 -  /* We want the small data sections together, so single-instruction offsets
    4.94 -     can access them all, and initialized data all before uninitialized, so
    4.95 -     we can shorten the on-disk segment size.  */
    4.96 -  .sdata     : { *(.sdata) }
    4.97 -  _edata  =  .;
    4.98 -  PROVIDE (edata = .);
    4.99 -  __bss_start = .;
   4.100 -  .sbss      : { *(.sbss) *(.scommon) }
   4.101 -  .bss       :
   4.102 -  {
   4.103 -   *(.dynbss)
   4.104 -   *(.bss)
   4.105 -   *(COMMON)
   4.106 -  }
   4.107 -  _end = . ;
   4.108 -  PROVIDE (end = .);
   4.109 -  /* Stabs debugging sections.  */
   4.110 -  .stab 0 : { *(.stab) }
   4.111 -  .stabstr 0 : { *(.stabstr) }
   4.112 -  .stab.excl 0 : { *(.stab.excl) }
   4.113 -  .stab.exclstr 0 : { *(.stab.exclstr) }
   4.114 -  .stab.index 0 : { *(.stab.index) }
   4.115 -  .stab.indexstr 0 : { *(.stab.indexstr) }
   4.116 -  .comment 0 : { *(.comment) }
   4.117 -  /* DWARF debug sections.
   4.118 -     Symbols in the DWARF debugging sections are relative to the beginning
   4.119 -     of the section so we begin them at 0.  */
   4.120 -  /* DWARF 1 */
   4.121 -  .debug          0 : { *(.debug) }
   4.122 -  .line           0 : { *(.line) }
   4.123 -  /* GNU DWARF 1 extensions */
   4.124 -  .debug_srcinfo  0 : { *(.debug_srcinfo) }
   4.125 -  .debug_sfnames  0 : { *(.debug_sfnames) }
   4.126 -  /* DWARF 1.1 and DWARF 2 */
   4.127 -  .debug_aranges  0 : { *(.debug_aranges) }
   4.128 -  .debug_pubnames 0 : { *(.debug_pubnames) }
   4.129 -  /* DWARF 2 */
   4.130 -  .debug_info     0 : { *(.debug_info) }
   4.131 -  .debug_abbrev   0 : { *(.debug_abbrev) }
   4.132 -  .debug_line     0 : { *(.debug_line) }
   4.133 -  .debug_frame    0 : { *(.debug_frame) }
   4.134 -  .debug_str      0 : { *(.debug_str) }
   4.135 -  .debug_loc      0 : { *(.debug_loc) }
   4.136 -  .debug_macinfo  0 : { *(.debug_macinfo) }
   4.137 -  /* SGI/MIPS DWARF 2 extensions */
   4.138 -  .debug_weaknames 0 : { *(.debug_weaknames) }
   4.139 -  .debug_funcnames 0 : { *(.debug_funcnames) }
   4.140 -  .debug_typenames 0 : { *(.debug_typenames) }
   4.141 -  .debug_varnames  0 : { *(.debug_varnames) }
   4.142 -  /* These must appear regardless of  .  */
   4.143 -}
     5.1 --- a/tools/ioemu/target-i386-dm/Makefile	Sun May 22 07:38:53 2005 +0000
     5.2 +++ b/tools/ioemu/target-i386-dm/Makefile	Mon May 23 05:25:45 2005 +0000
     5.3 @@ -1,4 +1,7 @@
     5.4 +XEN_ROOT=../../..
     5.5 +include $(XEN_ROOT)/tools/Rules.mk
     5.6  include config.mak
     5.7 +override TARGET_ARCH=i386
     5.8  
     5.9  #assume we directly put qemu code in tools/, same level as bochs dm(ioemu)
    5.10  XEN_PATH=../../..
    5.11 @@ -186,7 +189,7 @@ endif
    5.12  #########################################################
    5.13  
    5.14  DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    5.15 -LIBS+=-lm -L$(XEN_PATH)/dist/install/usr/$(LIBDIR) -lxc -lxutil
    5.16 +LIBS+=-lm -L../../libxc -L../../libxutil -lxc -lxutil
    5.17  ifndef CONFIG_USER_ONLY
    5.18  LIBS+=-lz
    5.19  endif
    5.20 @@ -300,7 +303,7 @@ VL_LDFLAGS=
    5.21  ifdef CONFIG_STATIC
    5.22  VL_LDFLAGS+=-static
    5.23  endif
    5.24 -VL_LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(HOST_ARCH).ld
    5.25 +VL_LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(XEN_TARGET_ARCH).ld
    5.26  ifndef CONFIG_DARWIN
    5.27  ifndef CONFIG_WIN32
    5.28  VL_LIBS=-lutil
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/tools/ioemu/x86_32.ld	Mon May 23 05:25:45 2005 +0000
     6.3 @@ -0,0 +1,140 @@
     6.4 +/* ld script to make i386 Linux kernel
     6.5 + * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>;
     6.6 + */
     6.7 +OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
     6.8 +OUTPUT_ARCH(i386)
     6.9 +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/alpha-unknown-linux-gnu/lib);
    6.10 +ENTRY(_start)
    6.11 +SECTIONS
    6.12 +{
    6.13 +  /* Read-only sections, merged into text segment: */
    6.14 +  . = 0x60000000 + SIZEOF_HEADERS;
    6.15 +  .interp     : { *(.interp) 	}
    6.16 +  .hash          : { *(.hash)		}
    6.17 +  .dynsym        : { *(.dynsym)		}
    6.18 +  .dynstr        : { *(.dynstr)		}
    6.19 +  .gnu.version   : { *(.gnu.version)	}
    6.20 +  .gnu.version_d   : { *(.gnu.version_d)	}
    6.21 +  .gnu.version_r   : { *(.gnu.version_r)	}
    6.22 +  .rel.text      :
    6.23 +    { *(.rel.text) *(.rel.gnu.linkonce.t*) }
    6.24 +  .rela.text     :
    6.25 +    { *(.rela.text) *(.rela.gnu.linkonce.t*) }
    6.26 +  .rel.data      :
    6.27 +    { *(.rel.data) *(.rel.gnu.linkonce.d*) }
    6.28 +  .rela.data     :
    6.29 +    { *(.rela.data) *(.rela.gnu.linkonce.d*) }
    6.30 +  .rel.rodata    :
    6.31 +    { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
    6.32 +  .rela.rodata   :
    6.33 +    { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
    6.34 +  .rel.got       : { *(.rel.got)		}
    6.35 +  .rela.got      : { *(.rela.got)		}
    6.36 +  .rel.ctors     : { *(.rel.ctors)	}
    6.37 +  .rela.ctors    : { *(.rela.ctors)	}
    6.38 +  .rel.dtors     : { *(.rel.dtors)	}
    6.39 +  .rela.dtors    : { *(.rela.dtors)	}
    6.40 +  .rel.init      : { *(.rel.init)	}
    6.41 +  .rela.init     : { *(.rela.init)	}
    6.42 +  .rel.fini      : { *(.rel.fini)	}
    6.43 +  .rela.fini     : { *(.rela.fini)	}
    6.44 +  .rel.bss       : { *(.rel.bss)		}
    6.45 +  .rela.bss      : { *(.rela.bss)		}
    6.46 +  .rel.plt       : { *(.rel.plt)		}
    6.47 +  .rela.plt      : { *(.rela.plt)		}
    6.48 +  .init          : { *(.init)	} =0x47ff041f
    6.49 +  .text      :
    6.50 +  {
    6.51 +    *(.text)
    6.52 +    /* .gnu.warning sections are handled specially by elf32.em.  */
    6.53 +    *(.gnu.warning)
    6.54 +    *(.gnu.linkonce.t*)
    6.55 +  } =0x47ff041f
    6.56 +  _etext = .;
    6.57 +  PROVIDE (etext = .);
    6.58 +  .fini      : { *(.fini)    } =0x47ff041f
    6.59 +  . = ALIGN(32 / 8);
    6.60 +  PROVIDE (__preinit_array_start = .);
    6.61 +  .preinit_array     : { *(.preinit_array) }
    6.62 +  PROVIDE (__preinit_array_end = .);
    6.63 +  PROVIDE (__init_array_start = .);
    6.64 +  .init_array     : { *(.init_array) }
    6.65 +  PROVIDE (__init_array_end = .);
    6.66 +  PROVIDE (__fini_array_start = .);
    6.67 +  .fini_array     : { *(.fini_array) }
    6.68 +  PROVIDE (__fini_array_end = .);
    6.69 +  .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
    6.70 +  .rodata1   : { *(.rodata1) }
    6.71 +  .reginfo : { *(.reginfo) }
    6.72 +  /* Adjust the address for the data segment.  We want to adjust up to
    6.73 +     the same address within the page on the next page up.  */
    6.74 +  . = ALIGN(0x100000) + (. & (0x100000 - 1));
    6.75 +  .data    :
    6.76 +  {
    6.77 +    *(.data)
    6.78 +    *(.gnu.linkonce.d*)
    6.79 +    CONSTRUCTORS
    6.80 +  }
    6.81 +  .data1   : { *(.data1) }
    6.82 +  .ctors         :
    6.83 +  {
    6.84 +    *(.ctors)
    6.85 +  }
    6.86 +  .dtors         :
    6.87 +  {
    6.88 +    *(.dtors)
    6.89 +  }
    6.90 +  .plt      : { *(.plt)	}
    6.91 +  .got           : { *(.got.plt) *(.got) }
    6.92 +  .dynamic       : { *(.dynamic) }
    6.93 +  /* We want the small data sections together, so single-instruction offsets
    6.94 +     can access them all, and initialized data all before uninitialized, so
    6.95 +     we can shorten the on-disk segment size.  */
    6.96 +  .sdata     : { *(.sdata) }
    6.97 +  _edata  =  .;
    6.98 +  PROVIDE (edata = .);
    6.99 +  __bss_start = .;
   6.100 +  .sbss      : { *(.sbss) *(.scommon) }
   6.101 +  .bss       :
   6.102 +  {
   6.103 +   *(.dynbss)
   6.104 +   *(.bss)
   6.105 +   *(COMMON)
   6.106 +  }
   6.107 +  _end = . ;
   6.108 +  PROVIDE (end = .);
   6.109 +  /* Stabs debugging sections.  */
   6.110 +  .stab 0 : { *(.stab) }
   6.111 +  .stabstr 0 : { *(.stabstr) }
   6.112 +  .stab.excl 0 : { *(.stab.excl) }
   6.113 +  .stab.exclstr 0 : { *(.stab.exclstr) }
   6.114 +  .stab.index 0 : { *(.stab.index) }
   6.115 +  .stab.indexstr 0 : { *(.stab.indexstr) }
   6.116 +  .comment 0 : { *(.comment) }
   6.117 +  /* DWARF debug sections.
   6.118 +     Symbols in the DWARF debugging sections are relative to the beginning
   6.119 +     of the section so we begin them at 0.  */
   6.120 +  /* DWARF 1 */
   6.121 +  .debug          0 : { *(.debug) }
   6.122 +  .line           0 : { *(.line) }
   6.123 +  /* GNU DWARF 1 extensions */
   6.124 +  .debug_srcinfo  0 : { *(.debug_srcinfo) }
   6.125 +  .debug_sfnames  0 : { *(.debug_sfnames) }
   6.126 +  /* DWARF 1.1 and DWARF 2 */
   6.127 +  .debug_aranges  0 : { *(.debug_aranges) }
   6.128 +  .debug_pubnames 0 : { *(.debug_pubnames) }
   6.129 +  /* DWARF 2 */
   6.130 +  .debug_info     0 : { *(.debug_info) }
   6.131 +  .debug_abbrev   0 : { *(.debug_abbrev) }
   6.132 +  .debug_line     0 : { *(.debug_line) }
   6.133 +  .debug_frame    0 : { *(.debug_frame) }
   6.134 +  .debug_str      0 : { *(.debug_str) }
   6.135 +  .debug_loc      0 : { *(.debug_loc) }
   6.136 +  .debug_macinfo  0 : { *(.debug_macinfo) }
   6.137 +  /* SGI/MIPS DWARF 2 extensions */
   6.138 +  .debug_weaknames 0 : { *(.debug_weaknames) }
   6.139 +  .debug_funcnames 0 : { *(.debug_funcnames) }
   6.140 +  .debug_typenames 0 : { *(.debug_typenames) }
   6.141 +  .debug_varnames  0 : { *(.debug_varnames) }
   6.142 +  /* These must appear regardless of  .  */
   6.143 +}