tic54x bfd.h tidy
authorAlan Modra <amodra@gmail.com>
Mon, 23 Sep 2019 00:33:37 +0000 (10:03 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 23 Sep 2019 00:57:21 +0000 (10:27 +0930)
* 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.

bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/coff-tic54x.c

index 9130fd510bb6293e6138db2ed4d6460d9a1d7f97..d42ead0b577538dd76e4afe31c4c21a124b25387 100644 (file)
@@ -1,3 +1,10 @@
+2019-09-23  Alan Modra  <amodra@gmail.com>
+
+       * 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.
+
 2019-09-23  Alan Modra  <amodra@gmail.com>
 
        * bfd-in.h: Move h8300 function declaration to..
index 4216808c2ad2117f676a7850b4e7c1c04a0f618a..7080fbe970e4ead7697b7b0b274eefa9fbfdb7d3 100644 (file)
@@ -993,11 +993,3 @@ extern bfd_boolean elf32_aarch64_size_stubs
    void (*) (void));
 extern bfd_boolean elf32_aarch64_build_stubs
   (struct bfd_link_info *);
-
-
-/* TI COFF load page support.  */
-extern void bfd_ticoff_set_section_load_page
-  (struct bfd_section *, int);
-
-extern int bfd_ticoff_get_section_load_page
-  (struct bfd_section *);
index a5c0f5806d3ce9618fa5b6e2d6cafac87d55f5b9..90d9fc9c07c09316c502afaf0205439b46cf3477 100644 (file)
@@ -1000,14 +1000,6 @@ extern bfd_boolean elf32_aarch64_size_stubs
    void (*) (void));
 extern bfd_boolean elf32_aarch64_build_stubs
   (struct bfd_link_info *);
-
-
-/* TI COFF load page support.  */
-extern void bfd_ticoff_set_section_load_page
-  (struct bfd_section *, int);
-
-extern int bfd_ticoff_get_section_load_page
-  (struct bfd_section *);
 /* Extracted from init.c.  */
 unsigned int bfd_init (void);
 
index 6c7acb4045a9f5885aa5e6bb4f276f2a3d21c602..0c3e56ad8d506338eed6acb86cfc18202c80f593 100644 (file)
@@ -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;
This page took 0.032091 seconds and 4 git commands to generate.