aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-tic54x.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:03:37 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:21 +0930
commitc348479ddd10079b8b8714598d8e1458d25e095d (patch)
tree68ae91b67892efb2c9723716e4dfd71fec5f7c5a /bfd/coff-tic54x.c
parentca437b1b5fe3d3dd7987ddf6c373bc2221c0726e (diff)
downloadgdb-c348479ddd10079b8b8714598d8e1458d25e095d.zip
gdb-c348479ddd10079b8b8714598d8e1458d25e095d.tar.gz
gdb-c348479ddd10079b8b8714598d8e1458d25e095d.tar.bz2
tic54x bfd.h tidy
* bfd-in.h: Delete ticoff function declarations. * coff-tic54x.c (bfd_ticoff_set_section_load_page), (bfd_ticoff_get_section_load_page): Make static. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/coff-tic54x.c')
-rw-r--r--bfd/coff-tic54x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-tic54x.c b/bfd/coff-tic54x.c
index 6c7acb4..0c3e56a 100644
--- a/bfd/coff-tic54x.c
+++ b/bfd/coff-tic54x.c
@@ -82,14 +82,14 @@ tic54x_getl_signed_32 (const void *p)
#define coff_get_section_load_page bfd_ticoff_get_section_load_page
#define coff_set_section_load_page bfd_ticoff_set_section_load_page
-void
+static void
bfd_ticoff_set_section_load_page (asection *sect,
int page)
{
sect->lma = (sect->lma & ADDR_MASK) | PG_TO_FLAG(page);
}
-int
+static int
bfd_ticoff_get_section_load_page (asection *sect)
{
int page;