HPUX function address.

John David Anglin dave@hiauly1.hia.nrc.ca
Tue Oct 14 23:25:00 GMT 2003


> I think it should print 0x104fc, right?

Wrong.  A function pointer may point to a function descriptor.  You
have to test the plabel bit to determine if a function pointer points
to a function descriptor or not.  Get a copy of the HP-UX Runtime
Architecture document

http://h21007.www2.hp.com/dspp/tech/tech_TechTypeListingPage_IDX/1,1704,10403,00.html

for more information.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc mailing list