xtensa: prototype xtensa_make_property_section in elf/xtensa.h

There's no reason to have multiple prototypes for the same function.

include/ChangeLog:

2016-06-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* elf/xtensa.h (xtensa_make_property_section): New prototype.

gas/ChangeLog:

2016-06-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.

bfd/ChangeLog:

2016-06-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* elf32-xtensa.c (xtensa_make_property_section): Remove prototype.
This commit is contained in:
Trevor Saunders 2016-06-04 16:46:58 -04:00
parent 9e8a8ea8fe
commit 7c2c4aa12f
6 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* elf32-xtensa.c (xtensa_make_property_section): Remove prototype.
2016-06-24 John Baldwin <jhb@FreeBSD.org> 2016-06-24 John Baldwin <jhb@FreeBSD.org>
* elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PROCSTAT_AUXV * elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PROCSTAT_AUXV

View file

@ -110,7 +110,6 @@ static bfd_boolean xtensa_is_proptable_section (asection *);
static int internal_reloc_compare (const void *, const void *); static int internal_reloc_compare (const void *, const void *);
static int internal_reloc_matches (const void *, const void *); static int internal_reloc_matches (const void *, const void *);
static asection *xtensa_get_property_section (asection *, const char *); static asection *xtensa_get_property_section (asection *, const char *);
extern asection *xtensa_make_property_section (asection *, const char *);
static flagword xtensa_get_property_predef_flags (asection *); static flagword xtensa_get_property_predef_flags (asection *);
/* Other functions called directly by the linker. */ /* Other functions called directly by the linker. */

View file

@ -1,3 +1,7 @@
2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2016-06-24 Maciej W. Rozycki <macro@imgtec.com> 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
* config/tc-mips.c (append_insn): Use any `O_symbol' expression * config/tc-mips.c (append_insn): Use any `O_symbol' expression

View file

@ -526,10 +526,6 @@ static void xtensa_switch_section_emit_state (emit_state *, segT, subsegT);
static void xtensa_restore_emit_state (emit_state *); static void xtensa_restore_emit_state (emit_state *);
static segT cache_literal_section (bfd_boolean); static segT cache_literal_section (bfd_boolean);
/* Import from elf32-xtensa.c in BFD library. */
extern asection *xtensa_make_property_section (asection *, const char *);
/* op_placement_info functions. */ /* op_placement_info functions. */
static void init_op_placement_info_table (void); static void init_op_placement_info_table (void);

View file

@ -1,3 +1,7 @@
2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* elf/xtensa.h (xtensa_make_property_section): New prototype.
2016-06-24 John Baldwin <jhb@FreeBSD.org> 2016-06-24 John Baldwin <jhb@FreeBSD.org>
* elf/common.h (AT_FREEBSD_EXECPATH, AT_FREEBSD_CANARY) * elf/common.h (AT_FREEBSD_EXECPATH, AT_FREEBSD_CANARY)

View file

@ -209,6 +209,8 @@ typedef struct property_table_entry_t
#define XTENSA_PROP_INSN_ABSLIT 0x00020000 #define XTENSA_PROP_INSN_ABSLIT 0x00020000
extern asection *xtensa_make_property_section (asection *, const char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif