mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.
|
||||||
|
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
|
||||||
|
|
||||||
2008-05-14 Alan Modra <amodra@bigpond.net.au>
|
2008-05-14 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* Makefile.am: Run "make dep-am".
|
* Makefile.am: Run "make dep-am".
|
||||||
|
@ -2464,7 +2464,7 @@ ppc_elf_get_synthetic_symtab (bfd *abfd, long symcount, asymbol **syms,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Add a symbol at the start of the glink branch table. */
|
/* Add a symbol at the start of the glink branch table. */
|
||||||
memset (s, sizeof *s, 0);
|
memset (s, 0, sizeof *s);
|
||||||
s->the_bfd = abfd;
|
s->the_bfd = abfd;
|
||||||
s->flags = BSF_GLOBAL;
|
s->flags = BSF_GLOBAL;
|
||||||
s->section = glink;
|
s->section = glink;
|
||||||
@ -2478,7 +2478,7 @@ ppc_elf_get_synthetic_symtab (bfd *abfd, long symcount, asymbol **syms,
|
|||||||
if (resolv_vma)
|
if (resolv_vma)
|
||||||
{
|
{
|
||||||
/* Add a symbol for the glink PLT resolver. */
|
/* Add a symbol for the glink PLT resolver. */
|
||||||
memset (s, sizeof *s, 0);
|
memset (s, 0, sizeof *s);
|
||||||
s->the_bfd = abfd;
|
s->the_bfd = abfd;
|
||||||
s->flags = BSF_GLOBAL;
|
s->flags = BSF_GLOBAL;
|
||||||
s->section = glink;
|
s->section = glink;
|
||||||
|
@ -3143,7 +3143,7 @@ ppc64_elf_get_synthetic_symtab (bfd *abfd,
|
|||||||
if (resolv_vma)
|
if (resolv_vma)
|
||||||
{
|
{
|
||||||
/* Add a symbol for the main glink trampoline. */
|
/* Add a symbol for the main glink trampoline. */
|
||||||
memset (s, sizeof *s, 0);
|
memset (s, 0, sizeof *s);
|
||||||
s->the_bfd = abfd;
|
s->the_bfd = abfd;
|
||||||
s->flags = BSF_GLOBAL;
|
s->flags = BSF_GLOBAL;
|
||||||
s->section = glink;
|
s->section = glink;
|
||||||
|
Reference in New Issue
Block a user