diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | scripts/sysd-rules.awk | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2016-09-20 Florian Weimer <fweimer@redhat.com> + + * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for + .os objects. + 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> [BZ #20615] diff --git a/scripts/sysd-rules.awk b/scripts/sysd-rules.awk index 69af400e58..c82e8fd607 100644 --- a/scripts/sysd-rules.awk +++ b/scripts/sysd-rules.awk @@ -50,6 +50,10 @@ BEGIN { split(pattern, td, ":"); target_pattern = td[1]; dep_pattern = td[2]; + # rtld objects are always PIC. + if (target_pattern ~ /^rtld/ && o != ".os") { + continue; + } if (target_pattern == "%") { command_suffix = ""; } else { |