diff options
author | Alan Modra <amodra@gmail.com> | 2016-03-30 17:39:36 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-03-30 17:50:03 +1030 |
commit | 2e4a7aea70a94d0efe1ad1912f8392c848d8de54 (patch) | |
tree | fc2eb10f13df13dbef01c1e049e027c964bf8979 /sim | |
parent | 4ae6cc19626d010005fbfbfba72952d26cc7c728 (diff) | |
download | gdb-2e4a7aea70a94d0efe1ad1912f8392c848d8de54.zip gdb-2e4a7aea70a94d0efe1ad1912f8392c848d8de54.tar.gz gdb-2e4a7aea70a94d0efe1ad1912f8392c848d8de54.tar.bz2 |
Use consistent test for .tbss sections in ldlang.c
Some places tested SEC_LOAD, others SEC_HAS_CONTENTS.
* ldlang.c (IS_TBSS): New macro, extracted from..
(IGNORE_SECTION): ..here.
(lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
(lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions