[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 : 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


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

2019-01-31 Thread pkoning at equallogic dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24144

Paul Koning  changed:

   What|Removed |Added

 CC||pkoning at equallogic dot com

-- 
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


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

2019-01-31 Thread pkoning at equallogic dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24144

--- Comment #2 from Paul Koning  ---
GCC sets the max alignment to 2 bytes for pdp11, since alignment larger than
that is not useful on that machine.  It may make sense for binutils to apply
the same limit.

-- 
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


[Bug ld/24041] Invalid Memory Address Dereference exists in the function elf_link_add_object_symbols in elflink.c in bfd

2019-01-31 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24041

--- Comment #3 from wcventure  ---
CVE-2018-20651

-- 
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