Delete unused COFF gas macro

* config/obj-coff.h (sy_obj): Don't define.
	(OBJ_SYMFIELD_TYPE): Revise comments.
This commit is contained in:
Alan Modra
2022-04-16 08:45:42 +09:30
parent cae84d1c77
commit 96d2cea340

View File

@@ -129,10 +129,8 @@
#define OUTPUT_FLAVOR bfd_target_coff_flavour
/* Alter the field names, for now, until we've fixed up the other
references to use the new name. */
/* COFF symbol flags. See SF_* macros. */
#define OBJ_SYMFIELD_TYPE unsigned long
#define sy_obj sy_obj_flags
/* We can't use the predefined section symbols in bfd/section.c, as
COFF symbols have extra fields. See bfd/libcoff.h:coff_symbol_type. */
@@ -187,9 +185,8 @@
#define SA_SET_SECT_NRELOC(s,v) (SYM_AUXENT (s)->x_sect.x_nreloc = (v))
#endif
/* Internal use only definitions. SF_ stands for symbol flags.
These values can be assigned to sy_symbol.ost_flags field of a symbolS. */
/* Internal use only definitions. SF_ stands for symbol flags. These
values can be assigned to OBJ_SYMFIELD_TYPE obj field of a symbolS. */
#define SF_NORMAL_MASK 0x0000ffff /* bits 12-15 are general purpose. */