This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
FreeBSD port (23): wrong PSEUDO_ENDs
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 11 Jul 2002 14:26:58 +0200 (CEST)
- Subject: FreeBSD port (23): wrong PSEUDO_ENDs
Hi,
In two .S files, PSEUDO_END is called with a wrong argument. Which works
fine for a.out targets, but not for ELF targets.
2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/fork.S: Fix PSEUDO_END argument.
* sysdeps/unix/arm/fork.S: Likewise.
diff -r -c3 glibc-20020627.bak/sysdeps/unix/fork.S glibc-20020627/sysdeps/unix/fork.S
--- glibc-20020627.bak/sysdeps/unix/fork.S Tue Jul 10 23:01:18 2001
+++ glibc-20020627/sysdeps/unix/fork.S Fri Jul 5 01:17:11 2002
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1992, 1994-1995, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,6 +28,6 @@
subl #1, r1
andl r1, r0
ret
-PSEUDO_END(fork)
+PSEUDO_END(__fork)
weak_alias (__fork, fork)
diff -r -c3 glibc-20020627.bak/sysdeps/unix/arm/fork.S glibc-20020627/sysdeps/unix/arm/fork.S
--- glibc-20020627.bak/sysdeps/unix/arm/fork.S Tue Jul 10 23:01:20 2001
+++ glibc-20020627/sysdeps/unix/arm/fork.S Fri Jul 5 01:17:10 2002
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1992, 1994-1995, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,6 +28,6 @@
sub r1, r1, $1
and r0, r0, r1
RETINSTR(mov, pc, r14)
-PSEUDO_END(fork)
+PSEUDO_END(__fork)
weak_alias (__fork, fork)