You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
688 B
Plaintext
49 lines
688 B
Plaintext
OUTPUT_FORMAT("elf32-bigmips")
|
|
OUTPUT_ARCH(mips)
|
|
ENTRY(_start)
|
|
|
|
PHDRS
|
|
{
|
|
irq PT_LOAD AT (0x80000000);
|
|
text PT_LOAD AT (0x80000400);
|
|
data PT_LOAD;
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.intvectors 0x80000000 :
|
|
{
|
|
. = ALIGN(32);
|
|
KEEP(*(.intvectors))
|
|
__intvectors_end = .;
|
|
}:irq
|
|
|
|
.text 0x80000400 :
|
|
{
|
|
*(.text.boot)
|
|
*(.text*)
|
|
*(.rodata*)
|
|
}:text
|
|
|
|
.data :
|
|
{
|
|
*(.data*)
|
|
n64_static_data_end = .;
|
|
}:data
|
|
|
|
.bss (NOLOAD) :
|
|
{
|
|
__bss_start = .;
|
|
*(.bss*)
|
|
*(COMMON)
|
|
__bss_end = .;
|
|
}
|
|
|
|
/DISCARD/ :
|
|
{
|
|
*(.eh_frame*)
|
|
*(.comment)
|
|
*(.note*)
|
|
}
|
|
}
|