Change linker scripts

pull/35/head
Andre Richter 5 years ago
parent 9cd0f6e6a8
commit dd4a132259
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

Binary file not shown.

@ -10,8 +10,8 @@ SECTIONS
.text : .text :
{ {
*(.text) *(.text._start) *(.text*)
} }
/DISCARD/ : { *(.comment) } /DISCARD/ : { *(.comment*) }
} }

@ -2,6 +2,8 @@
// //
// Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com> // Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com>
.section ".text._start"
.global _start .global _start
_start: _start:

@ -10,26 +10,26 @@ SECTIONS
.text : .text :
{ {
*(.text) *(.text._start) *(.text*)
} }
.rodata : .rodata :
{ {
*(.rodata) *(.rodata*)
} }
.data : .data :
{ {
*(.data) *(.data*)
} }
/* Align to 8 byte boundary */ /* Align to 8 byte boundary */
.bss ALIGN(8): .bss ALIGN(8):
{ {
__bss_start = .; __bss_start = .;
*(.bss); *(.bss*);
__bss_end = .; __bss_end = .;
} }
/DISCARD/ : { *(.comment) } /DISCARD/ : { *(.comment*) }
} }

@ -2,6 +2,8 @@
// //
// Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com> // Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com>
.section ".text._start"
.global _start .global _start
_start: _start:

Binary file not shown.

Binary file not shown.

@ -10,26 +10,26 @@ SECTIONS
.text : .text :
{ {
*(.text) *(.text._start) *(.text*)
} }
.rodata : .rodata :
{ {
*(.rodata) *(.rodata*)
} }
.data : .data :
{ {
*(.data) *(.data*)
} }
/* Align to 8 byte boundary */ /* Align to 8 byte boundary */
.bss ALIGN(8): .bss ALIGN(8):
{ {
__bss_start = .; __bss_start = .;
*(.bss); *(.bss*);
__bss_end = .; __bss_end = .;
} }
/DISCARD/ : { *(.comment) } /DISCARD/ : { *(.comment*) }
} }

@ -2,6 +2,8 @@
// //
// Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com> // Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com>
.section ".text._start"
.global _start .global _start
_start: _start:

Loading…
Cancel
Save