|
From: | mattislind at gmail dot com |
Subject: | [Bug ld/24144] Gnu ld for PDP-11 is creating corrupt output. NULL inserted in data section. |
Date: | Thu, 31 Jan 2019 19:57:50 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24144 --- Comment #1 from Mattis Lind <mattislind at gmail dot com> --- This problem can be worked around as it seems by using different alignment in the linker script. This linker-script make ld work fine: OUTPUT_FORMAT("a.out-pdp11") phys = 00000200; SECTIONS { .text phys : AT(phys) { code = .; *(.text) *(.rodata) . = ALIGN(2); } .data : AT(phys + (data - code)) { data = .; *(.data) . = ALIGN(2); } .bss : AT(phys + (bss - code)) { bss = .; *(.bss) . = ALIGN(2); } end = .; } -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |