Changes between Initial Version and Version 1 of Ticket #104
- Timestamp:
- Aug 27, 2006, 5:41:15 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #104
- Property Keywords emximp added
- Property Milestone libc-0.6 → libc-0.6.2
- Property Summary emximp process def files with alias names in wrong way → emximp: Processes aliased exports in the wrong way
- Property Type → defect
- Property Version 1.1 → 0.6
-
Ticket #104 – Description
initial v1 1 1 emximp create wrong function name, while converted def file, provided alias name in EXPORT section. 2 For example, lines in input .def file[[BR]] 2 For example, lines in input .def file 3 {{{ 4 LIBRARY ZLIB2 5 EXPORTS 6 zlibVersion = _zlibVersion 7 deflate = _deflate 8 }}} 9 will cause the following text in output .imp file (same for .a and .lib): 10 {{{ 11 ; -------- zlib2.lib -------- 12 zlibVersion ZLIB2 _zlibVersion ? 13 deflate ZLIB2 _deflate ? 14 }}} 3 15 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]] 16 While the destination shall looks like this: 17 {{{ 18 ; -------- zlib2.lib -------- 19 zlibVersion ZLIB2 zlibVersion ? 20 deflate ZLIB2 deflate ? 21 }}} 19 22 20 23 The reason of this bug in emx\src\libmoddef\moddef2.c … … 22 25 This also emxomfld and emxbind. 23 26 Some 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, like25 26 27 weakld: error: Unresolved symbol (UNDEF) 'deflate'.