1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2001-03-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
	_dl_error_printf instead of _dl_sysdep_error.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
	Use _dl_printf instead of _dl_sysdep_message.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
	Likewise.
This commit is contained in:
Andreas Jaeger
2001-03-07 13:15:32 +00:00
parent 150f9fb85d
commit b9fb7870f3
5 changed files with 28 additions and 18 deletions

View File

@ -1,3 +1,13 @@
2001-03-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
_dl_error_printf instead of _dl_sysdep_error.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
Use _dl_printf instead of _dl_sysdep_message.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
Likewise.
2001-03-06 Ben Collins <bcollins@debian.org> 2001-03-06 Ben Collins <bcollins@debian.org>
* manual/arith.texi (Integers): Fix documentation of fast and * manual/arith.texi (Integers): Fix documentation of fast and

View File

@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. SPARC version. /* Machine-dependent ELF dynamic relocation inline functions. SPARC version.
Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -392,10 +392,10 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
const char *strtab; const char *strtab;
strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]); strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]);
_dl_sysdep_error (_dl_argv[0] ?: "<program name unknown>", _dl_error_printf ("\
": Symbol `", strtab + refsym->st_name, %s: Symbol `%s' has different size in shared object, consider re-linking\n",
"' has different size in shared object, " _dl_argv[0] ?: "<program name unknown>",
"consider re-linking\n", NULL); strtab + refsym->st_name);
} }
memcpy (reloc_addr, (void *) value, MIN (sym->st_size, memcpy (reloc_addr, (void *) value, MIN (sym->st_size,
refsym->st_size)); refsym->st_size));

View File

@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. Sparc64 version. /* Machine-dependent ELF dynamic relocation inline functions. Sparc64 version.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -227,10 +227,10 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc,
const char *strtab; const char *strtab;
strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]); strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]);
_dl_sysdep_error (_dl_argv[0] ?: "<program name unknown>", _dl_error_printf ("\
": Symbol `", strtab + refsym->st_name, %s: Symbol `%s' has different size in shared object, consider re-linking\n",
"' has different size in shared object, " _dl_argv[0] ?: "<program name unknown>",
"consider re-linking\n", NULL); strtab + refsym->st_name);
} }
memcpy (reloc_addr, (void *) value, MIN (sym->st_size, memcpy (reloc_addr, (void *) value, MIN (sym->st_size,
refsym->st_size)); refsym->st_size));

View File

@ -1,5 +1,5 @@
/* Linux/sparc32 version of processor capability information handling macros. /* Linux/sparc32 version of processor capability information handling macros.
Copyright (C) 1999, 2000 Free Software Foundation, Inc. Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jj@ultra.linux.cz>, 1999. Contributed by Jakub Jelinek <jj@ultra.linux.cz>, 1999.
@ -35,13 +35,13 @@ _dl_procinfo (int word)
{ {
int i; int i;
_dl_sysdep_message ("AT_HWCAP: ", NULL); _dl_printf ("AT_HWCAP: ");
for (i = 0; i < _DL_HWCAP_COUNT; ++i) for (i = 0; i < _DL_HWCAP_COUNT; ++i)
if (word & (1 << i)) if (word & (1 << i))
_dl_sysdep_message (" ", sparc32_cap_flags[i], NULL); _dl_printf (" %s", sparc32_cap_flags[i]);
_dl_sysdep_message ("\n", NULL); _dl_printf ("\n");
return 0; return 0;
} }

View File

@ -1,5 +1,5 @@
/* Linux/sparc64 version of processor capability information handling macros. /* Linux/sparc64 version of processor capability information handling macros.
Copyright (C) 1999, 2000 Free Software Foundation, Inc. Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jj@ultra.linux.cz>, 1999. Contributed by Jakub Jelinek <jj@ultra.linux.cz>, 1999.
@ -35,13 +35,13 @@ _dl_procinfo (int word)
{ {
int i; int i;
_dl_sysdep_message ("AT_HWCAP: ", NULL); _dl_printf ("AT_HWCAP: ");
for (i = 0; i < _DL_HWCAP_COUNT; ++i) for (i = 0; i < _DL_HWCAP_COUNT; ++i)
if (word & (1 << i)) if (word & (1 << i))
_dl_sysdep_message (" ", sparc64_cap_flags[i], NULL); _dl_printf (" %s", sparc64_cap_flags[i]);
_dl_sysdep_message ("\n", NULL); _dl_printf ("\n");
return 0; return 0;
} }