This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PowerPC: Move powerpc code out of nptl/ subdirectory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]