mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
54ee14b388
2003-09-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions [libc] (GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and makecontext. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct change for include Altivec support for PPC32. It was not compatible. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: Adjust offsets for ucontext_t change. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Adjust for ucontext_t change. Add compatibility code. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. Patch by Paul Mackerras <paulus@samba.org>. 2003-02-25 Randolph Chung <tausq@debian.org> * sysdeps/hppa/Makefile: Include compat code in build. * sysdeps/hppa/libgcc-compat.c: New file. * sysdeps/hppa/Dist: Add libgcc-compat.c. * sysdeps/hppa/Versions [GLIBC_2.2]: Add __clz_tab.
45 lines
1.5 KiB
Makefile
45 lines
1.5 KiB
Makefile
# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
|
# This file is part of the GNU C Library.
|
|
# Contributed by David Huggins-Daines (dhd@debian.org)
|
|
|
|
# The GNU C Library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
|
|
# The GNU C Library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with the GNU C Library; if not, write to the Free
|
|
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
|
# 02111-1307 USA.
|
|
|
|
# We used to need this since the build process uses ld -r. Now we use
|
|
# ld -r --unique=.text* which does more or less the same thing, but better.
|
|
# CFLAGS-.os += -ffunction-sections
|
|
LDFLAGS-c_pic.os += -Wl,--unique=.text*
|
|
|
|
ifeq ($(subdir),malloc)
|
|
CFLAGS-malloc.c += -DMALLOC_ALIGNMENT=16
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
CFLAGS-rtld.c += -mdisable-fpregs
|
|
dl-routines += dl-symaddr dl-fptr
|
|
rtld-routines += dl-symaddr dl-fptr
|
|
endif
|
|
|
|
ifeq ($(subdir),csu)
|
|
ifeq (yes,$(build-shared))
|
|
# Compatibility
|
|
ifeq (yes,$(have-protected))
|
|
CPPFLAGS-libgcc-compat.c = -DHAVE_DOT_HIDDEN
|
|
endif
|
|
sysdep_routines += libgcc-compat
|
|
shared-only-routines += libgcc-compat
|
|
endif
|
|
endif
|