From 355bc7f736fb4cbc81979a7fce674858173f34cf Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 1 Feb 2022 18:32:19 +0000 Subject: SET_RELHOOK: merge i386 and x86_64, and move to sysdeps/mach/hurd/x86 It is not Hurd-specific, but H.J. Lu wants it there. Also, dc.a can be used to avoid hardcoding .long vs .quad and thus use the same implementation for i386 and x86_64. --- sysdeps/generic/set-hooks-arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/set-hooks-arch.h b/sysdeps/generic/set-hooks-arch.h index 9101646d70..f04e11abfb 100644 --- a/sysdeps/generic/set-hooks-arch.h +++ b/sysdeps/generic/set-hooks-arch.h @@ -21,7 +21,7 @@ #define _SET_HOOKS_ARCH_H /* Define SET_RELHOOK to a variant of text_set_element that records a relative - offset rather than an absolute address. See sysdeps/i386/set-hooks-arch.h + offset rather than an absolute address. See sysdeps/mach/hurd/x86/set-hooks-arch.h for an example. #define SET_RELHOOK(NAME, HOOK) ... -- cgit v1.2.3