home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!pipex!tadtec!paul
- From: paul@tadsrc.tadtec.co.uk (Paul Chown)
- Subject: Assembler... HELP!
- Organization: Tadpole Technology plc
- Distribution: comp.unix.aix
- Date: Mon, 25 Jan 1993 20:01:17 GMT
- Message-ID: <PAUL.93Jan25150117@tadsrc.tadtec.co.uk>
- Sender: usenet@tadtec.uucp (news admin)
- Nntp-Posting-Host: tadsrc.tadtec.co.uk
- Lines: 38
-
-
- Hi Folks,
- This is a pretty basic question, but it is driving me completely up
- the wall. Could someone please explain to me (by e-mail so as not to irritate
- the netfolks) how to generate a global data symbol using the AIX assembler.
- The 'C' compiler can obviously do it, and I can generate global text symbols
- as follows:
-
- > .csect
- > start:
- > .globl start
-
- but if I try
-
- > .dsect .data
- > bdata:
- > .globl bdata
-
- then the assembler bombs out on the .globl line with the message:
-
- 'Check that the .globl name is a relocatable expression'
-
- I have tried about 300 ways to achieve the same end and I won't bore you with
- them here, but none of them came even close to working. Any solutions would
- be gratefully received, and if anyone knows of some sort of FTP-able
- documentation on the AIX assembler then that would even better.
-
- Regards,
-
- Paul
-
- +--------+--------------------------------------------------------------------
- | __ | "Nobody asked *your* opinion," said Alice
- | /++\ | "Who's making personal remarks now?" the Hatter asked triumphantly
- | /\__/ |
- | \ | Paul Chown Tadpole Technology plc, Cambridge, England
- | / | pmc@tadtec.co.uk Phone: +44 223 250030
- +--------+--------------------------------------------------------------------
-