summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-01-22 22:39:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-01-22 22:39:26 +0000
commitd7423856b5949401e08136d8db8ece1d9dc229f9 (patch)
tree5fbd1b0440cbd91ac885673fbd1f770d14203ccc /sysdeps
parent6b2ba95b6baab6b1789e8823c8a808e09bc98794 (diff)
downloadglibc-d7423856b5949401e08136d8db8ece1d9dc229f9.tar.gz
soft-fp: Use __label__ for all labels within macros.
soft-fp has various macros containing labels and goto statements. Because label names are function-scoped, this is problematic for using the same macro more than once within a function, which some architectures do in the Linux kernel (the soft-fp version there predates the addition of any of these labels and gotos). This patch fixes this by using __label__ to make the labels local to the block with the __label__ declaration. Tested for powerpc-nofpu that installed stripped shared libraries are unchanged by this patch. * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with __label__. (_FP_FMA): Likewise. (_FP_TO_INT_ROUND): Likewise. (_FP_FROM_INT): Likewise.
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions