]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
xtensa: move xtensa_make_property_section from bfd to gas
authorAlan Modra <amodra@gmail.com>
Sat, 24 Feb 2024 01:00:02 +0000 (11:30 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 24 Feb 2024 04:28:55 +0000 (14:58 +1030)
commitbc45bfd25984a709dec4236daf412c58a127633a
treeb7924f8492641c071ec0f1f8bc3aa0cef05ed683
parent9c697157b823b052c6044f676d90a87aea6d173f
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.
bfd/elf32-xtensa.c
gas/config/tc-xtensa.c
include/elf/xtensa.h