Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
2004-10-09  Andreas Schwab  <schwab@suse.de>

	* sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as
	lvalue.

	* sysdeps/m68k/fpu/bits/mathinline.h: Remove __THROW from inline
	definitions.
  • Loading branch information
Andreas Schwab committed Oct 9, 2004
1 parent 4e448be commit aff40e5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2004-10-09 Andreas Schwab <schwab@suse.de>

* sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as
lvalue.

* sysdeps/m68k/fpu/bits/mathinline.h: Remove __THROW from inline
definitions.

2004-10-07 Andreas Schwab <schwab@suse.de>

* misc/sys/uio.h: Change __vector to __iovec to avoid clash with
Expand Down
22 changes: 13 additions & 9 deletions sysdeps/m68k/memcopy.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* memcopy.h -- definitions for memory copy functions. Motorola 68020 version.
Copyright (C) 1991, 1997 Free Software Foundation, Inc.
Copyright (C) 1991, 1997, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Torbjorn Granlund (tege@sics.se).
Expand Down Expand Up @@ -68,29 +68,33 @@
do \
{ \
size_t __nblocks = (nbytes) / 32 + 1; \
op_t *__dst_ep = (op_t *) (dst_ep); \
op_t *__src_ep = (op_t *) (src_ep); \
switch ((nbytes) / sizeof (op_t) % 8) \
do \
{ \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 7: \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 6: \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 5: \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 4: \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 3: \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 2: \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 1: \
*--((op_t *) dst_ep) = *--((op_t *) src_ep); \
*--__dst_ep = *--__src_ep; \
case 0: \
__nblocks--; \
} \
while (__nblocks != 0); \
(nbytes_left) = (nbytes) % sizeof (op_t); \
(dst_ep) = (unsigned long) __dst_ep; \
(src_ep) = (unsigned long) __src_ep; \
} while (0)

#endif

0 comments on commit aff40e5

Please sign in to comment.