glibc/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
David S. Miller 60e8270d6c Fix NULL ucontext->uc_link handling on sparc64.
* sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
	(__start_context): Declare.
	(__makecontext_ret): Delete.
	(__makecontext): Hook up __start_context instead of
	__makecontext_ret.
	* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
	(sysdep_routines): Add __start_context when in stdlib.
2012-11-07 21:01:06 -08:00

10 lines
188 B
Makefile

# See Makeconfig regarding the use of default-abi.
default-abi := 64
sysdep-CFLAGS += -fcall-used-g6
LD += -melf64_sparc
ifeq ($(subdir),stdlib)
sysdep_routines += __start_context
endif