Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/stand/cdboot Use the same linker script as sys...



details:   https://anonhg.NetBSD.org/src/rev/57be3f3a6242
branches:  trunk
changeset: 356096:57be3f3a6242
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Sep 01 07:29:56 2017 +0000

description:
Use the same linker script as sys/arch/hppa/stand/boot and fix the gcc
5.3 problem here as well.

diffstat:

 sys/arch/hppa/stand/cdboot/ld.script |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r 1a4766900eac -r 57be3f3a6242 sys/arch/hppa/stand/cdboot/ld.script
--- a/sys/arch/hppa/stand/cdboot/ld.script      Fri Sep 01 07:21:01 2017 +0000
+++ b/sys/arch/hppa/stand/cdboot/ld.script      Fri Sep 01 07:29:56 2017 +0000
@@ -1,6 +1,6 @@
-/*     $NetBSD: ld.script,v 1.1 2014/02/24 07:23:43 skrll Exp $        */
+/*     $NetBSD: ld.script,v 1.2 2017/09/01 07:29:56 skrll Exp $        */
 
-/*     $OpenBSD: ld.script,v 1.1 2003/03/28 22:42:26 mickey Exp $      */
+/*     $OpenBSD: ld.script,v 1.2 1999/04/20 20:02:37 mickey Exp $      */
 
 OUTPUT_FORMAT("elf32-hppa")
 OUTPUT_ARCH(hppa)
@@ -12,18 +12,18 @@
        . = + SIZEOF_HEADERS;
        .text : {
                *(.text)
-               *(.text.*)
+               *(.text.1)
                *(.rodata)
                *(.rodata1)
                *($CODE$)
-               etext = .;
-       } = 0x08000240
+               etext = ABSOLUTE(.);
+       } = 0x08000240 /* nop */
 
        /* Read-write sections, merged into data segment: */
        .data : {
                $global$ = .;
                *(.data)
-               *(.data1)
+               *(.data*)
                *(.sdata)
                *(.sdata2)
                *(.dynamic)



Home | Main Index | Thread Index | Old Index