diff options
| author | Roland McGrath <[email protected]> | 2006-07-21 10:06:31 +0000 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2006-07-21 10:06:31 +0000 |
| commit | 950246297c03f9ce25f645470250619e40d71018 (patch) | |
| tree | 9727ed2b50b6c582cfb7f36672361f7f3d335876 /backends/ppc_regs.c | |
| parent | 858b189f82ecc32ca7042e74ccb022f794a9f83b (diff) | |
backends/
2006-07-21 Roland McGrath <[email protected]>
* i386_regs.c (i386_register_name): Fix return value when using stpcpy.
* ppc_regs.c (ppc_register_name): Likewise.
* s390_regs.c (s390_register_name): Likewise.
* ia64_retval.c: New file.
* Makefile.am (ia64_SRCS): Add it.
* ia64_init.c (ia64_init): Install return_value_location hook.
* ia64_regs.c: New file.
* Makefile.am (ia64_SRCS): Add it.
* ia64_init.c (ia64_init): Install register_name hook.
tests/
2006-07-21 Roland McGrath <[email protected]>
* allregs.c (struct reginfo): Increase size of name.
(one_register): Assert that it's big enough.
Diffstat (limited to 'backends/ppc_regs.c')
| -rw-r--r-- | backends/ppc_regs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/ppc_regs.c b/backends/ppc_regs.c index 3d3d904d..bea8d357 100644 --- a/backends/ppc_regs.c +++ b/backends/ppc_regs.c @@ -1,5 +1,5 @@ /* Register names and numbers for PowerPC DWARF. - Copyright (C) 2005 Red Hat, Inc. + Copyright (C) 2005, 2006 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -83,11 +83,11 @@ ppc_register_name (Ebl *ebl __attribute__ ((unused)), break; case 64: - return stpcpy (name, "cr") - name; + return stpcpy (name, "cr") + 1 - name; case 65: - return stpcpy (name, "fpscr") - name; + return stpcpy (name, "fpscr") + 1 - name; case 66: - return stpcpy (name, "msr") - name; + return stpcpy (name, "msr") + 1 - name; case 70 + 0 ... 70 + 9: name[0] = 's'; |
