aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/internals.texi
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/doc/internals.texi
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/doc/internals.texi')
-rw-r--r--gas/doc/internals.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index 7f92105..6dc9ac7 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1374,6 +1374,13 @@ completed, but before the relocations have been generated.
@item obj_frob_file_after_relocs
If you define this macro, GAS will call it after the relocs have been
generated.
+
+@item SET_SECTION_RELOCS (@var{sec}, @var{relocs}, @var{n})
+@cindex SET_SECTION_RELOCS
+If you define this, it will be called after the relocations have been set for
+the section @var{sec}. The list of relocations is in @var{relocs}, and the
+number of relocations is in @var{n}. This is only used with
+@code{BFD_ASSEMBLER}.
@end table
@node Emulations