This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC: Move powerpc code out of nptl/ subdirectory
- From: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Sat, 14 Jun 2014 11:22:13 -0300
- Subject: Re: [PATCH] PowerPC: Move powerpc code out of nptl/ subdirectory
- Authentication-results: sourceware.org; auth=none
- References: <5399C285 dot 6080900 at linux dot vnet dot ibm dot com> <mvmfvja2m7w dot fsf at hawking dot suse dot de> <5399D40A dot 8060408 at linux dot vnet dot ibm dot com> <20140612164113 dot AD0622C39C1 at topped-with-meat dot com> <539AE0AE dot 10505 at linux dot vnet dot ibm dot com> <20140613234223 dot 89D922C398B at topped-with-meat dot com>
On 13-06-2014 20:42, Roland McGrath wrote:
>> diff --git a/nptl/sysdeps/powerpc/Makefile b/sysdeps/powerpc/nptl/powerpc/Makefile
>> diff --git a/nptl/sysdeps/powerpc/pthread_spin_lock.c b/sysdeps/powerpc/nptl/powerpc/pthread_spin_lock.c
>> diff --git a/nptl/sysdeps/powerpc/pthread_spin_trylock.c b/sysdeps/powerpc/nptl/powerpc/pthread_spin_trylock.c
>> diff --git a/nptl/sysdeps/powerpc/pthreaddef.h b/sysdeps/powerpc/nptl/powerpc/pthreaddef.h
>> diff --git a/nptl/sysdeps/powerpc/tcb-offsets.sym b/sysdeps/powerpc/nptl/powerpc/tcb-offsets.sym
>> diff --git a/nptl/sysdeps/powerpc/tls.h b/sysdeps/powerpc/nptl/powerpc/tls.h
> Sorry, I think this is wrong again. Those files should be in
> sysdeps/powerpc/nptl/. There should not be a directory called
> sysdeps/powerpc/nptl/powerpc/ at all. All it actually takes is:
> rm -rf sysdeps/powerpc/nptl # just in case a bogon exists there
> git mv nptl/sysdeps/powerpc sysdeps/powerpc/nptl
>
>
> Thanks,
> Roland
>
It is and I apologize for sending bogus patches, I think here it is the correct version:
diff --git a/nptl/sysdeps/powerpc/Makefile b/sysdeps/powerpc/nptl/Makefile
similarity index 100%
rename from nptl/sysdeps/powerpc/Makefile
rename to sysdeps/powerpc/nptl/Makefile
diff --git a/nptl/sysdeps/powerpc/pthread_spin_lock.c b/sysdeps/powerpc/nptl/pthread_spin_lock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_lock.c
rename to sysdeps/powerpc/nptl/pthread_spin_lock.c
diff --git a/nptl/sysdeps/powerpc/pthread_spin_trylock.c b/sysdeps/powerpc/nptl/pthread_spin_trylock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_trylock.c
rename to sysdeps/powerpc/nptl/pthread_spin_trylock.c
diff --git a/nptl/sysdeps/powerpc/pthreaddef.h b/sysdeps/powerpc/nptl/pthreaddef.h
similarity index 100%
rename from nptl/sysdeps/powerpc/pthreaddef.h
rename to sysdeps/powerpc/nptl/pthreaddef.h
diff --git a/nptl/sysdeps/powerpc/tcb-offsets.sym b/sysdeps/powerpc/nptl/tcb-offsets.sym
similarity index 100%
rename from nptl/sysdeps/powerpc/tcb-offsets.sym
rename to sysdeps/powerpc/nptl/tcb-offsets.sym
diff --git a/nptl/sysdeps/powerpc/tls.h b/sysdeps/powerpc/nptl/tls.h
similarity index 100%
rename from nptl/sysdeps/powerpc/tls.h
rename to sysdeps/powerpc/nptl/tls.h