vmlinux.lds.S (40d743b8c16a8cf6e30c1d941aa6147f9550ea75) vmlinux.lds.S (51b563fc93c8cb5bff1d67a0a71c374e4a4ea049)
1#include <asm/asm-offsets.h>
2#include <asm/page.h>
3#include <asm-generic/vmlinux.lds.h>
4
5#undef mips
6#define mips mips
7OUTPUT_ARCH(mips)
8ENTRY(kernel_entry)
9PHDRS {
10 text PT_LOAD FLAGS(7); /* RWX */
11 note PT_NOTE FLAGS(4); /* R__ */
12}
1#include <asm/asm-offsets.h>
2#include <asm/page.h>
3#include <asm-generic/vmlinux.lds.h>
4
5#undef mips
6#define mips mips
7OUTPUT_ARCH(mips)
8ENTRY(kernel_entry)
9PHDRS {
10 text PT_LOAD FLAGS(7); /* RWX */
11 note PT_NOTE FLAGS(4); /* R__ */
12}
13jiffies = JIFFIES;
14
13
14ifdef CONFIG_32BIT
15 ifdef CONFIG_CPU_LITTLE_ENDIAN
16 jiffies = jiffies_64;
17 else
18 jiffies = jiffies_64 + 4;
19 endif
20else
21 jiffies = jiffies_64;
22endif
23
15SECTIONS
16{
17#ifdef CONFIG_BOOT_ELF64
18 /* Read-only sections, merged into text segment: */
19 /* . = 0xc000000000000000; */
20
21 /* This is the value for an Origin kernel, taken from an IRIX kernel. */
22 /* . = 0xc00000000001c000; */
23
24 /* Set the vaddr for the text segment to a value
25 * >= 0xa800 0000 0001 9000 if no symmon is going to configured
26 * >= 0xa800 0000 0030 0000 otherwise
27 */
28
29 /* . = 0xa800000000300000; */
30 . = 0xffffffff80300000;
31#endif
24SECTIONS
25{
26#ifdef CONFIG_BOOT_ELF64
27 /* Read-only sections, merged into text segment: */
28 /* . = 0xc000000000000000; */
29
30 /* This is the value for an Origin kernel, taken from an IRIX kernel. */
31 /* . = 0xc00000000001c000; */
32
33 /* Set the vaddr for the text segment to a value
34 * >= 0xa800 0000 0001 9000 if no symmon is going to configured
35 * >= 0xa800 0000 0030 0000 otherwise
36 */
37
38 /* . = 0xa800000000300000; */
39 . = 0xffffffff80300000;
40#endif
32 . = LOADADDR;
41 . = VMLINUX_LOAD_ADDRESS;
33 /* read-only */
34 _text = .; /* Text and read-only data */
35 .text : {
36 TEXT_TEXT
37 SCHED_TEXT
38 LOCK_TEXT
39 KPROBES_TEXT
40 *(.text.*)

--- 105 unchanged lines hidden ---
42 /* read-only */
43 _text = .; /* Text and read-only data */
44 .text : {
45 TEXT_TEXT
46 SCHED_TEXT
47 LOCK_TEXT
48 KPROBES_TEXT
49 *(.text.*)

--- 105 unchanged lines hidden ---