On Mon, Jan 31, 2022 at 4:49 PM Samuel Thibault <samuel.thiba...@gnu.org> wrote: > > Hello, > > H.J. Lu, le lun. 31 janv. 2022 16:14:59 -0800, a ecrit: > > > +#define SET_RELHOOK(NAME, HOOK) \ > > > + asm(".section " #NAME",\"aR\"\n" \ > > > + ".quad "#HOOK" - .\n" \ > > > + ".section .text"); > > > + > > > +#endif /* set_hooks_arch.h */ > > > > SET_RELHOOK is used only for hurd which doesn't support x86-64. > > We plan to support x86-64 relatively soon. >
Then please put it under the x86-64 directory for hurd. It doesn't belong to sysdeps/x86_64. -- H.J.