<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc/sysdeps/arm, branch master</title>
<subtitle>Fork of glibc for development</subtitle>
<id>https://git.zx2c4.com/glibc/atom/sysdeps/arm?h=master</id>
<link rel='self' href='https://git.zx2c4.com/glibc/atom/sysdeps/arm?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/'/>
<updated>2024-06-26T10:45:43Z</updated>
<entry>
<title>arm: Avoid UB in elf_machine_rel()</title>
<updated>2024-06-26T10:45:43Z</updated>
<author>
<name>Palmer Dabbelt</name>
<email>palmer@rivosinc.com</email>
</author>
<published>2022-06-23T21:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=07fe71f59b13bbc336ece3ec9ef94dd95c9e0511'/>
<id>urn:sha1:07fe71f59b13bbc336ece3ec9ef94dd95c9e0511</id>
<content type='text'>
This recently came up during a cleanup to remove misaligned accesses
from the RISC-V port.

Link: https://sourceware.org/pipermail/libc-alpha/2022-June/139961.html
Suggested-by: Adhemerval Zanella &lt;adhemerval.zanella@linaro.org&gt;
Signed-off-by: Palmer Dabbelt &lt;palmer@rivosinc.com&gt;
Reviewed-by: Fangrui Song &lt;maskray@google.com&gt;
</content>
</entry>
<entry>
<title>arm: Update ulps</title>
<updated>2024-06-18T20:31:10Z</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2024-06-18T20:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=92341e31502865a0ab1f28e2240df20d19371832'/>
<id>urn:sha1:92341e31502865a0ab1f28e2240df20d19371832</id>
<content type='text'>
For the exp10m1, exp2m1, and log10p1 implementations.
</content>
</entry>
<entry>
<title>Convert to autoconf 2.72 (vanilla release, no distribution patches)</title>
<updated>2024-06-17T19:15:28Z</updated>
<author>
<name>Andreas K. Hüttel</name>
<email>dilfridge@gentoo.org</email>
</author>
<published>2024-06-11T21:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=98ffc1bfeb04fb04b7f18f1cbfccf1e43d6a867f'/>
<id>urn:sha1:98ffc1bfeb04fb04b7f18f1cbfccf1e43d6a867f</id>
<content type='text'>
As discussed at the patch review meeting

Signed-off-by: Andreas K. Hüttel &lt;dilfridge@gentoo.org&gt;
Reviewed-by: Simon Chopin &lt;simon.chopin@canonical.com&gt;
</content>
</entry>
<entry>
<title>Implement C23 logp1</title>
<updated>2024-06-17T13:47:09Z</updated>
<author>
<name>Joseph Myers</name>
<email>josmyers@redhat.com</email>
</author>
<published>2024-06-17T13:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=bb014f50c4a0c8d8db1ba5af55c104e430b5533d'/>
<id>urn:sha1:bb014f50c4a0c8d8db1ba5af55c104e430b5533d</id>
<content type='text'>
C23 adds various &lt;math.h&gt; function families originally defined in TS
18661-4.  Add the logp1 functions (aliases for log1p functions - the
name is intended to be more consistent with the new log2p1 and
log10p1, where clearly it would have been very confusing to name those
functions log21p and log101p).  As aliases rather than new functions,
the content of this patch is somewhat different from those actually
adding new functions.

Tests are shared with log1p, so this patch *does* mechanically update
all affected libm-test-ulps files to expect the same errors for both
functions.

The vector versions of log1p on aarch64 and x86_64 are *not* updated
to have logp1 aliases (and thus there are no corresponding header,
tests, abilist or ulps changes for vector functions either).  It would
be reasonable for such vector aliases and corresponding changes to
other files to be made separately.  For now, the log1p tests instead
avoid testing logp1 in the vector case (a Makefile change is needed to
avoid problems with grep, used in generating the .c files for vector
function tests, matching more than one ALL_RM_TEST line in a file
testing multiple functions with the same inputs, when it assumes that
the .inc file only has a single such line).

Tested for x86_64 and x86, and with build-many-glibcs.py.
</content>
</entry>
<entry>
<title>arm: Update ulps</title>
<updated>2024-05-20T16:12:23Z</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2024-05-20T15:54:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=32b2aa59da13e7b5e7936071652aeb6b0a39dde4'/>
<id>urn:sha1:32b2aa59da13e7b5e7936071652aeb6b0a39dde4</id>
<content type='text'>
For the log2p1 implementation.
</content>
</entry>
<entry>
<title>login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701)</title>
<updated>2024-04-19T12:38:17Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2024-04-19T12:38:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=9abdae94c7454c45e02e97e4ed1eb1b1915d13d8'/>
<id>urn:sha1:9abdae94c7454c45e02e97e4ed1eb1b1915d13d8</id>
<content type='text'>
These structs describe file formats under /var/log, and should not
depend on the definition of _TIME_BITS.  This is achieved by
defining __WORDSIZE_TIME64_COMPAT32 to 1 on 32-bit ports that
support 32-bit time_t values (where __time_t is 32 bits).

Reviewed-by: Adhemerval Zanella  &lt;adhemerval.zanella@linaro.org&gt;
</content>
</entry>
<entry>
<title>login: Check default sizes of structs utmp, utmpx, lastlog</title>
<updated>2024-04-19T12:38:17Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2024-04-19T12:38:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=4d4da5aab936504b2d3eca3146e109630d9093c4'/>
<id>urn:sha1:4d4da5aab936504b2d3eca3146e109630d9093c4</id>
<content type='text'>
The default &lt;utmp-size.h&gt; is for ports with a 64-bit time_t.
Ports with a 32-bit time_t or with __WORDSIZE_TIME64_COMPAT32=1
need to override it.

Reviewed-by: Adhemerval Zanella  &lt;adhemerval.zanella@linaro.org&gt;
</content>
</entry>
<entry>
<title>arm: Remove ld.so __tls_get_addr plt usage</title>
<updated>2024-04-04T20:03:32Z</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2024-04-04T20:03:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=95700e799809fff4307da05fa277820d21dec925'/>
<id>urn:sha1:95700e799809fff4307da05fa277820d21dec925</id>
<content type='text'>
Use the hidden alias instead.

Checked on arm-linux-gnueabihf.
</content>
</entry>
<entry>
<title>elf: Enable TLS descriptor tests on aarch64</title>
<updated>2024-03-19T17:53:30Z</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2024-03-12T16:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=3d53d18fc71c5d9ef4773b8bce04d54b80181926'/>
<id>urn:sha1:3d53d18fc71c5d9ef4773b8bce04d54b80181926</id>
<content type='text'>
The aarch64 uses 'trad' for traditional tls and 'desc' for tls
descriptors, but unlike other targets it defaults to 'desc'.  The
gnutls2 configure check does not set aarch64 as an ABI that uses
TLS descriptors, which then disable somes stests.

Also rename the internal machinery fron gnu2 to tls descriptors.

Checked on aarch64-linux-gnu.
Reviewed-by: H.J. Lu &lt;hjl.tools@gmail.com&gt;
</content>
</entry>
<entry>
<title>arm: Update _dl_tlsdesc_dynamic to preserve caller-saved registers (BZ 31372)</title>
<updated>2024-03-19T17:53:30Z</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2024-03-12T16:21:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=64c7e344289ed085517c2227d8e3b06388242c13'/>
<id>urn:sha1:64c7e344289ed085517c2227d8e3b06388242c13</id>
<content type='text'>
ARM _dl_tlsdesc_dynamic slow path has two issues:

  * The ip/r12 is defined by AAPCS as a scratch register, and gcc is
    used to save the stack pointer before on some function calls.  So it
    should also be saved/restored as well.  It fixes the tst-gnu2-tls2.

  * None of the possible VFP registers are saved/restored.  ARM has the
    additional complexity to have different VFP bank sizes (depending of
    VFP support by the chip).

The tst-gnu2-tls2 test is extended to check for VFP registers, although
only for hardfp builds.  Different than setcontext, _dl_tlsdesc_dynamic
does not have  HWCAP_ARM_IWMMXT (I don't have a way to properly test
it and it is almost a decade since newer hardware was released).

With this patch there is no need to mark tst-gnu2-tls2 as XFAIL.

Checked on arm-linux-gnueabihf.
Reviewed-by: H.J. Lu &lt;hjl.tools@gmail.com&gt;
</content>
</entry>
</feed>
