head	1.3;
access;
symbols
	perseant-exfatfs-base-20250801:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.124
	perseant-exfatfs-base:1.3
	bouyer-sunxi-drm:1.3.0.122
	bouyer-sunxi-drm-base:1.3
	cjep_sun2x:1.3.0.120
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	cjep_staticlib_x:1.3.0.118
	cjep_staticlib_x-base:1.3
	thorpej-futex-base:1.3
	bouyer-xenpvh-base2:1.3
	phil-wifi-20200421:1.3
	bouyer-xenpvh-base1:1.3
	phil-wifi-20200411:1.3
	bouyer-xenpvh:1.3.0.116
	bouyer-xenpvh-base:1.3
	phil-wifi-20200406:1.3
	ad-namecache-base3:1.3
	ad-namecache-base2:1.3
	ad-namecache-base1:1.3
	ad-namecache:1.3.0.114
	ad-namecache-base:1.3
	isaki-audio2:1.3.0.112
	isaki-audio2-base:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	pgoyette-compat-0625:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.110
	pgoyette-compat-base:1.3
	perseant-stdc-iso10646:1.3.0.108
	perseant-stdc-iso10646-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.106
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	bouyer-socketcan:1.3.0.104
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	pgoyette-localcount-20161104:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.102
	pgoyette-localcount-base:1.3
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	tls-earlyentropy:1.3.0.100
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	rmind-smpnet-nbase:1.3
	rmind-smpnet:1.3.0.96
	rmind-smpnet-base:1.3
	agc-symver:1.3.0.98
	agc-symver-base:1.3
	tls-maxphys-base:1.3
	yamt-pagecache-base8:1.3
	netbsd-5-2:1.3.0.94
	yamt-pagecache-base7:1.3
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	yamt-pagecache-base6:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	jmcneill-usbmp:1.3.0.92
	jmcneill-usbmp-base:1.3
	jmcneill-audiomp3:1.3.0.90
	jmcneill-audiomp3-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.88
	yamt-pagecache-base:1.3
	rmind-uvmplock-nbase:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.86
	bouyer-quota2-base:1.3
	jruoho-x86intr:1.3.0.84
	jruoho-x86intr-base:1.3
	matt-nb5-pq3:1.3.0.82
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.80
	netbsd-5-1-RELEASE:1.3
	yamt-nfs-mp-base11:1.3
	netbsd-5-1-RC4:1.3
	uebayasi-xip-base2:1.3
	yamt-nfs-mp-base10:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	rmind-uvmplock:1.3.0.78
	rmind-uvmplock-base:1.3
	yamt-nfs-mp-base9:1.3
	uebayasi-xip:1.3.0.76
	uebayasi-xip-base:1.3
	netbsd-5-0-2-RELEASE:1.3
	yamt-nfs-mp-base8:1.3
	yamt-nfs-mp-base7:1.3
	netbsd-5-0-1-RELEASE:1.3
	jymxensuspend-base:1.3
	yamt-nfs-mp-base6:1.3
	yamt-nfs-mp-base5:1.3
	yamt-nfs-mp-base4:1.3
	jym-xensuspend-nbase:1.3
	yamt-nfs-mp-base3:1.3
	netbsd-5-0:1.3.0.74
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.72
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.3
	haad-dm-base2:1.3
	haad-nbase2:1.3
	ad-audiomp2:1.3.0.70
	ad-audiomp2-base:1.3
	netbsd-5:1.3.0.68
	netbsd-5-base:1.3
	haad-dm-base1:1.3
	haad-dm:1.3.0.66
	haad-dm-base:1.3
	simonb-wapbl-nbase:1.3
	yamt-pf42-base4:1.3
	simonb-wapbl:1.3.0.64
	simonb-wapbl-base:1.3
	yamt-pf42-base3:1.3
	hpcarm-cleanup-nbase:1.3
	yamt-pf42-base2:1.3
	yamt-nfs-mp-base2:1.3
	yamt-nfs-mp:1.3.0.62
	yamt-nfs-mp-base:1.3
	yamt-pf42:1.3.0.60
	yamt-pf42-base:1.3
	ad-socklock-base1:1.3
	yamt-lazymbuf-base15:1.3
	yamt-lazymbuf-base14:1.3
	keiichi-mipv6-nbase:1.3
	mjf-devfs2:1.3.0.58
	mjf-devfs2-base:1.3
	keiichi-mipv6:1.3.0.56
	keiichi-mipv6-base:1.3
	bouyer-xeni386-merge1:1.3
	vmlocking2-base3:1.3
	bouyer-xeni386-nbase:1.3
	yamt-kmem-base3:1.3
	cube-autoconf:1.3.0.54
	cube-autoconf-base:1.3
	yamt-kmem-base2:1.3
	bouyer-xeni386:1.3.0.52
	bouyer-xeni386-base:1.3
	yamt-kmem:1.3.0.50
	yamt-kmem-base:1.3
	vmlocking2-base2:1.3
	reinoud-bufcleanup-nbase:1.3
	vmlocking2:1.3.0.48
	vmlocking2-base1:1.3
	jmcneill-base:1.3
	mjf-devfs:1.3.0.46
	mjf-devfs-base:1.3
	bouyer-xenamd64-base2:1.3
	vmlocking-nbase:1.3
	yamt-x86pmap-base4:1.3
	bouyer-xenamd64:1.3.0.44
	bouyer-xenamd64-base:1.3
	yamt-x86pmap-base3:1.3
	yamt-x86pmap-base2:1.3
	yamt-x86pmap:1.3.0.42
	yamt-x86pmap-base:1.3
	jmcneill-pm:1.3.0.40
	jmcneill-pm-base:1.3
	hpcarm-cleanup:1.3.0.38
	hpcarm-cleanup-base:1.3
	mjf-ufs-trans-base:1.3
	yamt-idlelwp-base8:1.3
	ppcoea-renovation:1.3.0.36
	ppcoea-renovation-base:1.3
	reinoud-bufcleanup-base:1.3
	vmlocking:1.3.0.34
	vmlocking-base:1.3
	ad-audiomp:1.3.0.32
	ad-audiomp-base:1.3
	yamt-idlelwp:1.3.0.30
	post-newlock2-merge:1.3
	newlock2-nbase:1.3
	yamt-splraiseipl-base5:1.3
	yamt-splraiseipl-base4:1.3
	yamt-splraiseipl-base3:1.3
	yamt-splraiseipl-base2:1.3
	yamt-splraiseipl:1.3.0.28
	yamt-splraiseipl-base:1.3
	newlock2:1.3.0.26
	newlock2-base:1.3
	yamt-pdpolicy-base8:1.3
	yamt-pdpolicy-base7:1.3
	yamt-pdpolicy-base6:1.3
	gdamore-uart:1.3.0.24
	gdamore-uart-base:1.3
	simonb-timcounters-final:1.3
	yamt-pdpolicy-base5:1.3
	elad-kernelauth-nbase:1.3
	yamt-pdpolicy-base4:1.3
	yamt-pdpolicy-base3:1.3
	yamt-pdpolicy-base2:1.3
	yamt-pdpolicy:1.3.0.22
	yamt-pdpolicy-base:1.3
	yamt-uio_vmspace-base5:1.3
	simonb-timecounters:1.3.0.20
	simonb-timecounters-base:1.3
	rpaulo-netinet-merge-pcb:1.3.0.18
	rpaulo-netinet-merge-pcb-base:1.3
	yamt-uio_vmspace:1.3.0.16
	yamt-readahead-base3:1.3
	yamt-readahead-base2:1.3
	yamt-readahead:1.3.0.14
	yamt-readahead-base:1.3
	yamt-vop-base3:1.3
	yamt-vop-base2:1.3
	thorpej-vnode-attr:1.3.0.12
	thorpej-vnode-attr-base:1.3
	yamt-vop:1.3.0.10
	yamt-vop-base:1.3
	yamt-lazymbuf:1.3.0.8
	yamt-km-base4:1.3
	yamt-km-base3:1.3
	yamt-km-base2:1.3
	yamt-km:1.3.0.6
	yamt-km-base:1.3
	kent-audio2:1.3.0.4
	kent-audio2-base:1.3
	netbsd-1-6-PATCH002-RELEASE:1.1.12.1
	netbsd-1-6-PATCH002:1.1.12.1
	netbsd-1-6-PATCH002-RC4:1.1.12.1
	netbsd-1-6-PATCH002-RC3:1.1.12.1
	netbsd-1-6-PATCH002-RC2:1.1.12.1
	netbsd-1-6-PATCH002-RC1:1.1.12.1
	ktrace-lwp:1.3.0.2
	ktrace-lwp-base:1.3
	netbsd-1-6-PATCH001:1.1
	netbsd-1-6-PATCH001-RELEASE:1.1
	netbsd-1-6-PATCH001-RC3:1.1
	netbsd-1-6-PATCH001-RC2:1.1
	netbsd-1-6-PATCH001-RC1:1.1
	nathanw_sa_before_merge:1.2
	fvdl_fs64_base:1.2
	gmcgarry_ctxsw:1.2.0.4
	gmcgarry_ctxsw_base:1.2
	gmcgarry_ucred:1.2.0.2
	gmcgarry_ucred_base:1.2
	kqueue-aftermerge:1.2
	kqueue-beforemerge:1.2
	netbsd-1-6-RELEASE:1.1
	netbsd-1-6-RC3:1.1
	netbsd-1-6-RC2:1.1
	netbsd-1-6-RC1:1.1
	netbsd-1-6:1.1.0.12
	netbsd-1-6-base:1.1
	gehenna-devsw:1.1.0.10
	gehenna-devsw-base:1.2
	eeh-devprop:1.1.0.8
	eeh-devprop-base:1.1
	newlock:1.1.0.6
	newlock-base:1.1
	ifpoll-base:1.1
	kqueue-base:1.2
	kqueue:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2003.04.26.18.39.54;	author fvdl;	state dead;
branches;
next	1.2;

1.2
date	2002.06.05.15.06.56;	author fvdl;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.29.02.24.06;	author thorpej;	state Exp;
branches
	1.1.2.1
	1.1.10.1
	1.1.12.1;
next	;

1.1.2.1
date	2001.12.29.02.24.06;	author thorpej;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2002.01.10.19.50.48;	author thorpej;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2002.06.23.17.43.27;	author jdolecek;	state Exp;
branches;
next	;

1.1.10.1
date	2002.07.15.01.41.07;	author gehenna;	state Exp;
branches;
next	;

1.1.12.1
date	2003.09.10.19.35.57;	author grant;	state dead;
branches;
next	;


desc
@@


1.3
log
@Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.
@
text
@/*	$NetBSD: kern.ldscript,v 1.2 2002/06/05 15:06:56 fvdl Exp $	*/

/*
 * Kernel linker script for NetBSD/x86-64.  This script is based on
 * elf_x86_64.x, but puts _etext after all of the read-only sections.
 */

/* Default linker script, for normal executables */
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
	      "elf64-x86-64")
OUTPUT_ARCH(i386:x86-64)
ENTRY(_start)
 SEARCH_DIR(/usr/local/gnu/x86_64-unknown-netbsd/lib);
/* Do we need any of these for elf?
   __DYNAMIC = 0;    */
SECTIONS
{
  /* Read-only sections, merged into text segment: */
  . = 0x400000 + SIZEOF_HEADERS;
  .interp         : { *(.interp) }
  .hash           : { *(.hash) }
  .dynsym         : { *(.dynsym) }
  .dynstr         : { *(.dynstr) }
  .gnu.version    : { *(.gnu.version) }
  .gnu.version_d  : { *(.gnu.version_d) }
  .gnu.version_r  : { *(.gnu.version_r) }
  .rel.init       : { *(.rel.init) }
  .rela.init      : { *(.rela.init) }
  .rel.text       : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
  .rela.text      : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
  .rel.fini       : { *(.rel.fini) }
  .rela.fini      : { *(.rela.fini) }
  .rel.rodata     : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
  .rela.rodata    : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
  .rel.data       : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
  .rela.data      : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
  .rel.ctors      : { *(.rel.ctors) }
  .rela.ctors     : { *(.rela.ctors) }
  .rel.dtors      : { *(.rel.dtors) }
  .rela.dtors     : { *(.rela.dtors) }
  .rel.got        : { *(.rel.got) }
  .rela.got       : { *(.rela.got) }
  .rel.bss        : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
  .rela.bss       : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
  .rel.plt        : { *(.rel.plt) }
  .rela.plt       : { *(.rela.plt) }
  .init           :
  {
    KEEP (*(.init))
  } =0x90909090
  .plt            : { *(.plt) }
  .text           :
  {
    *(.text .stub .text.* .gnu.linkonce.t.*)
    /* .gnu.warning sections are handled specially by elf32.em.  */
    *(.gnu.warning)
  } =0x90909090
  .fini           :
  {
    KEEP (*(.fini))
  } =0x90909090
  .rodata         : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
  .rodata1        : { *(.rodata1) }
  .eh_frame_hdr : { *(.eh_frame_hdr) }
  PROVIDE (__etext = .);
  PROVIDE (_etext = .);
  PROVIDE (etext = .);
  /* Adjust the address for the data segment.  We want to adjust up to
     the same address within the page on the next page up.  */
  . = ALIGN(0x100000) + (. & (0x100000 - 1));
  .data           :
  {
    *(.data .data.* .gnu.linkonce.d.*)
    SORT(CONSTRUCTORS)
  }
  .data1          : { *(.data1) }
  .eh_frame       : { KEEP (*(.eh_frame)) }
  .gcc_except_table   : { *(.gcc_except_table) }
  .dynamic        : { *(.dynamic) }
  .ctors          :
  {
    /* gcc uses crtbegin.o to find the start of
       the constructors, so we make sure it is
       first.  Because this is a wildcard, it
       doesn't matter if the user does not
       actually link against crtbegin.o; the
       linker won't look for a file to match a
       wildcard.  The wildcard also means that it
       doesn't matter which directory crtbegin.o
       is in.  */
    KEEP (*crtbegin.o(.ctors))
    /* We don't want to include the .ctor section from
       from the crtend.o file until after the sorted ctors.
       The .ctor section from the crtend file contains the
       end of ctors marker and it must be last */
    KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
    KEEP (*(SORT(.ctors.*)))
    KEEP (*(.ctors))
  }
  .dtors          :
  {
    KEEP (*crtbegin.o(.dtors))
    KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
    KEEP (*(SORT(.dtors.*)))
    KEEP (*(.dtors))
  }
  .jcr            : { KEEP (*(.jcr)) }
  .got            : { *(.got.plt) *(.got) }
  _edata = .;
  PROVIDE (edata = .);
  __bss_start = .;
  .bss            :
  {
   *(.dynbss)
   *(.bss .bss.* .gnu.linkonce.b.*)
   *(COMMON)
   /* Align here to ensure that the .bss section occupies space up to
      _end.  Align after .bss to ensure correct alignment even if the
      .bss section disappears because there are no input sections.  */
   . = ALIGN(64 / 8);
  }
  . = ALIGN(64 / 8);
  _end = .;
  PROVIDE (end = .);
  /* Stabs debugging sections.  */
  .stab          0 : { *(.stab) }
  .stabstr       0 : { *(.stabstr) }
  .stab.excl     0 : { *(.stab.excl) }
  .stab.exclstr  0 : { *(.stab.exclstr) }
  .stab.index    0 : { *(.stab.index) }
  .stab.indexstr 0 : { *(.stab.indexstr) }
  .comment       0 : { *(.comment) }
  /* DWARF debug sections.
     Symbols in the DWARF debugging sections are relative to the beginning
     of the section so we begin them at 0.  */
  /* DWARF 1 */
  .debug          0 : { *(.debug) }
  .line           0 : { *(.line) }
  /* GNU DWARF 1 extensions */
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
  .debug_sfnames  0 : { *(.debug_sfnames) }
  /* DWARF 1.1 and DWARF 2 */
  .debug_aranges  0 : { *(.debug_aranges) }
  .debug_pubnames 0 : { *(.debug_pubnames) }
  /* DWARF 2 */
  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }
  .debug_abbrev   0 : { *(.debug_abbrev) }
  .debug_line     0 : { *(.debug_line) }
  .debug_frame    0 : { *(.debug_frame) }
  .debug_str      0 : { *(.debug_str) }
  .debug_loc      0 : { *(.debug_loc) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
  /* SGI/MIPS DWARF 2 extensions */
  .debug_weaknames 0 : { *(.debug_weaknames) }
  .debug_funcnames 0 : { *(.debug_funcnames) }
  .debug_typenames 0 : { *(.debug_typenames) }
  .debug_varnames  0 : { *(.debug_varnames) }
}
@


1.2
log
@Set output arch to i386:x86-64. From Jason.
@
text
@d1 1
a1 1
/*	$NetBSD: kern.ldscript,v 1.1 2001/12/29 02:24:06 thorpej Exp $	*/
@


1.1
log
@Add a linker script for the NetBSD/x86_64 kernel; provides _etext
in the place that we want for the kernel (after all read-only sections).
@
text
@d1 1
a1 1
/*	$NetBSD$	*/
d11 1
a11 1
OUTPUT_ARCH(i386)
@


1.1.2.1
log
@file kern.ldscript was added on branch kqueue on 2002-01-10 19:50:48 +0000
@
text
@d1 158
@


1.1.2.2
log
@Sync kqueue branch with -current.
@
text
@a0 158
/*	$NetBSD: kern.ldscript,v 1.1.2.1 2002/01/10 19:50:48 thorpej Exp $	*/

/*
 * Kernel linker script for NetBSD/x86-64.  This script is based on
 * elf_x86_64.x, but puts _etext after all of the read-only sections.
 */

/* Default linker script, for normal executables */
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
	      "elf64-x86-64")
OUTPUT_ARCH(i386)
ENTRY(_start)
 SEARCH_DIR(/usr/local/gnu/x86_64-unknown-netbsd/lib);
/* Do we need any of these for elf?
   __DYNAMIC = 0;    */
SECTIONS
{
  /* Read-only sections, merged into text segment: */
  . = 0x400000 + SIZEOF_HEADERS;
  .interp         : { *(.interp) }
  .hash           : { *(.hash) }
  .dynsym         : { *(.dynsym) }
  .dynstr         : { *(.dynstr) }
  .gnu.version    : { *(.gnu.version) }
  .gnu.version_d  : { *(.gnu.version_d) }
  .gnu.version_r  : { *(.gnu.version_r) }
  .rel.init       : { *(.rel.init) }
  .rela.init      : { *(.rela.init) }
  .rel.text       : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
  .rela.text      : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
  .rel.fini       : { *(.rel.fini) }
  .rela.fini      : { *(.rela.fini) }
  .rel.rodata     : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
  .rela.rodata    : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
  .rel.data       : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
  .rela.data      : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
  .rel.ctors      : { *(.rel.ctors) }
  .rela.ctors     : { *(.rela.ctors) }
  .rel.dtors      : { *(.rel.dtors) }
  .rela.dtors     : { *(.rela.dtors) }
  .rel.got        : { *(.rel.got) }
  .rela.got       : { *(.rela.got) }
  .rel.bss        : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
  .rela.bss       : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
  .rel.plt        : { *(.rel.plt) }
  .rela.plt       : { *(.rela.plt) }
  .init           :
  {
    KEEP (*(.init))
  } =0x90909090
  .plt            : { *(.plt) }
  .text           :
  {
    *(.text .stub .text.* .gnu.linkonce.t.*)
    /* .gnu.warning sections are handled specially by elf32.em.  */
    *(.gnu.warning)
  } =0x90909090
  .fini           :
  {
    KEEP (*(.fini))
  } =0x90909090
  .rodata         : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
  .rodata1        : { *(.rodata1) }
  .eh_frame_hdr : { *(.eh_frame_hdr) }
  PROVIDE (__etext = .);
  PROVIDE (_etext = .);
  PROVIDE (etext = .);
  /* Adjust the address for the data segment.  We want to adjust up to
     the same address within the page on the next page up.  */
  . = ALIGN(0x100000) + (. & (0x100000 - 1));
  .data           :
  {
    *(.data .data.* .gnu.linkonce.d.*)
    SORT(CONSTRUCTORS)
  }
  .data1          : { *(.data1) }
  .eh_frame       : { KEEP (*(.eh_frame)) }
  .gcc_except_table   : { *(.gcc_except_table) }
  .dynamic        : { *(.dynamic) }
  .ctors          :
  {
    /* gcc uses crtbegin.o to find the start of
       the constructors, so we make sure it is
       first.  Because this is a wildcard, it
       doesn't matter if the user does not
       actually link against crtbegin.o; the
       linker won't look for a file to match a
       wildcard.  The wildcard also means that it
       doesn't matter which directory crtbegin.o
       is in.  */
    KEEP (*crtbegin.o(.ctors))
    /* We don't want to include the .ctor section from
       from the crtend.o file until after the sorted ctors.
       The .ctor section from the crtend file contains the
       end of ctors marker and it must be last */
    KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
    KEEP (*(SORT(.ctors.*)))
    KEEP (*(.ctors))
  }
  .dtors          :
  {
    KEEP (*crtbegin.o(.dtors))
    KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
    KEEP (*(SORT(.dtors.*)))
    KEEP (*(.dtors))
  }
  .jcr            : { KEEP (*(.jcr)) }
  .got            : { *(.got.plt) *(.got) }
  _edata = .;
  PROVIDE (edata = .);
  __bss_start = .;
  .bss            :
  {
   *(.dynbss)
   *(.bss .bss.* .gnu.linkonce.b.*)
   *(COMMON)
   /* Align here to ensure that the .bss section occupies space up to
      _end.  Align after .bss to ensure correct alignment even if the
      .bss section disappears because there are no input sections.  */
   . = ALIGN(64 / 8);
  }
  . = ALIGN(64 / 8);
  _end = .;
  PROVIDE (end = .);
  /* Stabs debugging sections.  */
  .stab          0 : { *(.stab) }
  .stabstr       0 : { *(.stabstr) }
  .stab.excl     0 : { *(.stab.excl) }
  .stab.exclstr  0 : { *(.stab.exclstr) }
  .stab.index    0 : { *(.stab.index) }
  .stab.indexstr 0 : { *(.stab.indexstr) }
  .comment       0 : { *(.comment) }
  /* DWARF debug sections.
     Symbols in the DWARF debugging sections are relative to the beginning
     of the section so we begin them at 0.  */
  /* DWARF 1 */
  .debug          0 : { *(.debug) }
  .line           0 : { *(.line) }
  /* GNU DWARF 1 extensions */
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
  .debug_sfnames  0 : { *(.debug_sfnames) }
  /* DWARF 1.1 and DWARF 2 */
  .debug_aranges  0 : { *(.debug_aranges) }
  .debug_pubnames 0 : { *(.debug_pubnames) }
  /* DWARF 2 */
  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }
  .debug_abbrev   0 : { *(.debug_abbrev) }
  .debug_line     0 : { *(.debug_line) }
  .debug_frame    0 : { *(.debug_frame) }
  .debug_str      0 : { *(.debug_str) }
  .debug_loc      0 : { *(.debug_loc) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
  /* SGI/MIPS DWARF 2 extensions */
  .debug_weaknames 0 : { *(.debug_weaknames) }
  .debug_funcnames 0 : { *(.debug_funcnames) }
  .debug_typenames 0 : { *(.debug_typenames) }
  .debug_varnames  0 : { *(.debug_varnames) }
}
@


1.1.2.3
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
/*	$NetBSD: kern.ldscript,v 1.1.2.2 2002/06/23 17:43:27 jdolecek Exp $	*/
d11 1
a11 1
OUTPUT_ARCH(i386:x86-64)
@


1.1.12.1
log
@Remove files (requested by tron in ticket #1456):

x86_64 was renamed to amd64 in -current, and since x86_64 is not
supported on the netbsd-1-6 branch, there is no sense in keeping this
obsolete code on the branch.

approved by fvdl.
@
text
@d1 1
a1 1
/*	$NetBSD: kern.ldscript,v 1.1 2001/12/29 02:24:06 thorpej Exp $	*/
@


1.1.10.1
log
@catch up with -current.
@
text
@d1 1
a1 1
/*	$NetBSD: kern.ldscript,v 1.2 2002/06/05 15:06:56 fvdl Exp $	*/
d11 1
a11 1
OUTPUT_ARCH(i386:x86-64)
@
