Reformat sysdeps/x86/libc-start.c
Commit Message
I am checking this patch to reformat sysdeps/x86/libc-start.c
* sysdeps/x86/libc-start.c: Reformat.
---
ChangeLog | 4 ++++
sysdeps/x86/libc-start.c | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
Comments
On 10/30/2017 09:02 PM, H.J. Lu wrote:
> index e11b490f5c..727d328bc7 100644
> --- a/sysdeps/x86/libc-start.c
> +++ b/sysdeps/x86/libc-start.c
> @@ -16,13 +16,13 @@
> <http://www.gnu.org/licenses/>. */
>
> #ifndef SHARED
> -#include <ldsodefs.h>
> +# include <ldsodefs.h>
> # include <cpu-features.h>
> # include <cpu-features.c>
>
> extern struct cpu_features _dl_x86_cpu_features;
>
> -#define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
> +# define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
>
> #endif
> -# include <csu/libc-start.c>
> +#include <csu/libc-start.c>
Maybe add a /* SHARED */ comment on the #endif line while you are at it?
Thanks,
Florian
@@ -1,5 +1,9 @@
2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
+ * sysdeps/x86/libc-start.c: Reformat.
+
+2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
+
[BZ #22353]
* sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
(1): Renamed to ...
@@ -16,13 +16,13 @@
<http://www.gnu.org/licenses/>. */
#ifndef SHARED
-#include <ldsodefs.h>
+# include <ldsodefs.h>
# include <cpu-features.h>
# include <cpu-features.c>
extern struct cpu_features _dl_x86_cpu_features;
-#define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
+# define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
#endif
-# include <csu/libc-start.c>
+#include <csu/libc-start.c>