diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-11-18 12:13:24 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-11-28 00:03:04 +0000 |
commit | 99f6fdd9eb60f5b8b9b172b1b2cfa627be566a9d (patch) | |
tree | c9322be919eb06c2ccab26845108b66fd0f9572d /binutils/dwarf.h | |
parent | 229a22cfd2fd3c82a1b57d4af104f361cb0b0a33 (diff) | |
download | binutils-99f6fdd9eb60f5b8b9b172b1b2cfa627be566a9d.zip binutils-99f6fdd9eb60f5b8b9b172b1b2cfa627be566a9d.tar.gz binutils-99f6fdd9eb60f5b8b9b172b1b2cfa627be566a9d.tar.bz2 |
binutils: Make some functions static in dwarf.c
The architecture specific register name initialisation routines no
longer need to be externally visible, so make them static.
binutils/ChangeLog:
* dwarf.c (init_dwarf_regnames_i386): Make static.
(init_dwarf_regnames_iamcu): Make static.
(init_dwarf_regnames_x86_64): Make static.
(init_dwarf_regnames_aarch64): Make static.
(init_dwarf_regnames_s390): Make static.
(init_dwarf_regnames_riscv): Make static.
* dwarf.h (init_dwarf_regnames_i386): Delete declaration.
(init_dwarf_regnames_iamcu): Delete declaration.
(init_dwarf_regnames_x86_64): Delete declaration.
(init_dwarf_regnames_aarch64): Delete declaration.
(init_dwarf_regnames_s390): Delete declaration.
(init_dwarf_regnames_riscv): Delete declaration.
Change-Id: I9e350f76f98f46e9e3dd88d502f2a2a83e44cb36
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 8272de8..5ea85d9 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -228,12 +228,6 @@ extern int dwarf_check; extern void init_dwarf_regnames_by_elf_machine_code (unsigned int); extern void init_dwarf_regnames_by_bfd_arch_and_mach (enum bfd_architecture arch, unsigned long mach); -extern void init_dwarf_regnames_i386 (void); -extern void init_dwarf_regnames_iamcu (void); -extern void init_dwarf_regnames_x86_64 (void); -extern void init_dwarf_regnames_aarch64 (void); -extern void init_dwarf_regnames_s390 (void); -extern void init_dwarf_regnames_riscv (void); extern bfd_boolean load_debug_section (enum dwarf_section_display_enum, void *); extern void free_debug_section (enum dwarf_section_display_enum); |