]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
tzset: Remove __attribute_noinline__ from compute_offset
authorFlorian Weimer <fweimer@redhat.com>
Fri, 3 Mar 2017 08:06:54 +0000 (09:06 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 3 Mar 2017 08:06:54 +0000 (09:06 +0100)
After commit 42261ad731991df345880b0b509d83b0b9a9b9d8,
compute_offset is only called once, so not inlining it
increases executable size.

ChangeLog
time/tzset.c

index 56ef82760da2bda98d6d06fd54c4bdaf2544bddb..240b3e81aa906687cd80d3c4d0bcc1d9e7a9ba5e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-03-03  Florian Weimer  <fweimer@redhat.com>
+
+       * time/tzset.c (compute_offset): Remove __attribute_noinline__.
+
 2017-03-02  Florian Weimer  <fweimer@redhat.com>
 
        * elf/get-dynamic-info.h: Remove header file inclusion guard.
index eb420699c42a49b4763eb1303e033ca448c4a1db..404f1db37093ddca0cfab25c78a728fd20cef4e4 100644 (file)
@@ -168,7 +168,6 @@ update_vars (void)
 
 
 static unsigned int
-__attribute_noinline__
 compute_offset (unsigned int ss, unsigned int mm, unsigned int hh)
 {
   return min (ss, 59) + min (mm, 59) * 60 + min (hh, 24) * 60 * 60;