diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-10-01 00:14:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-10-01 00:14:14 +0000 |
commit | c47e78b10f6b18532951fb6f6b0c5a2e8afcf88e (patch) | |
tree | 7e90f41294db2af2fa17e3ad20b2f6683a83d942 /elf/reldep6mod1.c | |
parent | ddb96b7db11b13f4715e8e999f66c2fd5b48a93a (diff) | |
download | glibc-c47e78b10f6b18532951fb6f6b0c5a2e8afcf88e.zip glibc-c47e78b10f6b18532951fb6f6b0c5a2e8afcf88e.tar.gz glibc-c47e78b10f6b18532951fb6f6b0c5a2e8afcf88e.tar.bz2 |
Update.
2001-09-29 Jes Sorensen <jes@trained-monkey.org>
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
Add sc_loadrs and sc_rbs_bas to match current kernel.
2001-09-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
2001-09-27 Jakub Jelinek <jakub@redhat.com>
* elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
object has been bumped because of relocation dependency, avoid
duplicates in l_scope.
(show_scope): Fix typos.
* elf/Makefile: Add rules to build and run reldep6.
* elf/reldep6.c: New file.
* elf/reldep6mod0.c: New file.
* elf/reldep6mod1.c: New file.
* elf/reldep6mod2.c: New file.
* elf/reldep6mod3.c: New file.
* elf/reldep6mod4.c: New file.
2001-09-26 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
sparc64_fixup_plt.
(sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
for non-lazy binding. Fix .plt[32768+] handling.
(elf_machine_plt_value): Don't add addend.
(elf_machine_rela): Call sparc64_fixup_plt instead of
elf_machine_fixup_plt.
(elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
dynamic linker at 0xfffff800XXXXXXXX.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
Diffstat (limited to 'elf/reldep6mod1.c')
-rw-r--r-- | elf/reldep6mod1.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/elf/reldep6mod1.c b/elf/reldep6mod1.c new file mode 100644 index 0000000..037a73a --- /dev/null +++ b/elf/reldep6mod1.c @@ -0,0 +1,14 @@ +int foo (void); +int baz (void); +extern int weak (void); +asm (".weak weak"); + +int foo (void) +{ + return 20; +} + +int baz (void) +{ + return weak () + 1; +} |