mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
sysd-rules: Cut down the number of rtld-% pattern rules
rtld only needs shared objects, so the other patterns are pointless and significantly increase the work make has to perform while identifying which pattern rule to apply.
This commit is contained in:
parent
1850ce5a2e
commit
e68c8d2757
2 changed files with 9 additions and 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]
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue