[BACK]Return to arm-cats.ld CVS log [TXT][DIR] Up to [local] / prex-old / usr / arch / arm

File: [local] / prex-old / usr / arch / arm / arm-cats.ld (download)

Revision 1.1, Fri Jul 18 20:39:27 2008 UTC (15 years, 8 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD

magically allow Prex userland and servers to compile on arm-cats.
finally, we can start to turn on the lights and dance with the whole system;
next steps are to implement kernel time and intr glue, fix reloc for boot task.

OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
PHDRS
{
	text PT_LOAD FILEHDR PHDRS;
	data PT_LOAD;
}
SECTIONS
{
	. = SIZEOF_HEADERS;

	.text : {
		*(.text)
		*(.glue_7)
		*(.glue_7t)
	} : text = 0xff

	. = ALIGN(4);
	.rodata : {
		*(.rodata)
		*(.rodata.*)
	} : text

	. = ALIGN(4);
	.data : {
		*(.data)
	} : data

	. = ALIGN(4);
	.bss .  : {
		*(.bss)
		*(COMMON)
	}

	/DISCARD/ : { *(.comment .note) }
}