mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
112a0ae18b
Although defined in initial TLS/NPTL ABI for m68k and ColdFire [1], kernel support was never pushed upstream. This patch removes the unused m68k vDSO support. Checked with a build against m68k and m68k-coldfire and some basic tests on ARAnyM. * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines, sysdep-rtld-routines): Remove rules. * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]: Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier. (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp, __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier. * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove vDSO path for SHARED. * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file. * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise. * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise. * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise. * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise. * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file. [1] https://lists.debian.org/debian-68k/2007/11/msg00071.html
24 lines
473 B
Makefile
24 lines
473 B
Makefile
# Linux/m68k uses Motorola asm syntax and the ELF format.
|
|
|
|
m68k-syntax-flag = -DMOTOROLA_SYNTAX
|
|
|
|
ifeq ($(subdir),csu)
|
|
sysdep_routines += m68k-helpers
|
|
ifeq (yes,$(build-shared))
|
|
sysdep_routines += divdi3
|
|
shared-only-routines += divdi3
|
|
CPPFLAGS-divdi3.c = -Din_divdi3_c
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(subdir),misc)
|
|
sysdep_routines += mremap
|
|
sysdep_headers += sys/reg.h
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
sysdep-dl-routines += dl-static
|
|
sysdep-others += lddlibc4
|
|
install-bin += lddlibc4
|
|
endif
|