forked from Imagelibrary/binutils-gdb
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user