home *** CD-ROM | disk | FTP | other *** search
- From: shoe@hpcuhe.cup.hp.com (Jim Schumacher)
- Date: Sat, 29 Aug 1992 03:29:31 GMT
- Subject: Re: that HPUX ld linker again...
- Message-ID: <31480236@hpcuhe.cup.hp.com>
- Organization: Hewlett Packard, Cupertino
- Path: sparky!uunet!usc!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!hpcuhb!hpcuhe!shoe
- Newsgroups: comp.sys.hp
- References: <3280@tivoli.UUCP>
- Lines: 29
-
-
- >/ hpcuhe:comp.sys.hp / stuart@TIVOLI.COM (Stuart Jarriel) / 11:57 am Aug 26, 1992 /
- >Also, Im finding that the linker is issuing the error
- >
- >
- >ld: R_DATA_ONE_SYMBOL fixup in file ds_common.o for code unsat symbol "stupid_test" - use P' fixup
- >
- >where stupid_test is the first function in the first .o file that I pass
- >to the linker with a -b option (trying to build a shared-lib).
- >
- >Has anyone seen the R_DATA_ONE_SYMBOL before, or know what at P' fixup
- >is? It looks like a nice loader diagnostic.
- >----------
-
- I agree, the loader/linker is not always the kindest of beasts when it
- wants to beller. Actually, it is a very detailed message but does not
- map linker talk to english very well. You need to use the P'
- selector when taking the address of a code symbol in assembly.
-
- .ALIGN 8
- .WORD P'some_symbol
-
- Or, if this came from c code, you need to use +z/+Z when you compile.
-
- jim shoe
-
-
-
-
-