Do not add padding if an output section is marked as ignored
authorIgor Kudrin <ikudrin@accesssoftek.com>
Wed, 21 Dec 2016 10:53:34 +0000 (21:23 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Dec 2016 13:42:36 +0000 (00:12 +1030)
commit9ef7906f20e81faa4498761002e6376f4d35c865
tree4a14426174f1ccc9870b950e58e6f609bde04488
parent3145b997151d2815065b5c880c1b0d63905d7630
Do not add padding if an output section is marked as ignored

* ldlang.c (size_input_section): Avoid calling insert_pad
if output_section_statement->ignored is set.
ld/ChangeLog
ld/ldlang.c