home *** CD-ROM | disk | FTP | other *** search
/ Amiga GigaPD 3 / Amiga_GigaPD_v3_3of3.iso / netbsd / docs / mailinglist-archive / 1993-12 / text0463.txt < prev    next >
Encoding:
Text File  |  1993-06-25  |  1.5 KB  |  42 lines

  1. > Hmm, did I suggest a specific patch?  Or did you look at the config/svr4.h
  2. > macro:
  3.  
  4. Exactly :-)
  5.  
  6. > I must say, the comment confuses me, but I *know* the reason for this
  7. > macro.  The error_mark_node is probably just a flag value in this case.
  8. > Pre 2.5 gcc parsed full initializers before emitting any code.
  9. > In those versions the size of initializers were known before the emitting.
  10. > When RMS put his pet in, this size couldn't be calculated until after
  11. > the emitting phase (at least for char x[] = {...} type of decls).
  12.  
  13. Well, the example given to exhibit the bug, didn't.. I then saw some
  14. construct that caused a .size of -1, and that was (from memory):
  15. static char *foo[] = {
  16.     "bleh", "blah", "gargel",
  17. };
  18.  
  19. However, both versions, old and "fixed" gcc, did a .size -1 on this
  20. construct.
  21.  
  22. > Most architectures don't care about the size directive (well, maybe
  23. > debuggers do) but some shared-lib implementations do, notably SVR4.
  24.  
  25. NetBSD does, too. In fact, "our" shared libraries are much more like
  26. SVR4 shared libs than like SunOS. I felt like dejavu when I did the
  27. netbsd gcc, somehow I did almost the same thing months ago for Amiga
  28. Unix already :-)
  29.  
  30. > Hey MTK, aren't you on GCC2 list anymore?  I think you used to be,
  31.  
  32. Hmm.. I definitely was.. looks like I "vanished", but frankly, I'm quite
  33. happy this way, I already get ways too much mail without being on the gcc2
  34. list...
  35.  
  36. -Markus
  37. -- 
  38. CHUUG/EUnet Switzerland                Markus Wild
  39. Zweierstrasse 35    Tel: +41 1 291 45 80    mw@eunet.ch
  40. CH-8004 Zuerich        Fax: +41 1 291 46 42    S=mw;P=EUnet;A=EUnet;C=CH
  41.  
  42.