diff options
author | Andreas Jaeger <aj@suse.de> | 2002-02-08 18:57:15 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-02-08 18:57:15 +0000 |
commit | 0f0d61adf5559947c132cffe2067c06a009edb5e (patch) | |
tree | ad52b6b8466f08fe5297083bf84b232e49e2e75f /sysdeps/mips/dl-machine.h | |
parent | bc632c07281e2839be5a3e5961bd8a2f2e60ec11 (diff) | |
download | glibc-0f0d61adf5559947c132cffe2067c06a009edb5e.tar glibc-0f0d61adf5559947c132cffe2067c06a009edb5e.tar.gz glibc-0f0d61adf5559947c132cffe2067c06a009edb5e.tar.bz2 glibc-0f0d61adf5559947c132cffe2067c06a009edb5e.zip |
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.
Diffstat (limited to 'sysdeps/mips/dl-machine.h')
-rw-r--r-- | sysdeps/mips/dl-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h index 18eb3eb377..893f1047e8 100644 --- a/sysdeps/mips/dl-machine.h +++ b/sysdeps/mips/dl-machine.h @@ -69,7 +69,7 @@ do { if ((l)->l_info[DT_MIPS (RLD_MAP)]) \ } while (0) /* 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) { 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. */ \ static ElfW(Addr) \ __dl_runtime_resolve (ElfW(Word), ElfW(Word), ElfW(Addr), ElfW(Addr)) \ - __attribute__ ((unused)); \ + __attribute_used__; \ \ static ElfW(Addr) \ __dl_runtime_resolve (ElfW(Word) sym_index, \ |