projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/testsuite/tui: Introduce check_box_contents
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-m68hc1x.c
diff --git
a/bfd/elf32-m68hc1x.c
b/bfd/elf32-m68hc1x.c
index b8aeeae6b96150a63ddbf100fb5c25680aee24f1..7e0fd64f06f426baf0a78ee95a256dd55752076d 100644
(file)
--- a/
bfd/elf32-m68hc1x.c
+++ b/
bfd/elf32-m68hc1x.c
@@
-1,5
+1,5
@@
/* Motorola 68HC11/HC12-specific support for 32-bit ELF
/* Motorola 68HC11/HC12-specific support for 32-bit ELF
- Copyright (C) 1999-20
19
Free Software Foundation, Inc.
+ Copyright (C) 1999-20
20
Free Software Foundation, Inc.
Contributed by Stephane Carrez (stcarrez@nerim.fr)
This file is part of BFD, the Binary File Descriptor library.
Contributed by Stephane Carrez (stcarrez@nerim.fr)
This file is part of BFD, the Binary File Descriptor library.
@@
-1456,20
+1456,21
@@
static void scan_sections_for_abi (bfd *abfd ATTRIBUTE_UNUSED,
/* Tweak the OSABI field of the elf header. */
/* Tweak the OSABI field of the elf header. */
-void
-elf32_m68hc11_
post_process_headers
(bfd *abfd, struct bfd_link_info *link_info)
+bfd_boolean
+elf32_m68hc11_
init_file_header
(bfd *abfd, struct bfd_link_info *link_info)
{
struct m68hc11_scan_param param;
struct m68hc11_elf_link_hash_table *htab;
{
struct m68hc11_scan_param param;
struct m68hc11_elf_link_hash_table *htab;
- _bfd_elf_post_process_headers (abfd, link_info);
+ if (!_bfd_elf_init_file_header (abfd, link_info))
+ return FALSE;
if (link_info == NULL)
if (link_info == NULL)
- return;
+ return
TRUE
;
htab = m68hc11_elf_hash_table (link_info);
if (htab == NULL)
htab = m68hc11_elf_hash_table (link_info);
if (htab == NULL)
- return;
+ return
TRUE
;
m68hc11_elf_get_bank_parameters (link_info);
m68hc11_elf_get_bank_parameters (link_info);
@@
-1485,4
+1486,5
@@
elf32_m68hc11_post_process_headers (bfd *abfd, struct bfd_link_info *link_info)
i_ehdrp = elf_elfheader (abfd);
i_ehdrp->e_flags |= E_M68HC12_BANKS;
}
i_ehdrp = elf_elfheader (abfd);
i_ehdrp->e_flags |= E_M68HC12_BANKS;
}
+ return TRUE;
}
}
This page took
0.035136 seconds
and
4
git commands to generate.