[ANNOUNCEMENT] Updated: binutils-20001029-2.tar.gz

Charles Wilson cwilson@ece.gatech.edu
Sat Nov 18 15:49:00 GMT 2000


Chris Faylor wrote:
> 
> - Fix from DJ for getting ordinal values right when generating a DLL.
> 

I'm not convinced this actually did the trick.  I rebuilt libXpm-noX 
(which uses a def file with 'skipped' numbers -- since I want to keep 
the ordinals the same between the -X and the -noX versions, but the 
-noX is missing a few functions).

However, neither the libXpm-noX dll built using the OLD linker, or 
the one built using the NEW linker, obey the ordinals specified in 
the .def file. 

Because of this, installing the new dll breaks existing apps that 
depend on the old one. (I know that *fixing* this problem so that 
dlls slavishly follow the def file will *also* break existing apps 
since the old dll used the wrong ordinals too.  However, I'd rather 
break things because the new version is *right*, instead of merely 
wrong in a different way)

--Chuck

(Turn off line-wrapping to view)

exports from the dlls found using objdump -p:

DEF FILE                         DLL built with OLD linker          DLL built with NEW linker
 XpmAttributesSize @1            [   0] XpmAttributesSize           [   0] XpmAttributesSize
 XpmCreateBufferFromImage @2     [   1] XpmCreateBufferFromImage    [   1] XpmCreateBufferFromImage
 XpmCreateBufferFromXpmImage @4  [   2] XDefaultVisual              [   2] xpmFreeColorTable
 XpmCreateDataFromImage @5       [   3] XImageFree                  [   3] XpmCreateBufferFromXpmImage
 XpmCreateDataFromXpmImage @7    [   4] XpmCreateBufferFromXpmImage [   4] XpmCreateDataFromImage
 XpmCreateImageFromBuffer @8     [   5] XpmCreateDataFromImage      [   5] xpmFreeRgbNames
 XpmCreateImageFromData @9       [   6] XpmCreateDataFromXpmImage   [   6] XpmCreateDataFromXpmImage
 XpmCreateImageFromXpmImage @10  [   7] XpmCreateImageFromBuffer    [   7] XpmCreateImageFromBuffer
 XpmCreateXpmImageFromBuffer @14 [   8] XpmCreateImageFromData      [   8] XpmCreateImageFromData
 XpmCreateXpmImageFromData @15   [   9] XpmCreateImageFromXpmImage  [   9] XpmCreateImageFromXpmImage
 XpmCreateXpmImageFromImage @16  [  10] XpmCreateXpmImageFromBuffer [  10] xpmGetCmt
 XpmFree @18                     [  11] XpmCreateXpmImageFromData   [  11] xpmGetRGBfromName
 XpmFreeAttributes @19           [  12] XpmFree                     [  12] xpmGetRgbName
 XpmFreeExtensions @20           [  13] XpmFreeExtensions           [  13] XpmCreateXpmImageFromBuffer
 XpmFreeXpmImage @21             [  14] XpmGetErrorString           [  14] XpmCreateXpmImageFromData
 XpmFreeXpmInfo @22              [  15] XpmCreateXpmImageFromImage  [  15] XpmCreateXpmImageFromImage
 XpmGetErrorString @23           [  16] XpmLibraryVersion           [  16] xpmGetString
 XpmLibraryVersion @24           [  17] XpmReadFileToImage          [  17] XpmFree
 XpmReadFileToBuffer @25         [  18] XpmFreeAttributes           [  18] XpmFreeAttributes
 XpmReadFileToData @26           [  19] XpmReadFileToXpmImage       [  19] XpmFreeExtensions
 XpmReadFileToImage @27          [  20] XpmFreeXpmImage             [  20] XpmFreeXpmImage
 XpmReadFileToXpmImage @29       [  21] XpmFreeXpmInfo              [  21] XpmFreeXpmInfo
 XpmWriteFileFromBuffer @30      [  22] XpmWriteFileFromBuffer      [  22] XpmGetErrorString
 XpmWriteFileFromData @31        [  23] boundCheckingRealloc        [  23] XpmLibraryVersion
 XpmWriteFileFromImage @32       [  24] XpmReadFileToBuffer         [  24] XpmReadFileToBuffer
 XpmWriteFileFromXpmImage @34    [  25] XpmReadFileToData           [  25] XpmReadFileToData
                                 [  26] xpmFreeColorTable           [  26] XpmReadFileToImage
                                 [  27] xpmFreeRgbNames             [  27] xpmHashIntern
                                 [  28] xpmGetCmt                   [  28] XpmReadFileToXpmImage
                                 [  29] xpmGetRGBfromName           [  29] XpmWriteFileFromBuffer
                                 [  30] XpmWriteFileFromData        [  30] XpmWriteFileFromData
                                 [  31] XpmWriteFileFromImage       [  31] XpmWriteFileFromImage
                                 [  32] xpmGetRgbName               [  32] xpmHashSlot
                                 [  33] XpmWriteFileFromXpmImage    [  33] XpmWriteFileFromXpmImage
                                 [  34] xpmGetString                [  34] xpmHashTableFree
                                 [  35] xpmHashIntern               [  35] xpmHashTableInit
                                 [  36] xpmHashSlot                 [  36] xpmInitAttributes
                                 [  37] xpmHashTableFree            [  37] xpmInitXpmImage
                                 [  38] xpmHashTableInit            [  38] xpmInitXpmInfo
                                 [  39] xpmInitAttributes           [  39] xpmNextString
                                 [  40] xpmInitXpmImage             [  40] xpmNextUI
                                 [  41] xpmInitXpmInfo              [  41] xpmNextWord
                                 [  42] xpmNextString               [  42] xpmParseColors
                                 [  43] xpmNextUI                   [  43] xpmParseData
                                 [  44] xpmNextWord                 [  44] xpmParseDataAndCreate
                                 [  45] xpmParseColors              [  45] xpmParseExtensions
                                 [  46] xpmParseData                [  46] xpmParseHeader
                                 [  47] xpmParseDataAndCreate       [  47] xpmParseValues
                                 [  48] xpmParseExtensions          [  48] xpmReadRgbNames
                                 [  49] xpmParseHeader              [  49] xpmSetAttributes
                                 [  50] xpmParseValues              [  50] xpmSetInfo
                                 [  51] xpmReadRgbNames             [  51] xpmSetInfoMask
                                 [  52] xpmSetAttributes            [  52] xpmatoui
                                 [  53] xpmSetInfo                  [  53] xpmstrcasecmp
                                 [  54] xpmSetInfoMask              [  99] boundCheckingMalloc
                                 [  55] xpmatoui                    [ 100] boundCheckingCalloc
                                 [  56] xpmstrcasecmp               [ 101] boundCheckingRealloc
 boundCheckingMalloc @100        [  99] boundCheckingMalloc         [ 102] XDefaultVisual
 boundCheckingCalloc @101        [ 100] boundCheckingCalloc         [ 103] XDefaultScreen
 boundCheckingRealloc @102       [ 103] XDefaultScreen              [ 104] XDefaultDepth
 XDefaultVisual @103             [ 104] XDefaultDepth               [ 105] XDefaultColormap
 XDefaultScreen @104             [ 105] XDefaultColormap            [ 106] XParseColor
 XDefaultDepth @105              [ 106] XParseColor                 [ 107] XAllocColor
 XDefaultColormap @106           [ 107] XAllocColor                 [ 108] XQueryColors
 XParseColor @107                [ 108] XQueryColors                [ 109] XFreeColors
 XAllocColor @108                [ 109] XFreeColors                 [ 110] XCreateImage
 XQueryColors @109               [ 110] XCreateImage                [ 111] XImageFree
 XFreeColors @110                [ 112] XDestroyImage               [ 112] XDestroyImage
 XCreateImage @111               
 XImageFree @112                 
 XDestroyImage @113               




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list