forked from github-linguist/linguist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmlinux.lds by Martin Mares; license GPL v2. link.ld by Anthony Zbierajewski; license GPL v2. ld.script by Wu Zhangjink; license GPL v2.
- Loading branch information
1 parent
164caa2
commit d7207f3
Showing
3 changed files
with
435 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* ld.script for compressed kernel support of MIPS | ||
* | ||
* Copyright (C) 2009 Lemote Inc. | ||
* Author: Wu Zhangjin <[email protected]> | ||
* Copyright (C) 2010 "Wu Zhangjin" <[email protected]> | ||
*/ | ||
|
||
OUTPUT_ARCH(mips) | ||
ENTRY(start) | ||
SECTIONS | ||
{ | ||
/* Text and read-only data */ | ||
/* . = VMLINUZ_LOAD_ADDRESS; */ | ||
.text : { | ||
*(.text) | ||
*(.rodata) | ||
} | ||
/* End of text section */ | ||
|
||
/* Writable data */ | ||
.data : { | ||
*(.data) | ||
/* Put the compressed image here */ | ||
__image_begin = .; | ||
*(.image) | ||
__image_end = .; | ||
CONSTRUCTORS | ||
} | ||
. = ALIGN(16); | ||
_edata = .; | ||
/* End of data section */ | ||
|
||
/* BSS */ | ||
.bss : { | ||
*(.bss) | ||
} | ||
. = ALIGN(16); | ||
_end = .; | ||
|
||
/* Sections to be discarded */ | ||
/DISCARD/ : { | ||
*(.MIPS.options) | ||
*(.options) | ||
*(.pdr) | ||
*(.reginfo) | ||
*(.comment) | ||
*(.note) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* link.ld | ||
*/ | ||
OUTPUT_FORMAT(elf32-i386) | ||
ENTRY(start) | ||
SECTIONS | ||
{ | ||
. = 0x100000; | ||
.text : { *(.text) } | ||
.data : { *(.data) } | ||
.bss : { *(.bss) } | ||
} |
Oops, something went wrong.