[Bug ld/27100] final link failed: bad value

2020-12-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27100

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=de34d42812a0b978b278cd344abeaee7c71fa55c

commit de34d42812a0b978b278cd344abeaee7c71fa55c
Author: Alan Modra 
Date:   Thu Dec 24 15:56:23 2020 +1030

PR27100, final link failed: bad value

The failure on this PR is due to using the same bfd section for
multiple output sections.  Commit 21401fc7bf67 managed to create
duplicate linker script output section statements, but not the actual
bfd sections.

PR 27100
* ldlang.h (lang_output_section_statement_type): Add dup_output.
* ldlang.c (lang_output_section_statement_lookup): Set dup_output.
(init_os): Test dup_output rather than constraint.
* testsuite/ld-scripts/pr27100.d,
* testsuite/ld-scripts/pr27100.s,
* testsuite/ld-scripts/pr27100.t: New test.
* testsuite/ld-scripts/data.exp: Run it.  Don't exclude aout here.
* testsuite/ld-scripts/data.d: Do so here instead.
* testsuite/ld-scripts/fill.d: Likewise.
* testsuite/ld-scripts/fill16.d: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27100] final link failed: bad value

2020-12-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27100

Alan Modra  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #5 from Alan Modra  ---
Fixed, I believe.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/27113] New: libdep not correctly loaded on Windows

2020-12-24 Thread markus.boeck02 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27113

Bug ID: 27113
   Summary: libdep not correctly loaded on Windows
   Product: binutils
   Version: 2.36 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: markus.boeck02 at gmail dot com
  Target Milestone: ---

Recent versions introduced libdep which on Windows is installed in
root/bfd-plugins/libdep.dll. Problem is that along with it libdep.dll.a is also
installed which various tools in binutils attempt to load. This is problematic
as it is not a shared library and Windows opens a message box due to attempted
execution of a non executable image.

Since libdep.dll is a plugin could it be that libdep.dll.a is not supposed to
exist? Or should it be ignored by various binutils tools

-- 
You are receiving this mail because:
You are on the CC list for the bug.