[PATCH] Reformat sysdeps/x86/libc-start.c

H.J. Lu hjl.tools@gmail.com
Mon Oct 30 20:42:00 GMT 2017


On Mon, Oct 30, 2017 at 1:35 PM, Florian Weimer <fweimer@redhat.com> wrote:
> 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?
>

Sure.  Why not.  I checked in this to add /* !SHARED */.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sysdeps-x86-libc-start.c-Add-SHARED.patch
Type: text/x-patch
Size: 1112 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171030/612cb0b0/attachment.bin>


More information about the Libc-alpha mailing list