aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2017-12-02 14:43:28 -0500
committerJohn David Anglin <danglin@gcc.gnu.org>2017-12-02 14:43:28 -0500
commitb3f7fb12f5c490787d548ecc479920e608f6f904 (patch)
tree15f8efbcb6b8c29510e265cc0c1ef7f5904b3094 /ChangeLog
parentImprove PIC pc-relative instruction sequences on hppa. (diff)
downloadglibc-b3f7fb12f5c490787d548ecc479920e608f6f904.tar.gz
glibc-b3f7fb12f5c490787d548ecc479920e608f6f904.tar.bz2
glibc-b3f7fb12f5c490787d548ecc479920e608f6f904.zip
Handle __gmon_start__ as undefined weak on hppa.
[BZ libc/19170] * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when PREINIT_FUNCTION_WEAK is nonzero. (gmon_initializer): New function. Put procedure label for it in .init_array section. (_init): Don't call PREINIT_FUNCTION. * sysdeps/hppa/crtn.S (__gmon_start__): Remove. * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup value when map argument is null.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d85007edb0..e24ae784ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2017-12-02 John David Anglin <danglin@gcc.gnu.org>
+ [BZ libc/19170]
+ * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
+ PREINIT_FUNCTION_WEAK is nonzero.
+ (gmon_initializer): New function. Put procedure label for it in
+ .init_array section.
+ (_init): Don't call PREINIT_FUNCTION.
+ * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
+ * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
+ value when map argument is null.
+
* sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
depi instruction from PIC pc-relative sequence.
* sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.