artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
997621b
)
If an output section is skipped because of a constraint, then skip it
author
guenther
<guenther@openbsd.org>
Sun, 7 Aug 2016 19:59:07 +0000
(19:59 +0000)
committer
guenther
<guenther@openbsd.org>
Sun, 7 Aug 2016 19:59:07 +0000
(19:59 +0000)
when generating the link map output (-M) too
ok kettenis@
gnu/usr.bin/binutils-2.17/ld/ldlang.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils-2.17/ld/ldlang.c
b/gnu/usr.bin/binutils-2.17/ld/ldlang.c
index
a1a9682
..
db04be2
100644
(file)
--- a/
gnu/usr.bin/binutils-2.17/ld/ldlang.c
+++ b/
gnu/usr.bin/binutils-2.17/ld/ldlang.c
@@
-3292,6
+3292,9
@@
print_output_section_statement
asection *section = output_section_statement->bfd_section;
int len;
+ if (output_section_statement->constraint == -1)
+ return;
+
if (output_section_statement != abs_output_section)
{
minfo ("\n%s", output_section_statement->name);