[binutils-gdb] tic6x bfd.h tidy

Alan Modra amodra@sourceware.org
Mon Sep 23 00:58:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=79c2ce54e1e52e5d63d96af56c544de778036a12

commit 79c2ce54e1e52e5d63d96af56c544de778036a12
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Sep 23 10:05:43 2019 +0930

    tic6x bfd.h tidy
    
    	* bfd-in.h: Move tic6x function declaration..
    	* elf32-tic6x.h: ..to here.
    	* bfd-in2.h: Regenerate.

Diff:
---
 bfd/ChangeLog     | 6 ++++++
 bfd/bfd-in.h      | 4 ----
 bfd/bfd-in2.h     | 4 ----
 bfd/elf32-tic6x.h | 5 +++++
 4 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a72a63d..06b09a1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
 2019-09-23  Alan Modra  <amodra@gmail.com>
 
+	* bfd-in.h: Move tic6x function declaration..
+	* elf32-tic6x.h: ..to here.
+	* bfd-in2.h: Regenerate.
+
+2019-09-23  Alan Modra  <amodra@gmail.com>
+
 	* bfd-in.h: Move aarch64 declarations and defines..
 	* cpu-aarch64.h: ..to here, new file..
 	* elfxx-aarch64.h: ..and here.
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index ed8e47f..c923e54 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -903,7 +903,3 @@ extern bfd_boolean elf32_arm_build_stubs
 /* ARM unwind section editing support.  */
 extern bfd_boolean elf32_arm_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
-
-/* C6x unwind section editing support.  */
-extern bfd_boolean elf32_tic6x_fix_exidx_coverage
-(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 8cc6201..74aaf3c 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -910,10 +910,6 @@ extern bfd_boolean elf32_arm_build_stubs
 /* ARM unwind section editing support.  */
 extern bfd_boolean elf32_arm_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
-
-/* C6x unwind section editing support.  */
-extern bfd_boolean elf32_tic6x_fix_exidx_coverage
-(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 /* Extracted from init.c.  */
 unsigned int bfd_init (void);
 
diff --git a/bfd/elf32-tic6x.h b/bfd/elf32-tic6x.h
index 2198f67..24a280f 100644
--- a/bfd/elf32-tic6x.h
+++ b/bfd/elf32-tic6x.h
@@ -37,6 +37,11 @@ struct elf32_tic6x_params
 extern void elf32_tic6x_setup (struct bfd_link_info *,
 			       struct elf32_tic6x_params *);
 
+/* C6x unwind section editing support.  */
+extern bfd_boolean elf32_tic6x_fix_exidx_coverage (struct bfd_section **,
+						   unsigned int,
+						   struct bfd_link_info *,
+						   bfd_boolean);
 #ifdef __cplusplus
 }
 #endif



More information about the Binutils-cvs mailing list