Skip to content

Commit

Permalink
* sysdeps/i386/i686/memcmp.S: Fix unwind information.
Browse files Browse the repository at this point in the history
	Reported by Paul Pluzhnikov <ppluzhnikov@google.com>.
  • Loading branch information
Ulrich Drepper committed Jul 26, 2008
1 parent 3703468 commit b41f1d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2008-07-25 Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/i686/memcmp.S: Fix unwind information.
Reported by Paul Pluzhnikov <ppluzhnikov@google.com>.

[BZ #6698]
* stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional
parameter for end of buffer. If temporary copy is too large use
Expand Down
5 changes: 3 additions & 2 deletions sysdeps/i386/i686/memcmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
#define ENTRANCE pushl %ebx; cfi_adjust_cfa_offset (4); \
cfi_rel_offset (ebx, 0); ENTER
#define RETURN popl %ebx; cfi_adjust_cfa_offset (-4); \
cfi_restore (ebx); LEAVE; ret; \
cfi_adjust_cfa_offset (4); cfi_rel_offset (ebx, 0);
cfi_restore (ebx); LEAVE; ret

/* Load an entry in a jump table into EBX. TABLE is a jump table
with relative offsets. INDEX is a register contains the index
Expand Down Expand Up @@ -71,6 +70,8 @@ L(bye):
xorl %eax, %eax
RETURN

cfi_adjust_cfa_offset (4)
cfi_rel_offset (ebx, 0)
L(neq):
sbbl %eax, %eax
sbbl $-1, %eax
Expand Down

0 comments on commit b41f1d1

Please sign in to comment.