Initial problem description:
I have an application that optionally can use kernel async IO (libaio.so).
As this is optional, I don't want to link the application with -laio, as
otherwise all users have to install libaio RPM.
Therefore, I'm loading libaio.so at runtime via dlopen(), and get the
required function addresses via dlvsym(). Basically, I need io_queue_init(),
io_submit(), and io_getevents().
This works fine on all supported platforms except IA64.
It turns out the __ia64_raw_syscall macro did not include a .proc directive,
which was causing this problem. The fix is to simply add a one line
change to that macro.