[glibc] misc: fix lint-makefiles failures
Yury Khrustalev via Glibc-cvs <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d6a8c9d62f16a41b9cc43d31ce5994424e1e778e commit d6a8c9d62f16a41b9cc43d31ce5994424e1e778e Author: Yury Khrustalev <[email protected]> Date: Wed Apr 15 14:40:17 2026 +0100 misc: fix lint-makefiles failures Reviewed-by: Wilco Dijkstra <[email protected]> Diff: --- sysdeps/aarch64/Makefile | 39 ++++++++++++++++++++++++++++----------- sysdeps/generic/Makefile | 27 +++++++++++++++++++++------ 2 files changed, 49 insertions(+), 17 deletions(-) diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile index d3146ddced..802bf40a82 100644 --- a/sysdeps/aarch64/Makefile +++ b/sysdeps/aarch64/Makefile @@ -31,11 +31,17 @@ tst-audit27-ENV = LD_AUDIT=$(objpfx)tst-auditmod27.so endif ifeq ($(subdir),elf) -sysdep-rtld-routines += dl-start -sysdep-dl-routines += tlsdesc dl-tlsdesc +sysdep-rtld-routines += \ + dl-start \ + # sysdep-rtld-routines +sysdep-dl-routines += \ + dl-tlsdesc \ + tlsdesc \ + # sysdep-dl-routines gen-as-const-headers += \ dl-link.sym \ - rtld-global-offsets.sym + rtld-global-offsets.sym \ + # gen-as-const-headers tests-internal += \ tst-ifunc-arg-1 \ @@ -44,16 +50,21 @@ tests-internal += \ tst-ifunc-arg-4 \ # tests-internal -tests += tst-vpcs -modules-names += tst-vpcs-mod +tests += \ + tst-vpcs \ + # tests +modules-names += \ + tst-vpcs-mod \ + # modules-names LDFLAGS-tst-vpcs-mod.so = -Wl,-z,lazy $(objpfx)tst-vpcs: $(objpfx)tst-vpcs-mod.so endif ifeq ($(subdir),csu) gen-as-const-headers += \ + rtld-global-offsets.sym \ tlsdesc.sym \ - rtld-global-offsets.sym + # gen-as-const-headers endif ifeq ($(subdir),gmon) @@ -65,12 +76,15 @@ CPPFLAGS += -I../soft-fp endif ifeq ($(subdir),misc) -sysdep_headers += sys/ifunc.h +sysdep_headers += \ + sys/ifunc.h \ + # sysdep_headers sysdep_routines += \ - __mtag_tag_zero_region \ - __mtag_tag_region \ + __alloc_gcs \ __arm_za_disable \ - __alloc_gcs + __mtag_tag_region \ + __mtag_tag_zero_region \ + # sysdep_routines tests += \ tst-sme-jmp \ @@ -88,7 +102,10 @@ $(objpfx)tst-sme-clone3: $(objpfx)clone3.o $(objpfx)__arm_za_disable.o endif ifeq ($(subdir),malloc) -sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region +sysdep_malloc_debug_routines = \ + __mtag_tag_region \ + __mtag_tag_zero_region \ + # sysdep_malloc_debug_routines endif # malloc directory ifeq ($(subdir),support) diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile index 8af1fad579..933a77ffd3 100644 --- a/sysdeps/generic/Makefile +++ b/sysdeps/generic/Makefile @@ -16,27 +16,42 @@ # <https://www.gnu.org/licenses/>. ifeq ($(subdir),string) -sysdep_routines += tls-internal +sysdep_routines += \ + tls-internal \ + # sysdep_routines CFLAGS-wordcopy.c += -Wno-uninitialized endif ifeq ($(subdir),elf) ifeq ($(enable-gsframe),yes) -sysdep_routines += sframe-read sframe +sysdep_routines += \ + sframe \ + sframe-read \ + # sysdep_routines endif ifeq (yes:yes,$(build-shared):$(unwind-find-fde)) # This is needed to support g++ v2 and v3. -sysdep_routines += framestate unwind-pe -shared-only-routines += framestate unwind-pe +sysdep_routines += \ + framestate \ + unwind-pe \ + # sysdep_routines +shared-only-routines += \ + framestate \ + unwind-pe \ + # shared-only-routines endif endif ifeq ($(subdir),malloc) -sysdep_malloc_debug_routines += hugepages +sysdep_malloc_debug_routines += \ + hugepages \ + # sysdep_malloc_debug_routines endif ifeq ($(subdir),misc) -sysdep_routines += hugepages +sysdep_routines += \ + hugepages \ + # sysdep_routines endif ifeq ($(subdir),support)