[Bug ld/24144] Gnu ld for PDP-11 is creating corrupt output. NULL inserted in data section.

2019-02-22 Thread mattislind at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24144 --- Comment #5 from Mattis Lind --- Thank you Paul for adding your files! Just a comment on the alignment. It might very well be that an alignment of two puts the nulls somewhere outside the data section. Hover I added a separate make target

[Bug ld/24144] Gnu ld for PDP-11 is creating corrupt output. NULL inserted in data section.

2019-01-31 Thread mattislind at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24144 --- Comment #1 from Mattis Lind --- 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 = 0200; SECTIONS { .text phys

[Bug ld/24144] New: Gnu ld for PDP-11 is creating corrupt output. NULL inserted in data section.

2019-01-27 Thread mattislind at gmail dot com
Severity: critical Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: mattislind at gmail dot com Target Milestone: --- When linking PDP-11 a.out files the linker seemingly random replaces bytes in the data section with NULL bytes