mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Update.
2002-02-04 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use __attribute_used__. (__dl_runtime_resolve): Likewise. * sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real declaration.
This commit is contained in:
parent
bc632c0728
commit
0f0d61adf5
@ -1,3 +1,12 @@
|
|||||||
|
2002-02-04 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use
|
||||||
|
__attribute_used__.
|
||||||
|
(__dl_runtime_resolve): Likewise.
|
||||||
|
|
||||||
|
* sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real
|
||||||
|
declaration.
|
||||||
|
|
||||||
2001-11-15 H.J. Lu <hjl@gnu.org>
|
2001-11-15 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
|
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
|
||||||
|
@ -69,7 +69,7 @@ do { if ((l)->l_info[DT_MIPS (RLD_MAP)]) \
|
|||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
/* Return nonzero iff ELF header is compatible with the running host. */
|
/* Return nonzero iff ELF header is compatible with the running host. */
|
||||||
static inline int __attribute__ ((unused))
|
static inline int __attribute_used__
|
||||||
elf_machine_matches_host (const ElfW(Ehdr) *ehdr)
|
elf_machine_matches_host (const ElfW(Ehdr) *ehdr)
|
||||||
{
|
{
|
||||||
switch (ehdr->e_machine)
|
switch (ehdr->e_machine)
|
||||||
@ -262,7 +262,7 @@ int _dl_mips_gnu_objects = 1; \
|
|||||||
/* This is called from assembly stubs below which the compiler can't see. */ \
|
/* This is called from assembly stubs below which the compiler can't see. */ \
|
||||||
static ElfW(Addr) \
|
static ElfW(Addr) \
|
||||||
__dl_runtime_resolve (ElfW(Word), ElfW(Word), ElfW(Addr), ElfW(Addr)) \
|
__dl_runtime_resolve (ElfW(Word), ElfW(Word), ElfW(Addr), ElfW(Addr)) \
|
||||||
__attribute__ ((unused)); \
|
__attribute_used__; \
|
||||||
\
|
\
|
||||||
static ElfW(Addr) \
|
static ElfW(Addr) \
|
||||||
__dl_runtime_resolve (ElfW(Word) sym_index, \
|
__dl_runtime_resolve (ElfW(Word) sym_index, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Machine-specific calling sequence for `mcount' profiling function. MIPS
|
/* Machine-specific calling sequence for `mcount' profiling function. MIPS
|
||||||
Copyright (C) 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 2000, 2001, 2002 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
|
||||||
@ -17,7 +17,8 @@
|
|||||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#define _MCOUNT_DECL static void __mcount
|
#define _MCOUNT_DECL(frompc,selfpc) \
|
||||||
|
static void __attribute_used__ __mcount (u_long frompc, u_long selfpc)
|
||||||
|
|
||||||
/* Call __mcount with our the return PC for our caller,
|
/* Call __mcount with our the return PC for our caller,
|
||||||
and the return PC our caller will return to. */
|
and the return PC our caller will return to. */
|
||||||
|
Loading…
Reference in New Issue
Block a user