Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/acorn32/stand Adjust for binutils-2.31.1



details:   https://anonhg.NetBSD.org/src/rev/e7a011684a2a
branches:  trunk
changeset: 447033:e7a011684a2a
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 29 00:35:21 2018 +0000

description:
Adjust for binutils-2.31.1

diffstat:

 sys/arch/acorn32/stand/module.ldscript |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r d08dfc7540f3 -r e7a011684a2a sys/arch/acorn32/stand/module.ldscript
--- a/sys/arch/acorn32/stand/module.ldscript    Fri Dec 28 23:53:35 2018 +0000
+++ b/sys/arch/acorn32/stand/module.ldscript    Sat Dec 29 00:35:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: module.ldscript,v 1.1 2006/03/28 20:45:46 bjh21 Exp $ */
+/* $NetBSD: module.ldscript,v 1.2 2018/12/29 00:35:21 christos Exp $ */
 
 /* linker script for generating RISC OS relocatable modules */
 /*
@@ -10,9 +10,15 @@
 
 OUTPUT_ARCH(arm)
 
+PHDRS
+{
+  text PT_LOAD;
+  headers PT_PHDR FILEHDR PHDRS;
+}
+
 SECTIONS
 {
-  .text                : { *(.text) *(.gnu.warning) }
+  .text                : { *(.text) *(.gnu.warning) } :text
   _etext = .;
   PROVIDE (etext = .);
   .rodata      : { *(.rodata) }
@@ -24,4 +30,4 @@
   .bss         : { *(.bss) *(COMMON) }
   _end = .;
   PROVIDE (end = .);
-}
\ No newline at end of file
+}



Home | Main Index | Thread Index | Old Index