* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
authorAlan Modra <amodra@gmail.com>
Sat, 11 Oct 2003 12:32:18 +0000 (12:32 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 11 Oct 2003 12:32:18 +0000 (12:32 +0000)
* bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/bfd-in2.h
bfd/section.c

index ee6b819bbb410eb37d08a1a18f75dd41688262ee..5abc746e286f0cb44500758999ca3783820f7296 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-11  Alan Modra  <alan@modra.org>
+
+       * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
+
 2003-10-10  H.J. Lu  <hongjiu.lu@intel.com>
 
        * Makefile.am: Run "make dep-am".
index fcbe98afaaa28d2317160218633fc00940f251bb..034330fd92fe4eb28bc94ed1b5bb8e7d19ff613c 100644 (file)
@@ -1421,8 +1421,7 @@ extern const struct symbol_cache_entry * const bfd_com_symbol;
 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))
index 5347c2b3f8549c39eb14f9f6232547c2ae7c647f..5842748f72b7ae774f3dbab99169db82465b29c8 100644 (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))