Patchwork Move *-le.abilist to le/*.abilist

login
register
mail settings
Submitter Andreas Schwab
Date Nov. 28, 2018, 3:51 p.m.
Message ID <mvm8t1dfbdy.fsf@suse.de>
Download mbox | patch
Permalink /patch/30361/
State New
Headers show

Comments

Andreas Schwab - Nov. 28, 2018, 3:51 p.m.
Now that powerpc is using separate sysdep dirs for BE vs LE ABI, there is
no need for abilist-pattern any more.

	* sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
	sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
	sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
	* sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
---
 sysdeps/powerpc/Makefile                                      | 4 ----
 sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/ld.abilist | 0
 .../linux/powerpc/powerpc64/{ => be}/libBrokenLocale.abilist  | 0
 .../unix/sysv/linux/powerpc/powerpc64/{ => be}/libanl.abilist | 0
 .../unix/sysv/linux/powerpc/powerpc64/{ => be}/libc.abilist   | 0
 .../sysv/linux/powerpc/powerpc64/{ => be}/libcrypt.abilist    | 0
 .../unix/sysv/linux/powerpc/powerpc64/{ => be}/libdl.abilist  | 0
 .../unix/sysv/linux/powerpc/powerpc64/{ => be}/libm.abilist   | 0
 .../unix/sysv/linux/powerpc/powerpc64/{ => be}/libnsl.abilist | 0
 .../sysv/linux/powerpc/powerpc64/{ => be}/libpthread.abilist  | 0
 .../sysv/linux/powerpc/powerpc64/{ => be}/libresolv.abilist   | 0
 .../unix/sysv/linux/powerpc/powerpc64/{ => be}/librt.abilist  | 0
 .../linux/powerpc/powerpc64/{ => be}/libthread_db.abilist     | 0
 .../sysv/linux/powerpc/powerpc64/{ => be}/libutil.abilist     | 0
 .../linux/powerpc/powerpc64/{ld-le.abilist => le/ld.abilist}  | 0
 .../libBrokenLocale.abilist}                                  | 0
 .../powerpc64/{libanl-le.abilist => le/libanl.abilist}        | 0
 .../powerpc/powerpc64/{libc-le.abilist => le/libc.abilist}    | 0
 .../powerpc64/{libcrypt-le.abilist => le/libcrypt.abilist}    | 0
 .../powerpc/powerpc64/{libdl-le.abilist => le/libdl.abilist}  | 0
 .../powerpc/powerpc64/{libm-le.abilist => le/libm.abilist}    | 0
 .../powerpc64/{libnsl-le.abilist => le/libnsl.abilist}        | 0
 .../{libpthread-le.abilist => le/libpthread.abilist}          | 0
 .../powerpc64/{libresolv-le.abilist => le/libresolv.abilist}  | 0
 .../powerpc/powerpc64/{librt-le.abilist => le/librt.abilist}  | 0
 .../{libthread_db-le.abilist => le/libthread_db.abilist}      | 0
 .../powerpc64/{libutil-le.abilist => le/libutil.abilist}      | 0
 27 files changed, 4 deletions(-)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/ld.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libBrokenLocale.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libanl.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libc.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libcrypt.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libdl.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libm.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libnsl.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libpthread.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libresolv.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/librt.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libthread_db.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ => be}/libutil.abilist (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{ld-le.abilist => le/ld.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libBrokenLocale-le.abilist => le/libBrokenLocale.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libanl-le.abilist => le/libanl.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libc-le.abilist => le/libc.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libcrypt-le.abilist => le/libcrypt.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libdl-le.abilist => le/libdl.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libm-le.abilist => le/libm.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libnsl-le.abilist => le/libnsl.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libpthread-le.abilist => le/libpthread.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libresolv-le.abilist => le/libresolv.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{librt-le.abilist => le/librt.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libthread_db-le.abilist => le/libthread_db.abilist} (100%)
 rename sysdeps/unix/sysv/linux/powerpc/powerpc64/{libutil-le.abilist => le/libutil.abilist} (100%)
Florian Weimer - Nov. 28, 2018, 4:01 p.m.
* Andreas Schwab:

> Now that powerpc is using separate sysdep dirs for BE vs LE ABI, there is
> no need for abilist-pattern any more.
>
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
> 	sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
> 	sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
> 	* sysdeps/powerpc/Makefile (abilist-pattern): Don't define.

Should we remove the abilist-pattern support completely?

Thanks,
Florian
Andreas Schwab - Nov. 28, 2018, 4:10 p.m.
On Nov 28 2018, Florian Weimer <fweimer@redhat.com> wrote:

> Should we remove the abilist-pattern support completely?

I have planned that for a followup patch.

Andreas.
Florian Weimer - Nov. 28, 2018, 4:19 p.m.
* Andreas Schwab:

> On Nov 28 2018, Florian Weimer <fweimer@redhat.com> wrote:
>
>> Should we remove the abilist-pattern support completely?
>
> I have planned that for a followup patch.

Sounds reasonable.  Your first patch looks okay to me in principle (but
I have not tested it).

Thanks,
Florian
Tulio Magno Quites Machado Filho - Nov. 30, 2018, 12:18 p.m.
Andreas Schwab <schwab@suse.de> writes:

> Now that powerpc is using separate sysdep dirs for BE vs LE ABI, there is
> no need for abilist-pattern any more.
>
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
> 	sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
> 	sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
> 	* sysdeps/powerpc/Makefile (abilist-pattern): Don't define.

LGTM.

Patch

diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index 6aa683b03f..bac5a3a73c 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -46,7 +46,3 @@  sysdep_headers += sys/platform/ppc.h
 tests += test-gettimebase
 tests += tst-set_ppr
 endif
-
-ifneq (,$(filter %le,$(config-machine)))
-abilist-pattern = %-le.abilist
-endif
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/ld.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/ld.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libBrokenLocale.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libBrokenLocale.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libanl.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libanl.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libcrypt.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libcrypt.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libdl.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libdl.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libnsl.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libnsl.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libresolv.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libresolv.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libthread_db.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libthread_db.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libutil.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libutil.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/ld.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/ld.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libBrokenLocale.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libBrokenLocale.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libanl.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libanl.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libcrypt.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libcrypt.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libdl.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libdl.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libnsl.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libnsl.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libresolv.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libresolv.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libthread_db.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libthread_db.abilist
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libutil.abilist
similarity index 100%
rename from sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist
rename to sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libutil.abilist