aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-11-21 20:44:54 +1030
committerAlan Modra <amodra@gmail.com>2019-11-21 22:33:42 +1030
commite19511a60cda301feacdb6244375363b08dccf7d (patch)
tree6592c6c5986399f2495aceb95b043d2b80341fb3 /binutils/ChangeLog
parentf76d79580efea856298d9e5b9a91746be875f1b1 (diff)
downloadgdb-e19511a60cda301feacdb6244375363b08dccf7d.zip
gdb-e19511a60cda301feacdb6244375363b08dccf7d.tar.gz
gdb-e19511a60cda301feacdb6244375363b08dccf7d.tar.bz2
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.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2d1a003..c4f7e3d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2019-11-21 Alan Modra <amodra@gmail.com>
+
+ 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.
+
2019-11-21 Nick Clifton <nickc@redhat.com>
* objcopy.c (merge_gnu_build_notes): Allow for the possibility