diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2017-12-02 14:43:28 -0500 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2017-12-02 14:43:28 -0500 |
commit | b3f7fb12f5c490787d548ecc479920e608f6f904 (patch) | |
tree | 15f8efbcb6b8c29510e265cc0c1ef7f5904b3094 /ChangeLog | |
parent | 800a496acbb8c43036b3832460220d4ecbbc22a4 (diff) | |
download | glibc-b3f7fb12f5c490787d548ecc479920e608f6f904.tar glibc-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-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. |