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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to