# How to put \hyperdef{category}{name}{} at the same position as \label{name}?

I am using the hyperref package that comes without the destlabel option (I tried to use the most recent version of hyperref, but it doesn't work with my LaTeX version).

So to be able to create named destinations in my PDF whose names are fixed, I use \hyperdef{cat}{name}{}. However, it is placed at a different location than a corresponding \label{name}. The following illustrates my problem

\subsection{General Introduction}
\label{foo}\hyperdef{bar}{foo}{}

The end result I get is (sorry for the ASCII art)

{Here is the \label destination in the PDF}
7.9.5 General Introduction
{Here is the \hyperdef destination in the PDF}

I would like to have the \hyperdef to be at the position that the \label takes. How can I make this happen?

-