]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Delete unused COFF gas macro
authorAlan Modra <amodra@gmail.com>
Fri, 15 Apr 2022 23:15:42 +0000 (08:45 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Apr 2022 02:01:45 +0000 (11:31 +0930)
* config/obj-coff.h (sy_obj): Don't define.
(OBJ_SYMFIELD_TYPE): Revise comments.

gas/config/obj-coff.h

index 34680bdc2f361ef3d38fb999b3f73d20f4b59de2..1dbd38aea37e16df0d974d40031fcae1bf90c8bd 100644 (file)
 
 #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.  */
 #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.  */