mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 10:50:07 +00:00
7b1f8b581f
This patch fixes dlfcn/tststatic5 for PowerPC where pagesize variable was not properly initialized in certain cases. This patch is based on other architecture code.
31 lines
682 B
Makefile
31 lines
682 B
Makefile
abi-variants := 32 64
|
|
abi-32-options := -U__powerpc64__
|
|
abi-32-condition := __WORDSIZE == 32
|
|
abi-64-options := -D__powerpc64__
|
|
abi-64-condition := __WORDSIZE == 64
|
|
abi-64-ld-soname := ld64.so.1
|
|
|
|
ifeq ($(subdir),rt)
|
|
librt-routines += rt-sysdep
|
|
endif
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
gen-as-const-headers += ucontext_i.sym
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
sysdep_routines += dl-vdso
|
|
ifeq ($(build-shared),yes)
|
|
# This is needed for DSO loading from static binaries.
|
|
sysdep-dl-routines += dl-static
|
|
sysdep_routines += dl-static
|
|
sysdep-rtld-routines += dl-static
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(subdir),misc)
|
|
sysdep_headers += bits/ppc.h
|
|
sysdep_routines += get_timebase_freq
|
|
tests += test-gettimebasefreq
|
|
endif
|