From: Steven Bosscher Date: Mon, 25 Jun 2012 13:09:42 +0000 (+0000) Subject: v850.c: Remove redundant extern declarations for last_assemble_variable_decl and... X-Git-Tag: misc/gccgo-go1_1_2~2198 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39ce30d841a90473fc5aeefe4dc6081c1966375d;p=thirdparty%2Fgcc.git v850.c: Remove redundant extern declarations for last_assemble_variable_decl and... * config/v850/v850.c: Remove redundant extern declarations for last_assemble_variable_decl and size_directive_output. * doc/tm.texi.in: Document JMP_BUF_SIZE. * doc/tm.texi: Regenerate. * config/sparc/sparc.h (JMP_BUF_SIZE): Do not define. * config/pa/pa.h (JMP_BUF_SIZE): Likewise. * config/stormy16/stormy16.h: Likewise. * config/picochip/picochip.c: Do not define DONT_USE_BUILTIN_SETJMP. * doc/sourcebuild.texi: Add missing subdirectories. From-SVN: r188933 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dbba68ace90d..97280220f2e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,18 @@ +2012-06-25 Steven Bosscher + + * config/v850/v850.c: Remove redundant extern declarations for + last_assemble_variable_decl and size_directive_output. + + * doc/tm.texi.in: Document JMP_BUF_SIZE. + * doc/tm.texi: Regenerate. + * config/sparc/sparc.h (JMP_BUF_SIZE): Do not define. + * config/pa/pa.h (JMP_BUF_SIZE): Likewise. + * config/stormy16/stormy16.h: Likewise. + + * config/picochip/picochip.c: Do not define DONT_USE_BUILTIN_SETJMP. + + * doc/sourcebuild.texi: Add missing subdirectories. + 2012-06-25 Tristan Gingold * config/i386/i386.h: Fix typo. diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index d977c64fdb28..6bf126e8c124 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1508,9 +1508,6 @@ do { \ of the return address. */ \ (GEN_INT (-4)) -/* The number of Pmode words for the setjmp buffer. */ -#define JMP_BUF_SIZE 50 - /* We need a libcall to canonicalize function pointers on TARGET_ELF32. */ #define CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL \ "__canonicalize_funcptr_for_compare" diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c index cef49aa8e0c2..9df557902daa 100644 --- a/gcc/config/picochip/picochip.c +++ b/gcc/config/picochip/picochip.c @@ -303,8 +303,6 @@ static char picochip_get_vliw_alu_id (void); usually requires a scratch register. */ #undef TARGET_SECONDARY_RELOAD #define TARGET_SECONDARY_RELOAD picochip_secondary_reload -#undef DONT_USE_BUILTIN_SETJMP -#define DONT_USE_BUILTIN_SETJMP 1 /* How Large Values are Returned */ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 81bcce8b6637..387e50b5009d 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1744,9 +1744,6 @@ extern int sparc_indent_opcode; #define AS_NIAGARA3_FLAG "d" #endif -/* The number of Pmode words for the setjmp buffer. */ -#define JMP_BUF_SIZE 12 - /* We use gcc _mcount for profiling. */ #define NO_PROFILE_COUNTERS 0 diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 43833625608f..88bd4530f0c0 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -458,9 +458,6 @@ enum reg_class #define DWARF2_UNWIND_INFO 0 #define DWARF_CIE_DATA_ALIGNMENT 1 -#undef DONT_USE_BUILTIN_SETJMP -#define JMP_BUF_SIZE 8 - /* Assembler Commands for Alignment. */ #define ASM_OUTPUT_ALIGN(STREAM, POWER) \ diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 186327da7ac9..f74c7ed49f07 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -2430,9 +2430,6 @@ construct_save_jarl (rtx op) return buff; } -extern tree last_assemble_variable_decl; -extern int size_directive_output; - /* A version of asm_output_aligned_bss() that copes with the special data areas of the v850. */ void diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index fc6f3e621d8a..3d834eeb095c 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -66,6 +66,10 @@ include it in @code{libc}. @item libada The Ada runtime library. +@item libatomic +The runtime support library for atomic operations (e.g. for @code{__sync} +and @code{__atomic}). + @item libcpp The C preprocessor library. @@ -94,6 +98,9 @@ generally useful data structures and algorithms. @xref{Top, , Introduction, libiberty, @sc{gnu} libiberty}, for more information about this library. +@item libitm +The runtime support library for transactional memory. + @item libjava The Java runtime library. @@ -104,6 +111,9 @@ dereferencing operations. @item libobjc The Objective-C and Objective-C++ runtime library. +@item libquadmath +The runtime support library for quad-precision math operations. + @item libssp The Stack protector runtime library. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 15c0aee60107..5a369b0ff309 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8961,6 +8961,14 @@ should use the @code{setjmp}/@code{longjmp} functions from the C library instead of the @code{__builtin_setjmp}/@code{__builtin_longjmp} machinery. @end defmac +@defmac JMP_BUF_SIZE +This macro has no effect unless @code{DONT_USE_BUILTIN_SETJMP} is also +defined. Define this macro if the default size of @code{jmp_buf} buffer +for the @code{setjmp}/@code{longjmp}-based exception handling mechanism +is not large enough, or if it is much too large. +The default size is @code{FIRST_PSEUDO_REGISTER * sizeof(void *)}. +@end defmac + @defmac DWARF_CIE_DATA_ALIGNMENT This macro need only be defined if the target might save registers in the function prologue at an offset to the stack pointer that is not aligned to diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 3bf211c3117e..5d2a0b174296 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -8856,6 +8856,14 @@ should use the @code{setjmp}/@code{longjmp} functions from the C library instead of the @code{__builtin_setjmp}/@code{__builtin_longjmp} machinery. @end defmac +@defmac JMP_BUF_SIZE +This macro has no effect unless @code{DONT_USE_BUILTIN_SETJMP} is also +defined. Define this macro if the default size of @code{jmp_buf} buffer +for the @code{setjmp}/@code{longjmp}-based exception handling mechanism +is not large enough, or if it is much too large. +The default size is @code{FIRST_PSEUDO_REGISTER * sizeof(void *)}. +@end defmac + @defmac DWARF_CIE_DATA_ALIGNMENT This macro need only be defined if the target might save registers in the function prologue at an offset to the stack pointer that is not aligned to