+/rtos

git clone https://git.julia.blue/+/rtos

Vivek MalneediMerge branch 'master' of github.com:EE445M-Sp20/lab-6-vm22967_jbr2558ee4080a

master
415 B22 linesraw
1ENTRY(main)
2
3PHDRS { code PT_LOAD; data PT_LOAD; }
4
5SECTIONS {
6    .text : {
7        *(.text*)
8    } : code
9    .data : {
10/* address of GOT's start */
11        LONG(.)
12        *(.got*)
13/* infinite scream to delimit GOT */
14        LONG(0xAAAAAAAA)
15/* unfortunately ro and rw data have to be combined due to -mno-PDITR */
16        *(.rodata*)
17        *(.data*)
18    } : data
19    .bss : {
20        *(.bss*)
21    } : data
22}