aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2016-09-29 21:54:31 -0400
committerCarlos O'Donell <carlos@redhat.com>2016-09-30 01:36:56 -0400
commitd61ef7352b0026d9eeaf457dbfbb2e3fd8401e92 (patch)
tree798532132a35db0935de8cff3f10e8642e3457bb /ChangeLog
parent29cb9293326a27576965a40d50a898ee660dff81 (diff)
downloadglibc-d61ef7352b0026d9eeaf457dbfbb2e3fd8401e92.tar
glibc-d61ef7352b0026d9eeaf457dbfbb2e3fd8401e92.tar.gz
glibc-d61ef7352b0026d9eeaf457dbfbb2e3fd8401e92.tar.bz2
glibc-d61ef7352b0026d9eeaf457dbfbb2e3fd8401e92.zip
Bug 20292 - Simplify and test _dl_addr_inside_object
The function _dl_addr_inside_object is simplified by removing the conditional 'reladdr - l->l_phdr[n].p_vaddr >= 0' which is always true. The function is refactored into it's own object file and a unit test added to verify the correct behaviour of the function.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 44e8876bcb..86f4557abc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2016-09-30 Carlos O'Donell <carlos@redhat.com>
+
+ [BZ #20292]
+ * elf/Makefile (routines): Add dl-addr-obj.
+ [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
+ tst-_dl_addr_inside_object.
+ [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
+ [ifeq (yesyes,$(have-fpie)$(build-shared))]
+ ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
+ [ifeq (yesyes,$(have-fpie)$(build-shared))]
+ (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
+ * elf/dl-addr.c: Remove _dl_addr_inside_object function.
+ * elf/dl-open.c: Likewise.
+ * elf/dl-addr-obj.c: New file.
+ * elf/tst-_dl_addr_inside_object.c: New file.
+
2016-09-30 Joseph Myers <joseph@codesourcery.com>
* math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include