diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-12 03:44:42 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-12 03:44:42 +0000 |
commit | 945a1a6b988199a9ab1037bd8ff3d417334f5ecf (patch) | |
tree | b49a050599e9fe91a53073f2b3445c980a332dd9 /gas/config/obj-coff.c | |
parent | 12951dca7666c3bf56911c0561c9ac801403cb22 (diff) | |
download | gdb-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.c')
-rw-r--r-- | gas/config/obj-coff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index aa1ff29..3bdc73c 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -1314,6 +1314,8 @@ coff_adjust_section_syms (abfd, sec, x) && sec != bss_section) return; secsym = section_symbol (sec); + /* This is an estimate; we'll plug in the real value using + SET_SECTION_RELOCS later */ SA_SET_SCN_NRELOC (secsym, nrelocs); SA_SET_SCN_NLINNO (secsym, nlnno); } |