2 * AVR32 linker script for the Linux kernel
4 * Copyright (C) 2004-2006 Atmel Corporation
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 #define LOAD_OFFSET 0x00000000
11 #include <asm-generic/vmlinux.lds.h>
13 OUTPUT_FORMAT("elf32-avr32", "elf32-avr32", "elf32-avr32")
18 jiffies
= jiffies_64
+ 4;
22 . = CONFIG_ENTRY_ADDRESS
;
23 .init
: AT(ADDR(.init
) - LOAD_OFFSET
) {
43 __con_initcall_start
= .;
45 __con_initcall_end
= .;
46 __security_initcall_start
= .;
47 *(.security_initcall
.init
)
48 __security_initcall_end
= .;
50 __initramfs_start
= .;
58 .text
: AT(ADDR(.text
) - LOAD_OFFSET
) {
81 __ex_table
: AT(ADDR(__ex_table
) - LOAD_OFFSET
) {
82 __start___ex_table
= .;
84 __stop___ex_table
= .;
91 .data
: AT(ADDR(.data
) - LOAD_OFFSET
) {
95 * First, the init task union, aligned to an 8K boundary.
99 /* Then, the cacheline aligned data */
101 *(.data
.cacheline_aligned
)
103 /* And the rest... */
113 .bss
: AT(ADDR(.bss
) - LOAD_OFFSET
) {
122 /* When something in the kernel is NOT compiled as a module, the module
123 * cleanup code and data are put into these segments. Both can then be
124 * thrown away, as cleanup code is never called unless it's a module.