public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Delete unused COFF gas macro
@ 2022-04-21  6:02 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2022-04-21  6:02 UTC (permalink / raw)
  To: binutils

	* config/obj-coff.h (sy_obj): Don't define.
	(OBJ_SYMFIELD_TYPE): Revise comments.

diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index 34680bdc2f3..1dbd38aea37 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.  */
 

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-21  6:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21  6:02 Delete unused COFF gas macro Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).