Louis authored on17/12/2018 23:06:28
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,53 +0,0 @@
1
-
2
-ENTRY(main)
3
-
4
-MEMORY
5
-{
6
-  APP (rwx) : ORIGIN = 0, LENGTH = 65536
7
-}
8
-
9
-SECTIONS
10
-{
11
-    .header :
12
-    {
13
-        KEEP(*(.pbl_header))
14
-
15
-    } > APP
16
-
17
-    /* -- DO NOT ADD ANY NEW SECTIONS HERE AND DO NOT CHANGE THE ALIGNMENT -- */
18
-    /* The GNU build ID is tacked to the end of the PebbleProcessInfo struct: */
19
-    .note.gnu.build-id ALIGN(1) : {
20
-        PROVIDE(BUILD_ID = .);
21
-        KEEP(*(.note.gnu.build-id))
22
-    } > APP
23
-
24
-    .text :
25
-    {
26
-        *(.text)
27
-        *(.text.*)
28
-        *(.rodata)
29
-        *(.rodata*)
30
-    } > APP
31
-
32
-    .data :
33
-    {
34
-        KEEP(*(.data))
35
-        *(.data.*)
36
-    } > APP
37
-
38
-    .bss :
39
-    {
40
-        *(.bss)
41
-        *(.bss.*)
42
-    } > APP
43
-
44
-    DISCARD :
45
-    {
46
-        libc.a ( * )
47
-        libm.a ( * )
48
-        libgcc.a ( * )
49
-        *(.eh_frame)
50
-    }
51
-}
52
-
53
-/* vim:filetype=ld */
Louis authored on25/08/2018 23:51:28
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,53 @@
1
+
2
+ENTRY(main)
3
+
4
+MEMORY
5
+{
6
+  APP (rwx) : ORIGIN = 0, LENGTH = 65536
7
+}
8
+
9
+SECTIONS
10
+{
11
+    .header :
12
+    {
13
+        KEEP(*(.pbl_header))
14
+
15
+    } > APP
16
+
17
+    /* -- DO NOT ADD ANY NEW SECTIONS HERE AND DO NOT CHANGE THE ALIGNMENT -- */
18
+    /* The GNU build ID is tacked to the end of the PebbleProcessInfo struct: */
19
+    .note.gnu.build-id ALIGN(1) : {
20
+        PROVIDE(BUILD_ID = .);
21
+        KEEP(*(.note.gnu.build-id))
22
+    } > APP
23
+
24
+    .text :
25
+    {
26
+        *(.text)
27
+        *(.text.*)
28
+        *(.rodata)
29
+        *(.rodata*)
30
+    } > APP
31
+
32
+    .data :
33
+    {
34
+        KEEP(*(.data))
35
+        *(.data.*)
36
+    } > APP
37
+
38
+    .bss :
39
+    {
40
+        *(.bss)
41
+        *(.bss.*)
42
+    } > APP
43
+
44
+    DISCARD :
45
+    {
46
+        libc.a ( * )
47
+        libm.a ( * )
48
+        libgcc.a ( * )
49
+        *(.eh_frame)
50
+    }
51
+}
52
+
53
+/* vim:filetype=ld */