* force inlining of ia64 elf_machine_runtime_setup()
@ 2003-11-14 0:39 David Mosberger
2003-11-14 0:53 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: David Mosberger @ 2003-11-14 0:39 UTC (permalink / raw)
To: libc-hacker
Without this patch, gcc-3.3.2 warns that it failed to inline
elf_machine_runtime_setup(). Oddly enough, the resulting code seems
to work OK, but I think we may just be getting lucky.
--david
ChangeLog
2003-11-12 David Mosberger <davidm@hpl.hp.com>
* sysdeps/ia64/dl-machine.h: Force inlining of
elf_machine_runtime_setup().
Index: sysdeps/ia64/dl-machine.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/ia64/dl-machine.h,v
retrieving revision 1.29
diff -u -r1.29 dl-machine.h
--- sysdeps/ia64/dl-machine.h 24 Sep 2003 21:08:32 -0000 1.29
+++ sysdeps/ia64/dl-machine.h 14 Nov 2003 00:35:50 -0000
@@ -98,7 +98,7 @@
/* Set up the loaded object described by L so its unrelocated PLT
entries will jump to the on-demand fixup code in dl-runtime.c. */
-static inline int
+static inline int __attribute__ ((always_inline))
elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
{
extern void _dl_runtime_resolve (void);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: force inlining of ia64 elf_machine_runtime_setup()
2003-11-14 0:39 force inlining of ia64 elf_machine_runtime_setup() David Mosberger
@ 2003-11-14 0:53 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-11-14 0:53 UTC (permalink / raw)
To: davidm; +Cc: libc-hacker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Mosberger wrote:
> Without this patch, gcc-3.3.2 warns that it failed to inline
> elf_machine_runtime_setup(). Oddly enough, the resulting code seems
> to work OK, but I think we may just be getting lucky.
Applied.
- --
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/tCXh2ijCOnn/RHQRAmO9AJ9SWQROmlXQrNt47r3XuSu2bufRpgCgmImT
/r9Bd/S2lewLFAWv/6YXu1k=
=IDeC
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-14 0:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-14 0:39 force inlining of ia64 elf_machine_runtime_setup() David Mosberger
2003-11-14 0:53 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).