[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hurd,commited] hurd: Fix static-PIE startup
From: |
H.J. Lu |
Subject: |
Re: [hurd,commited] hurd: Fix static-PIE startup |
Date: |
Mon, 31 Jan 2022 16:53:19 -0800 |
On Mon, Jan 31, 2022 at 4:49 PM Samuel Thibault <samuel.thibault@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.