projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not add padding if an output section is marked as ignored
[deliverable/binutils-gdb.git]
/
ld
/
ldlang.c
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index de24380630e0d4cfe461c4a94d9458ef47a90631..0a224d4473491956fe285e878544db9c41fc32f7 100644
(file)
--- a/
ld/ldlang.c
+++ b/
ld/ldlang.c
@@
-4674,7
+4674,8
@@
size_input_section
if (i->sec_info_type == SEC_INFO_TYPE_JUST_SYMS)
i->output_offset = i->vma - o->vma;
- else if ((i->flags & SEC_EXCLUDE) != 0)
+ else if (((i->flags & SEC_EXCLUDE) != 0)
+ || output_section_statement->ignored)
i->output_offset = dot - o->vma;
else
{
This page took
0.023693 seconds
and
4
git commands to generate.