bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/21992] New: Invalid entry point used for executables on Wi


From: freddy77 at gmail dot com
Subject: [Bug binutils/21992] New: Invalid entry point used for executables on Windows
Date: Wed, 23 Aug 2017 08:14:41 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21992

            Bug ID: 21992
           Summary: Invalid entry point used for executables on Windows
           Product: binutils
           Version: 2.29
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: freddy77 at gmail dot com
  Target Milestone: ---

Created attachment 10359
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10359&action=edit
Proposed patch

If you specify -pie option a different entry point is used for PE/PE+
executables, specifically the entry point for a DLL.

This for instance affects attempt to use --dynamicbase which needs an
relocatable executable. As different thread on internet suggests to use -pie
option to enable relocations on an executable the current behaviour seems
wrong.

I tested with a project we have and with this patch and --dynamicbase --pie
--subsystem console the correct entry point is called.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]