This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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);
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |