This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: speclib vs. -lc trouble.


Corinna Vinschen wrote:
> On Apr  9 17:57, Dave Korn wrote:
>> Dave Korn wrote:
>>>   I'm just testing this to verify that it generates consistent ordinals and
>>> that there is no change in the overall set of symbols exported from the DLL.
>>> Assuming so, OK?
>>   Hmm, not OK.  Specifying ordinals in the .def files doesn't work how I
>> thought at all.  Withdrawn.
> 
> Too bad, but it's nevertheless nice that you're working on that.

  I examined the link map files.  For some reason a whole bunch of .idata$4
sections go missing when you add -lc:

--- gi4.out	2009-04-09 19:43:22.671875000 +0100
+++ bi4.out	2009-04-09 19:43:29.765625000 +0100
@@ -1,20 +1,11 @@
 00000000 I __head_cygwin1_dll
+00000000 I __head_libc_a
 00000000 I __imp____errno
 00000000 I __imp____getreent
 00000000 I __imp____main
 00000000 I __imp___dll_crt0@0
 00000000 I __imp___exit
-00000000 I __imp___fcntl64
-00000000 I __imp___fdopen64
-00000000 I __imp___fopen64
-00000000 I __imp___fseeko64
-00000000 I __imp___fstat64
-00000000 I __imp___ftello64
-00000000 I __imp___getgid32
-00000000 I __imp___getuid32
 00000000 I __imp___impure_ptr
-00000000 I __imp___lstat64
-00000000 I __imp___stat64
 00000000 I __imp__abort
 00000000 I __imp__access
 00000000 I __imp__asprintf
@@ -93,5 +84,6 @@
 00000000 I __imp__ungetc
 00000000 I __imp__unlink
 00000000 I __imp__vfprintf
+00000000 I __libc_a_iname
 00000000 I __nm___impure_ptr
 00000000 I _cygwin1_dll_iname


  Dunno why yet, but I'm following it up.



    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]