newlib-cygwin/newlib/libc/machine
Eric Blake ada456dcfe headers: properly decorate attributes
Found by:
find -name '*.h' |xargs grep -i 'attribute.*(([a-z]'

For an example of the type of bugs this causes, try compiling this valid
C11 program (it's valid because 'noreturn' is reserved for use in the
user namespace unless you include <stdnoreturn.h>):

$ cat foo.c
#define noreturn __attribute__((noreturn))
#include <stdlib.h>
$ gcc -c -o foo.o -Wall foo.c
In file included from /usr/include/stdlib.h:11:0,
                 from foo.c:2:
foo.c:1:18: error: expected ')' before '__attribute__'
 #define noreturn __attribute__((noreturn))
                  ^
/usr/include/stdlib.h:66:28: error: expected ',' or ';' before ')' token
 _VOID _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn)));
                            ^

* libc/machine/spu/spu_timer_internal.h: Decorate attribute names
with __, for namespace safety.
* libc/machine/xscale/machine/profile.h: Likewise.
* libc/include/stdlib.h: Likewise.
* libc/include/_ansi.h: Likewise.
* libc/include/sys/unistd.h: Likewise.
* libc/sys/linux/linuxthreads/libc-symbols.h: Likewise.
* libc/sys/linux/linuxthreads/internals.h: Likewise.
* libc/sys/linux/machine/i386/weakalias.h: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
* libc/sys/linux/machine/i386/dl-machine.h: Likewise.
* libc/sys/linux/libc-symbols.h: Likewise.
* libc/sys/linux/iconv/gconv_charset.h: Likewise.
* libc/sys/linux/include/resolv.h: Likewise.
* libc/sys/linux/sys/unistd.h: Likewise.
* libc/sys/linux/dl/atomicity.h: Likewise.
* libc/sys/linux/dl/dynamic-link.h: Likewise.
* libc/sys/linux/dl/ldsodefs.h: Likewise.
2014-08-01 15:44:51 +00:00
..
a29k 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
aarch64 [aarch64] Add memchr. 2014-07-11 09:10:50 +00:00
arm 2014-07-07 Pavel Pisa <pisa@cmp.felk.cvut.cz> 2014-07-07 13:58:35 +00:00
bfin 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
cr16 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
cris 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
crx 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
d10v 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
d30v 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
epiphany 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
fr30 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
frv 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
h8300 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
h8500 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
hppa 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
i386 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
i960 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
iq2000 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
lm32 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
m32c 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
m32r 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
m68hc11 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
m68k 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
m88k 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
mep 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
microblaze 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
mips 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
mn10200 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
mn10300 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
moxie 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
msp430 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
mt 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
nds32 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com> 2014-03-21 21:15:15 +00:00
necv70 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
nios2 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
or1k * configure.host: Remove or16 and or32 targets and add or1k. 2014-07-17 18:43:05 +00:00
powerpc 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
rl78 * libc/machine/rl78/setjmp.S: Add RL78/G10 support. 2014-04-09 21:35:43 +00:00
rx 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
sh 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
sparc * libc/machine/sparc/setjmp.S (longjmp): Use register g1 instead of g6. 2014-05-15 13:14:25 +00:00
spu headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
tic4x 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
tic6x 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
tic80 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
v850 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
w65 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
x86_64 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
xc16x 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
xscale headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
xstormy16 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
z8k 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
Makefile.am * ltmain.sh: Update from GCC. 2007-05-24 17:33:42 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure * configure.host: Remove or16 and or32 targets and add or1k. 2014-07-17 18:43:05 +00:00
configure.in * configure.host: Remove or16 and or32 targets and add or1k. 2014-07-17 18:43:05 +00:00