#524 dlltool Doesn't support

OTHER
closed
nobody
binutils (105)
out-of-date
Known_bugs
2013-02-04
2004-03-13
No

OS: Windows XP Pro SP1
gcc: 3.2.3 (mingw special 20030504-1)
ld: 2.13.90 20030111
mingw: MinGW-3.1.0-1.exe
build env: ran mingw32-make under Windows cmd.exe
w32api: __W32API_VERSION 2.5

dlltool reports a syntax error if it encounters a .def
file with a "SECTIONS" section in it. This prevents the
user from being able to make DLLs with shared sections
in them.

Info about creating DLLs with shared sections:

http://support.microsoft.com/default.aspx?kbid=125677

Discussion

  • Luke Dunstan

    Luke Dunstan - 2004-03-14
    • labels: 105237 --> binutils
    • priority: 5 --> 1
    • summary: dlltool Doesn't support "SECTIONS" section in .def files --> dlltool Doesn't support
     
  • Luke Dunstan

    Luke Dunstan - 2004-03-14

    Logged In: YES
    user_id=30442

    To create shared data in a DLL, use:

    int foo __attribute__((section (".shared"), shared)) = 0;

    (from the GCC manual)

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-04
    • status: open --> closed
    • resolution: --> out-of-date
    • category: --> Known_bugs
    • milestone: Feature_requests --> OTHER
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks