bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/273] SOM size -A


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/273] SOM size -A
Date: Thu, 21 Nov 2019 12:04:58 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=273

--- Comment #20 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e19511a60cda301feacdb6244375363b08dccf7d

commit e19511a60cda301feacdb6244375363b08dccf7d
Author: Alan Modra <address@hidden>
Date:   Thu Nov 21 20:44:54 2019 +1030

    PR273, SOM size -A

    The SOM backend creates BFD sections for "spaces", and "sub-spaces".
    "sub-spaces" are what we normally think of as a section, "spaces"
    aggregate "sub-spaces".  Thus it does not really make sense to include
    "spaces" for size -A since that would double count total size.

    It so happens that real sections ought to have at least one of the
    ALLOC and HAS_CONTENTS flags set, so this patch excludes "spaces" but
    excluding BFD sections with no flags set.

        PR 273
        * size.c (sysv_internal_sizer, sysv_internal_printer): Exclude
        sections with no flag bits set.
        * testsuite/binutils-all/size.exp: Allow $CODE$ as a text section.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]