home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / sysv386 / 12589 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.5 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!login.dkuug.dk!bilse
  2. From: bilse@login.dkuug.dk (Per G. Bilse)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Help: g++ & V.4
  5. Summary: Need help w .section for C++ on V.4
  6. Keywords: g++ c++ V.4 gnu assembler 386
  7. Message-ID: <bilse.712010793@login.dkuug.dk>
  8. Date: 24 Jul 92 20:46:33 GMT
  9. Sender: news@slyrf.dkuug.dk
  10. Organization: ``bilse''
  11. Lines: 25
  12.  
  13. I have a V.4 system (Consensys, to be specific) and have problems
  14. with the assembler output from g++.  For constructors and destructors,
  15. g++ outputs special sections ...
  16.  
  17.   .section .dtors,"a",@progbits .long <address>
  18.  
  19. ... (and with .ctors for constructors).  However, the assembler distinctly
  20. dislikes anything following the ``"a"''.  I've tried unsuccessfully
  21. to fiddle about with the output from g++, trying to use .rodata etc,
  22. but with no success.  Now, the question is if the assembler on
  23. Consensys is out of line, or if the method of handling C++ information
  24. is different on '386 V.4 from that on other V.4s.
  25.  
  26. Any pointers would be greatly apprecia
  27. Any pointers would be greatly appreciated as I'm sort of in dire
  28. straits with this one (I need to get groff running before the end of
  29. the month and groff is written in C++).  If possible, cc to my regular
  30. account (bilse@dkuug.dk) as well as posting.
  31.  
  32. In advance, thanks.
  33. --
  34. Per G. Bilse:   bilse@dkuug.dk   bilse@login.dkuug.dk  per@bilse.dk
  35. work DKUUG, Universitetsparken 1-3, 2100 Copenhagen OE  +45 31 39 73 22
  36. priv Dannebrogsgade 35, DK-1660 Copenhagen V.  +45 31313971
  37.       "It's spaghetti, Jim, but not as we know it"
  38.