summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-08-29 21:07:51 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-08-29 21:07:51 +0000
commit2f1aef195924fe33cd9d3f8772b2688ced7244ee (patch)
tree84f0edd04d068258e3585ae2b6a9f7e502f57caf /elf
parent8325b477b14353aa62192d0fdc7e883e5ced75d1 (diff)
downloadglibc-2f1aef195924fe33cd9d3f8772b2688ced7244ee.tar.gz
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 'elf')
0 files changed, 0 insertions, 0 deletions