add arch/abi info to dynamic linker's id/version output
authorRich Felker <dalias@aerifal.cx>
Fri, 22 Jan 2016 04:04:16 +0000 (04:04 +0000)
committerRich Felker <dalias@aerifal.cx>
Fri, 22 Jan 2016 04:04:16 +0000 (04:04 +0000)
src/ldso/dynlink.c

index 93e7d67e96a59d01f77a2d0a4f473da0b9d0bef8..b42b3360010b4f5555a7e42ee871cbe11da20be6 100644 (file)
@@ -1486,7 +1486,7 @@ _Noreturn void __dls3(size_t *sp)
                }
                argv[-1] = (void *)(argc - (argv-argv_orig));
                if (!argv[0]) {
-                       dprintf(2, "musl libc\n"
+                       dprintf(2, "musl libc (" LDSO_ARCH ")\n"
                                "Version %s\n"
                                "Dynamic Program Loader\n"
                                "Usage: %s [options] [--] pathname%s\n",