summaryrefslogtreecommitdiff
path: root/sys/arch/arm/conf/kern.ldscript.head
blob: 7494d27fc83d4bc3f54dc0017b1642a2650907fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*	$NetBSD: kern.ldscript.head,v 1.4 2012/09/01 12:17:04 matt Exp $	*/

OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
	      "elf32-littlearm")
OUTPUT_ARCH(arm)
SECTIONS
{
  . = 0xf0000020;	/* 0x20 == sizeof(a.out header) */

  /* Read-only sections, merged into text segment: */
  .text :
  {
    *(.text)
    *(.text.*)
    __stub_start = .;
    *(.stub)
    __stub_end = .;
    *(.glue_7t) *(.glue_7)
    *(.rodata) *(.rodata.*)