diff options
author | 2017-08-29 21:07:51 +0000 | |
---|---|---|
committer | 2017-08-29 21:07:51 +0000 | |
commit | 2f1aef195924fe33cd9d3f8772b2688ced7244ee (patch) | |
tree | 84f0edd04d068258e3585ae2b6a9f7e502f57caf /malloc/hooks.c | |
parent | 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com> (diff) | |
download | glibc-2f1aef195924fe33cd9d3f8772b2688ced7244ee.tar.xz glibc-2f1aef195924fe33cd9d3f8772b2688ced7244ee.zip |
Fix m68k bits/math-inline.h macro namespace (bug 22035).
As shown by build bot failures
<https://sourceware.org/ml/libc-testresults/2017-q3/msg00349.html> the
m68k bits/mathinline.h is not namespace-clean: it fails to compile if
the user has defined macros f or l before it is included, because of
expansions of those arguments to __inline_functions. This patch
changes the __inline_functions definitions to take not the suffix but
a macro that concatenates it with the function name, to avoid the
spurious macro expansions.
Tested for m68k with build-many-glibcs.py.
[BZ #22035]
* sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
Define to take a second argument that is a macro that
concatentates a suffix, not the suffix itself.
(__CONCAT_d): New macro.
(__CONCAT_f): Likewise.
(__CONCAT_l): Likewise.
Diffstat (limited to 'malloc/hooks.c')
0 files changed, 0 insertions, 0 deletions