aboutsummaryrefslogtreecommitdiff
path: root/tests/standalone.lds
diff options
context:
space:
mode:
Diffstat (limited to 'tests/standalone.lds')
-rw-r--r--tests/standalone.lds92
1 files changed, 0 insertions, 92 deletions
diff --git a/tests/standalone.lds b/tests/standalone.lds
deleted file mode 100644
index 330fa16..0000000
--- a/tests/standalone.lds
+++ /dev/null
@@ -1,92 +0,0 @@
-OUTPUT_ARCH( "riscv" )
-
-ENTRY( _start )
-
-SECTIONS
-{
-
- /*--------------------------------------------------------------------*/
- /* Code and read-only segment */
- /*--------------------------------------------------------------------*/
-
- /* Begining of code and text segment */
- /* Leave some space for pk's data structures, which includes tohost/fromhost
- * which are special addresses we ought to leave alone. */
- . = 0x80010000;
- _ftext = .;
- PROVIDE( eprol = . );
-
- .text :
- {
- *(.text.init)
- }
-
- /* text: Program code section */
- .text :
- {
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- }
-
- /* rodata: Read-only data */
- .rodata :
- {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
-
- /* End of code and read-only segment */
- PROVIDE( etext = . );
- _etext = .;
-
- /*--------------------------------------------------------------------*/
- /* Initialized data segment */
- /*--------------------------------------------------------------------*/
-
- /* Start of initialized data segment */
- . = ALIGN(16);
- _fdata = .;
-
- /* data: Writable data */
- .data :
- {
- *(.data)
- *(.data.*)
- *(.srodata*)
- *(.gnu.linkonce.d.*)
- *(.comment)
- }
-
- /* End of initialized data segment */
- . = ALIGN(4);
- PROVIDE( edata = . );
- _edata = .;
-
- /*--------------------------------------------------------------------*/
- /* Uninitialized data segment */
- /*--------------------------------------------------------------------*/
-
- /* Start of uninitialized data segment */
- . = .;
- _fbss = .;
-
- /* sbss: Uninitialized writeable small data section */
- . = .;
-
- /* bss: Uninitialized writeable data section */
- . = .;
- _bss_start = .;
- .bss :
- {
- *(.bss)
- *(.bss.*)
- *(.sbss*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- _end = .;
-}