aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-04-16 08:45:42 +0930
committerAlan Modra <amodra@gmail.com>2022-04-21 11:31:45 +0930
commit96d2cea340575b12dad5b50edeb3bd66319ab491 (patch)
tree5dab7b91a4210cb02834ae870b53956cd34a4cc5
parentcae84d1c77ffbed0fbf32f63508e6a29f4547777 (diff)
downloadbinutils-96d2cea340575b12dad5b50edeb3bd66319ab491.zip
binutils-96d2cea340575b12dad5b50edeb3bd66319ab491.tar.gz
binutils-96d2cea340575b12dad5b50edeb3bd66319ab491.tar.bz2
Delete unused COFF gas macro
* config/obj-coff.h (sy_obj): Don't define. (OBJ_SYMFIELD_TYPE): Revise comments.
-rw-r--r--gas/config/obj-coff.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index 34680bd..1dbd38a 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -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. */