Skip to content

Commit

Permalink
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.
Browse files Browse the repository at this point in the history
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle
	NO_WEAK_ALIAS.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
  • Loading branch information
Roland McGrath committed Nov 18, 2005
1 parent 3416271 commit d11edae
Showing 4 changed files with 22 additions and 7 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2005-11-18 Andreas Schwab <schwab@suse.de>

* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.

* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle
NO_WEAK_ALIAS.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.

2005-11-18 Paul Brook <paul@codesourcery.com>

* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.
1 change: 0 additions & 1 deletion sysdeps/powerpc/powerpc32/fpu/s_lround.S
Original file line number Diff line number Diff line change
@@ -79,7 +79,6 @@ ENTRY (__lround)
b .L9
END (__lround)

strong_alias (__lround, __lround)
weak_alias (__lround, lround)

strong_alias (__lround, __lroundf)
8 changes: 7 additions & 1 deletion sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S
Original file line number Diff line number Diff line change
@@ -44,7 +44,11 @@
#define stackblock 20

#ifndef __socket
#define __socket P(__,socket)
# ifndef NO_WEAK_ALIAS
# define __socket P(__,socket)
# else
# define __socket socket
# endif
#endif

.text
@@ -114,4 +118,6 @@ ENTRY(__socket)

PSEUDO_END (__socket)

#ifndef NO_WEAK_ALIAS
weak_alias (__socket, socket)
#endif
12 changes: 7 additions & 5 deletions sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S
Original file line number Diff line number Diff line change
@@ -41,12 +41,12 @@

#define stackblock 80 /* offset to socket parm area. */

#ifndef socket
/* If this is just socket.S leave it alone! */
#else
#ifndef __socket
#define __socket P(__,socket)
#endif
# ifndef NO_WEAK_ALIAS
# define __socket P(__,socket)
# else
# define __socket socket
# endif
#endif

.text
@@ -120,4 +120,6 @@ ENTRY(__socket)
cfi_endproc
PSEUDO_END (__socket)

#ifndef NO_WEAK_ALIAS
weak_alias (__socket, socket)
#endif

0 comments on commit d11edae

Please sign in to comment.