* 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.
This commit is contained in:
Ian Lance Taylor
1999-09-12 03:44:42 +00:00
parent 12951dca76
commit 945a1a6b98
5 changed files with 23 additions and 0 deletions

View File

@@ -1068,6 +1068,10 @@ write_relocs (abfd, sec, xxx)
(bfd_get_section_flags (abfd, sec)
& (flagword) ~SEC_RELOC));
#ifdef SET_SECTION_RELOCS
SET_SECTION_RELOCS (sec, relocs, n);
#endif
#ifdef DEBUG3
{
int i;