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

  1. >>>>> "MTK" == mw  <mw@eunet.ch> writes:
  2. MTK> Well, the example given to exhibit the bug, didn't.. I then saw
  3. MTK> some construct that caused a .size of -1, and that was (from
  4. MTK> memory): static char *foo[] = { "bleh", "blah", "gargel", };
  5.  
  6. MTK> However, both versions, old and "fixed" gcc, did a .size -1 on
  7. MTK> this construct.
  8.  
  9. >> Most architectures don't care about the size directive (well, maybe
  10. >> debuggers do) but some shared-lib implementations do, notably SVR4.
  11.  
  12. MTK> NetBSD does, too. In fact, "our" shared libraries are much more
  13. MTK> like SVR4 shared libs than like SunOS. I felt like dejavu when I
  14. MTK> did the netbsd gcc, somehow I did almost the same thing months
  15. MTK> ago for Amiga Unix already :-)
  16.  
  17. You did also look at the ASM_DECLARE_OBJECT_NAME, didn't you?  They're
  18. a pair, specifically size_directive_output (or sth like that) needs to
  19. be initialized there.  This is just a hint, maybe there's more to it.
  20.  
  21. Niklas
  22.  
  23. Niklas Hallqvist    Phone: +46-(0)31-40 75 00
  24. Applitron Datasystem    Fax:   +46-(0)31-83 39 50
  25. Molndalsvagen 95    Email: niklas@appli.se
  26. S-412 63  GOTEBORG, Sweden     mcsun!seunet!appli!niklas
  27.  
  28.