+2020-12-18 Alan Modra <amodra@gmail.com>
+
+ * elf32-microblaze.c (dbg): Delete unused variable.
+ * elf32-nds32.c (relax_group_section_id_list): Make static.
+ * som.c (reloc_queue): Make static.
+ * xtensa-isa.c (xtisa_errno, xtisa_error_msg): Make static.
+
2020-12-18 Alan Modra <amodra@gmail.com>
* archive.c (_bfd_ar_spacepad, _bfd_ar_sizepad): Use auto buf.
Boston, MA 02110-1301, USA. */
-int dbg = 0;
-
#include "sysdep.h"
#include "bfd.h"
#include "bfdlink.h"
}
/* Reorder RELAX_GROUP ID when command line option '-r' is applied. */
-struct section_id_list_t *relax_group_section_id_list = NULL;
+static struct section_id_list_t *relax_group_section_id_list = NULL;
struct section_id_list_t *
elf32_nds32_lookup_section_id (int id, struct section_id_list_t **lst_ptr)
Note one side effect of using a R_PREV_FIXUP is the relocation that
is being repeated moves to the front of the queue. */
-struct reloc_queue
+static struct reloc_queue
{
unsigned char *reloc;
unsigned int size;
#include "xtensa-isa.h"
#include "xtensa-isa-internal.h"
-xtensa_isa_status xtisa_errno;
-char xtisa_error_msg[1024];
+static xtensa_isa_status xtisa_errno;
+static char xtisa_error_msg[1024];
xtensa_isa_status
+2020-12-18 Alan Modra <amodra@gmail.com>
+
+ * xtensa-isa-internal.h (xtisa_errno, xtisa_error_msg): Delete.
+
2020-12-18 Alan Modra <amodra@gmail.com>
* opcode/arc-attrs.h (CONFLICT_LIST): Make const.
extern int xtensa_isa_name_compare (const void *, const void *);
-extern xtensa_isa_status xtisa_errno;
-extern char xtisa_error_msg[];
-
#endif /* !XTENSA_ISA_INTERNAL_H */