glibc/sysdeps/unix/sysv/linux/riscv
Joseph Myers a44061398c Remove unused frame.h header, sigcontextinfo.h macros.
The glibc-internal header frame.h was used in the old
debug/backtrace.c but is now unused.  Similarly, there are some
sigcontextinfo.h macros that are used nowhere in glibc -
ADVANCE_STACK_FRAME and FIRST_FRAME_POINTER were used in the old
debug/backtrace.c, while SIGCONTEXT_EXTRA_ARGS, GET_FRAME, GET_STACK
and CALL_SIGHANDLER were unused even before the removal of that old
implementation (beyond uses of SIGCONTEXT_EXTRA_ARGS in definitions of
CALL_SIGHANDLER).  This patch removes all the unused frame.h headers
and definitions of those macros.

Tested with build-many-glibcs.py.

	* sysdeps/generic/frame.h: Remove file.
	* sysdeps/arm/frame.h: Likewise.
	* sysdeps/hppa/frame.h: Likewise.
	* sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
	macro.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
	Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(ADVANCE_STACK_FRAME): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(FIRST_FRAME_POINTER): Likewise.
	(ADVANCE_STACK_FRAME): Likewise.
	(GET_STACK): Likewise.
	(GET_FRAME): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(ADVANCE_STACK_FRAME): Likewise.
	(GET_STACK): Likewise.
	(GET_FRAME): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
	(SIGCONTEXT_EXTRA_ARGS): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(CALL_SIGHANDLER): Likewise.
2018-03-22 16:40:51 +00:00
..
bits Add MAP_SYNC from Linux 4.15. 2018-02-06 00:36:14 +00:00
rv64 Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
sys RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
atomic-machine.h
clone.S
configure RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
configure.ac RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
dl-cache.h RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
dl-static.c RISC-V: Linux Startup and Dynamic Loading Code 2018-01-29 10:37:28 -08:00
flush-icache.c RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
getcontext.S RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
Implies RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
init-first.c RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
ipc_priv.h RISC-V: Add ipc_priv.h 2018-01-29 10:43:15 -08:00
kernel-features.h Refactor Linux ARCH_FORK implementation 2018-03-07 17:39:40 -03:00
ldconfig.h RISC-V: Linux Startup and Dynamic Loading Code 2018-01-29 10:37:28 -08:00
ldd-rewrite.sed RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
ldsodefs.h RISC-V: Linux Startup and Dynamic Loading Code 2018-01-29 10:37:28 -08:00
libc-vdso.h RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
localplt.data RISC-V: Add ABI Lists 2018-01-29 10:37:28 -08:00
makecontext.c RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
Makefile RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
profil-counter.h
pt-vfork.S
readelflib.c [RISC-V] Fix parsing flags in ELF64 files. 2018-02-09 18:51:32 -05:00
register-dump.h RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
setcontext.S RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
shlib-versions RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
sigcontextinfo.h Remove unused frame.h header, sigcontextinfo.h macros. 2018-03-22 16:40:51 +00:00
swapcontext.S RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
syscall.c
sysdep.h
sysdep.S
ucontext_i.sym RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
ucontext-macros.h RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
Versions RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
vfork.S