* elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
aliasing warning. Remove trailing whitespace throughout file.
This commit is contained in:
parent
fdd12ef3c6
commit
419783084d
|
@ -1,3 +1,8 @@
|
|||
2004-03-16 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
|
||||
aliasing warning. Remove trailing whitespace throughout file.
|
||||
|
||||
2004-03-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* M32R-specific support for 32-bit ELF.
|
||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of BFD, the Binary File Descriptor library.
|
||||
|
@ -1730,13 +1730,14 @@ m32r_elf_create_dynamic_sections (abfd, info)
|
|||
{
|
||||
/* Define the symbol _PROCEDURE_LINKAGE_TABLE_ at the start of the
|
||||
.plt section. */
|
||||
struct elf_link_hash_entry *h = NULL;
|
||||
struct bfd_link_hash_entry *bh = NULL;
|
||||
struct elf_link_hash_entry *h;
|
||||
if (! (_bfd_generic_link_add_one_symbol
|
||||
(info, abfd, "_PROCEDURE_LINKAGE_TABLE_", BSF_GLOBAL, s,
|
||||
(bfd_vma) 0, (const char *) NULL, FALSE,
|
||||
get_elf_backend_data (abfd)->collect,
|
||||
(struct bfd_link_hash_entry **) &h)))
|
||||
get_elf_backend_data (abfd)->collect, &bh)))
|
||||
return FALSE;
|
||||
h = (struct elf_link_hash_entry *) bh;
|
||||
h->elf_link_hash_flags |= ELF_LINK_HASH_DEF_REGULAR;
|
||||
h->type = STT_OBJECT;
|
||||
|
||||
|
|
Loading…
Reference in New Issue