PowerPC: Move powerpc code out of nptl/ subdirectory
Commit Message
On 12-06-2014 13:41, Roland McGrath wrote:
>> The idea is just:
>>
>> # renamed: nptl/sysdeps/powerpc/Makefile -> sysdeps/powerpc/nptl/*/Makefile
> The /*/ is bizarre.
>
My bad, this is the correct patch:
Comments
> 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
similarity index 100%
rename from nptl/sysdeps/powerpc/Makefile
rename to sysdeps/powerpc/nptl/powerpc/Makefile
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_lock.c
rename to sysdeps/powerpc/nptl/powerpc/pthread_spin_lock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_trylock.c
rename to sysdeps/powerpc/nptl/powerpc/pthread_spin_trylock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthreaddef.h
rename to sysdeps/powerpc/nptl/powerpc/pthreaddef.h
similarity index 100%
rename from nptl/sysdeps/powerpc/tcb-offsets.sym
rename to sysdeps/powerpc/nptl/powerpc/tcb-offsets.sym
similarity index 100%
rename from nptl/sysdeps/powerpc/tls.h
rename to sysdeps/powerpc/nptl/powerpc/tls.h