Changes between Initial Version and Version 1 of Ticket #104


Ignore:
Timestamp:
Aug 27, 2006, 5:41:15 PM (18 years ago)
Author:
bird
Comment:

Froloff, the imp output shall be:

; -------- zlib2.lib --------
zlibVersion             ZLIB2    zlibVersion ?
deflate                 ZLIB2    deflate ?

not:

; -------- zlib2.lib --------
_zlibVersion            ZLIB2    zlibVersion ?
_deflate                ZLIB2    deflate ?

Also, I've split out the weakld complaint into #115. That's an entirely different matter and has nothing to do with emximp. I'm not entirely sure what this problem has to do with emxomfld and emximp though, I'll try figure out what you mean...

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #104

    • Property Keywords emximp added
    • Property Milestone libc-0.6libc-0.6.2
    • Property Summary emximp process def files with alias names in wrong wayemximp: Processes aliased exports in the wrong way
    • Property Typedefect
    • Property Version 1.10.6
  • Ticket #104 – Description

    initial v1  
    11emximp create wrong function name, while converted def file, provided alias name in EXPORT section.
    2 For example, lines in input .def file[[BR]]
     2For example, lines in input .def file
     3{{{
     4LIBRARY ZLIB2
     5EXPORTS
     6        zlibVersion = _zlibVersion
     7        deflate = _deflate
     8}}}
     9will cause the following text in output .imp file (same for .a and .lib):
     10{{{
     11; -------- zlib2.lib --------
     12zlibVersion            ZLIB2    _zlibVersion ?
     13deflate                ZLIB2    _deflate ?
     14}}}
    315
    4 EXPORTS[[BR]]
    5 ; basic functions[[BR]]
    6         zlibVersion = _zlibVersion[[BR]]
    7         deflate = _deflate[[BR]]
    8 
    9 will cause the following text in output .imp file (same for .a and .lib)[[BR]]
    10 ; -------- zlib2.lib --------[[BR]]
    11 zlibVersion            ZLIB2    _zlibVersion ?[[BR]]
    12 deflate                ZLIB2    _deflate ?[[BR]]
    13 
    14 While the destination must looks like[[BR]]
    15 
    16 ; -------- zlib2.lib --------[[BR]]
    17 _zlibVersion            ZLIB2    zlibVersion ?[[BR]]
    18 _deflate                ZLIB2    deflate ?[[BR]]
     16While the destination shall looks like this:
     17{{{
     18; -------- zlib2.lib --------
     19zlibVersion             ZLIB2    zlibVersion ?
     20deflate                 ZLIB2    deflate ?
     21}}}
    1922
    2023The reason of this bug in emx\src\libmoddef\moddef2.c
     
    2225This also emxomfld and emxbind.
    2326Some changes also preferable in weak.c, function symAddExport(), while parsing def file.
    24 What's the reason to add external name symbol to search list, when internal name provided? This operation always cause uninformative emxomfld warning message, like
    25 
    26 
    27 weakld: error: Unresolved symbol (UNDEF) 'deflate'.