home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13701 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.6 KB  |  51 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!pipex!tadtec!paul
  3. From: paul@tadsrc.tadtec.co.uk (Paul Chown)
  4. Subject: Assembler... HELP!
  5. Organization: Tadpole Technology plc
  6. Distribution: comp.unix.aix
  7. Date: Mon, 25 Jan 1993 20:01:17 GMT
  8. Message-ID: <PAUL.93Jan25150117@tadsrc.tadtec.co.uk>
  9. Sender: usenet@tadtec.uucp (news admin)
  10. Nntp-Posting-Host: tadsrc.tadtec.co.uk
  11. Lines: 38
  12.  
  13.  
  14. Hi Folks,
  15.     This is a pretty basic question, but it is driving me completely up
  16. the wall. Could someone please explain to me (by e-mail so as not to irritate
  17. the netfolks) how to generate a global data symbol using the AIX assembler.
  18. The 'C' compiler can obviously do it, and I can generate global text symbols
  19. as follows:
  20.  
  21. >     .csect
  22. > start:
  23. >     .globl start
  24.  
  25. but if I try
  26.  
  27. >     .dsect .data
  28. > bdata:
  29. >     .globl bdata
  30.  
  31. then the assembler bombs out on the .globl line with the message:
  32.  
  33.     'Check that the .globl name is a relocatable expression'
  34.  
  35. I have tried about 300 ways to achieve the same end and I won't bore you with
  36. them here, but none of them came even close to working. Any solutions would
  37. be gratefully received, and if anyone knows of some sort of FTP-able
  38. documentation on the AIX assembler then that would even better.
  39.  
  40. Regards,
  41.  
  42. Paul
  43.  
  44. +--------+--------------------------------------------------------------------
  45. |    __  | "Nobody asked *your* opinion," said Alice
  46. |   /++\ | "Who's making personal remarks now?" the Hatter asked triumphantly
  47. |  /\__/ |
  48. |  \     | Paul Chown              Tadpole Technology plc, Cambridge, England
  49. |  /     | pmc@tadtec.co.uk        Phone: +44 223 250030
  50. +--------+--------------------------------------------------------------------
  51.