[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/9790] New: LD's "export everything" logic problematic
From: |
mail at colinfinck dot de |
Subject: |
[Bug ld/9790] New: LD's "export everything" logic problematic |
Date: |
26 Jan 2009 21:17:14 -0000 |
I'm from the ReactOS Project and we use LD for linking executables, DLLs and
also drivers.
In ld/pe-dll.c:646, LD checks whether we have an export table and whether the
component to be built is an executable.
This works pretty well for executables and DLLs, but is quite problematic for
drivers: They usually don't export anything, but also don't fall under
info->executable.
Thus, all of its functions are exported by default, which is certainly not the
right way to go.
--
Summary: LD's "export everything" logic problematic
Product: binutils
Version: 2.20 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: mail at colinfinck dot de
CC: bug-binutils at gnu dot org
GCC target triplet: mingw32
http://sourceware.org/bugzilla/show_bug.cgi?id=9790
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/9790] New: LD's "export everything" logic problematic,
mail at colinfinck dot de <=