* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.

* bfd-in2.h: Regenerate.
This commit is contained in:
Alan Modra
2003-10-11 12:32:18 +00:00
parent f6214256ec
commit a7f49d812f
3 changed files with 6 additions and 4 deletions

View File

@@ -558,8 +558,7 @@ CODE_FRAGMENT
.extern const struct symbol_cache_entry * const bfd_und_symbol;
.extern const struct symbol_cache_entry * const bfd_ind_symbol;
.#define bfd_get_section_size_before_reloc(section) \
. ((section)->reloc_done ? (abort (), (bfd_size_type) 1) \
. : (section)->_raw_size)
. ((section)->_raw_size)
.#define bfd_get_section_size_after_reloc(section) \
. ((section)->reloc_done ? (section)->_cooked_size \
. : (abort (), (bfd_size_type) 1))