mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* ldlang.c (size_input_section): count the sizes of all sections
we allocate.
This commit is contained in:
parent
58c319d00b
commit
ba2c2b1c42
@ -1,3 +1,8 @@
|
||||
Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||
|
||||
* ldlang.c (size_input_section): count the sizes of all sections
|
||||
we allocate.
|
||||
|
||||
Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||
|
||||
* ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
|
||||
|
@ -1429,7 +1429,7 @@ DEFUN (size_input_section, (this_ptr, output_section_statement, fill,
|
||||
needed for the output stage. Only remember the size of sections
|
||||
which we will actually allocate */
|
||||
if (((i->flags &
|
||||
(SEC_HAS_CONTENTS | SEC_LOAD)) == (SEC_HAS_CONTENTS | SEC_LOAD))
|
||||
(SEC_HAS_CONTENTS | SEC_ALLOC)) == (SEC_HAS_CONTENTS | SEC_ALLOC))
|
||||
&& (bfd_get_section_size_before_reloc (i) > largest_section))
|
||||
{
|
||||
largest_section = bfd_get_section_size_before_reloc (i);
|
||||
|
Loading…
Reference in New Issue
Block a user