From b9deb8ce2a72de8f74361ea10dd4c4b116458518 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 26 Oct 2016 10:44:50 +0200 Subject: iconv: Avoid writable data and relocations in IBM charsets The IBM930, IBM933, IBM935 and IBM939 converters defined lookup tables which were not constant. They also contained an unnecessary pointer indirection. --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4db6d2c677..cddd1e613d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2016-10-26 Florian Weimer + + * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and + make const. + * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise. + * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise. + * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise. + * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte + character in sbconv. + * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise. + * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise. + * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise. + 2016-10-26 Siddhesh Poyarekar * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove. -- cgit 1.4.1