aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-02-24 11:30:02 +1030
committerAlan Modra <amodra@gmail.com>2024-02-24 14:58:55 +1030
commitbc45bfd25984a709dec4236daf412c58a127633a (patch)
treeb7924f8492641c071ec0f1f8bc3aa0cef05ed683 /include
parent9c697157b823b052c6044f676d90a87aea6d173f (diff)
downloadbinutils-bc45bfd25984a709dec4236daf412c58a127633a.zip
binutils-bc45bfd25984a709dec4236daf412c58a127633a.tar.gz
binutils-bc45bfd25984a709dec4236daf412c58a127633a.tar.bz2
xtensa: move xtensa_make_property_section from bfd to gas
This function is only used by gas, so move it there. Necessary for gas to keep track of group sections as they are created. PR 25333 bfd/ * elf32-xtensa.c (xtensa_make_property_section): Delete. (xtensa_property_section_name): Make public. include/ * elf/xtensa.h (xtensa_make_property_section): Delete. (xtensa_property_section_name): Declare gas/ * config/tc-xtensa.c (xtensa_make_property_section): New, moved from elf32-xtensa.c.
Diffstat (limited to 'include')
-rw-r--r--include/elf/xtensa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h
index 402d9ad..523855e 100644
--- a/include/elf/xtensa.h
+++ b/include/elf/xtensa.h
@@ -215,7 +215,7 @@ typedef struct property_table_entry_t
#define XTENSA_PROP_INSN_ABSLIT 0x00020000
-extern asection *xtensa_make_property_section (asection *, const char *);
+extern char *xtensa_property_section_name (asection *, const char *, bool);
extern int
xtensa_read_table_entries (bfd *abfd,
asection *section,