aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 03:44:42 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 03:44:42 +0000
commit945a1a6b988199a9ab1037bd8ff3d417334f5ecf (patch)
treeb49a050599e9fe91a53073f2b3445c980a332dd9 /gas/config/obj-coff.h
parent12951dca7666c3bf56911c0561c9ac801403cb22 (diff)
downloadgdb-945a1a6b988199a9ab1037bd8ff3d417334f5ecf.zip
gdb-945a1a6b988199a9ab1037bd8ff3d417334f5ecf.tar.gz
gdb-945a1a6b988199a9ab1037bd8ff3d417334f5ecf.tar.bz2
* write.c (write_relocs): Call SET_SECTION_RELOCS if it is
defined. * config/obj-coff.h (SET_SECTION_RELOCS): Define. * doc/internals.texi (Object format backend): Document SET_SECTION_RELOCS.
Diffstat (limited to 'gas/config/obj-coff.h')
-rw-r--r--gas/config/obj-coff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index a8799a3..16d7986 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -841,4 +841,8 @@ extern void obj_coff_pe_handle_link_once ();
extern void obj_coff_init_stab_section PARAMS ((segT));
#define INIT_STAB_SECTION(seg) obj_coff_init_stab_section (seg)
+/* Store the number of relocations in the section aux entry. */
+#define SET_SECTION_RELOCS(sec, relocs, n) \
+ SA_SET_SCN_NRELOC (section_symbol (sec), n)
+
#endif /* OBJ_FORMAT_H */