add ExampleTopWithBlockDevice and tests

This commit is contained in:
Howard Mao
2017-06-21 10:56:48 -07:00
parent 1f3e892b64
commit bac811a173
9 changed files with 154 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ SECTIONS
.text : { *(.text) }
/* data segment */
.data : { *(.data) }
.data ALIGN(0x40) : { *(.data) }
.sdata : {
__global_pointer$ = . + 0x800;
@@ -43,7 +43,7 @@ SECTIONS
*(.sbss .sbss.* .gnu.linkonce.sb.*)
*(.scommon)
}
.bss : { *(.bss) }
.bss ALIGN(0x40) : { *(.bss) }
/* thread-local data segment */
.tdata :