diff options
author | Alan Modra <amodra@gmail.com> | 2003-10-11 12:32:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-10-11 12:32:18 +0000 |
commit | a7f49d812fee7df00def7a127aa674ab64e97aaf (patch) | |
tree | d70790f17fdce14d6400bfb51c0a4eeab736739c /bfd/section.c | |
parent | f6214256ec4714f2f9d4c55725e561d75c303dd1 (diff) | |
download | gdb-a7f49d812fee7df00def7a127aa674ab64e97aaf.zip gdb-a7f49d812fee7df00def7a127aa674ab64e97aaf.tar.gz gdb-a7f49d812fee7df00def7a127aa674ab64e97aaf.tar.bz2 |
* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/section.c')
-rw-r--r-- | bfd/section.c | 3 |
1 files changed, 1 insertions, 2 deletions
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)) |