diff options
author | Alan Modra <amodra@gmail.com> | 2004-04-27 03:13:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-04-27 03:13:15 +0000 |
commit | 1829f4b2af96932cb1c6aeca4815c7c5dd706f3d (patch) | |
tree | 6cf639d7d0e651fe15dd790b34176bd576dc3ac6 /bfd/elfxx-ia64.c | |
parent | 0b608360be1b90d88f8869f82e0fb29bf6f38525 (diff) | |
download | gdb-1829f4b2af96932cb1c6aeca4815c7c5dd706f3d.zip gdb-1829f4b2af96932cb1c6aeca4815c7c5dd706f3d.tar.gz gdb-1829f4b2af96932cb1c6aeca4815c7c5dd706f3d.tar.bz2 |
* elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
structure field removed in 2004-04-24 patch.
* elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix.
* elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>):
Constify hdr arg.
* elf32-arm.h (elf32_arm_section_flags): Likewise.
* elf64-alpha.c (elf64_alpha_section_flags): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_flags): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section
field before calling elf_backend_section_flags.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r-- | bfd/elfxx-ia64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index b19aac2..20d9083 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -186,7 +186,7 @@ static bfd_boolean is_unwind_section_name static bfd_boolean elfNN_ia64_section_from_shdr PARAMS ((bfd *, Elf_Internal_Shdr *, const char *)); static bfd_boolean elfNN_ia64_section_flags - PARAMS ((flagword *, Elf_Internal_Shdr *)); + PARAMS ((flagword *, const Elf_Internal_Shdr *)); static bfd_boolean elfNN_ia64_fake_sections PARAMS ((bfd *abfd, Elf_Internal_Shdr *hdr, asection *sec)); static void elfNN_ia64_final_write_processing @@ -1271,7 +1271,7 @@ elfNN_ia64_section_from_shdr (abfd, hdr, name) static bfd_boolean elfNN_ia64_section_flags (flags, hdr) flagword *flags; - Elf_Internal_Shdr *hdr; + const Elf_Internal_Shdr *hdr; { if (hdr->sh_flags & SHF_IA_64_SHORT) *flags |= SEC_SMALL_DATA; |