From a7f49d812fee7df00def7a127aa674ab64e97aaf Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 11 Oct 2003 12:32:18 +0000 Subject: * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done. * bfd-in2.h: Regenerate. --- bfd/section.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bfd/section.c') diff --git a/bfd/section.c b/bfd/section.c index 5347c2b..5842748 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -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)) -- cgit v1.1