> > And I don't think it's openssl's fault.
> 
> Yes, it apparently is...

Verify that the attached patch solves the problem.

> > I'm going
> > to ask some linker experts...
> 
> Ask about this .def ... .endef line. Any documentation available
> on-line?

I found the documentation for .def ... .endef, but it doesn't say a
thing about the values of .scl and .type. So I just copied from an .s
file generated by compiler. Verify the values with your people.

This is a preliminary patch and I need to think it through before I
commit it. Maybe we should solve it in some other way (like with ELF).
Any DJGPP out there who care to verify if this doesn't break DJGPP?

Oh! BTW, I probably have to object against calling the package openssl2,
openssl097 is probably more appropriate. A.

*** crypto/perlasm/x86asm.pl.orig       Thu Jul 18 14:38:03 2002
--- crypto/perlasm/x86asm.pl    Thu Jan  9 20:41:52 2003
***************
*** 91,97 ****
  #undef SIZE
  #undef TYPE
  #define SIZE(a,b)
! #define TYPE(a,b)
  #endif /* __CYGWIN || __DJGPP */
  #endif

--- 91,97 ----
  #undef SIZE
  #undef TYPE
  #define SIZE(a,b)
! #define TYPE(a,b)     .def a; .scl 2; .type 32; .endef
  #endif /* __CYGWIN || __DJGPP */
  #endif
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to