-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpinit.ld
36 lines (32 loc) · 1.23 KB
/
mpinit.ld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*****************************************************************************/
/* File: mpinit.ld */
/* */
/* Description: ld script file for initializing multiple (application) */
/* processors. */
/* */
/* Author: Shoily O Rahman <[email protected]> */
/* */
/* Date: Oct 7, 2020 */
/* */
/*****************************************************************************/
OUTPUT_FORMAT(elf32-i386)
OUTPUT_ARCH(i386)
/* This will overwrite default boot sector */
ENTRY(_start)
PHDRS {
text PT_LOAD FILEHDR PHDRS;
data PT_LOAD;
bss PT_LOAD;
}
SECTIONS
{
. = 0X7C00;
.text :
{*(.text); } : text
.data :
{*(.data); } : data
.bss :
{*(.bss); } : bss
. = 0x80007D00;
.high : AT(0x7D00) {*(.high); }
}