aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-06-25 13:09:42 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-06-25 13:09:42 +0000
commit39ce30d841a90473fc5aeefe4dc6081c1966375d (patch)
treead3d9be34ddb16b21b5cd6ba654e740ab02d232f /gcc
parent4e523f332518b5b2d04ffc9782a443e49944b49c (diff)
downloadgcc-39ce30d841a90473fc5aeefe4dc6081c1966375d.zip
gcc-39ce30d841a90473fc5aeefe4dc6081c1966375d.tar.gz
gcc-39ce30d841a90473fc5aeefe4dc6081c1966375d.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog15
-rw-r--r--gcc/config/pa/pa.h3
-rw-r--r--gcc/config/picochip/picochip.c2
-rw-r--r--gcc/config/sparc/sparc.h3
-rw-r--r--gcc/config/stormy16/stormy16.h3
-rw-r--r--gcc/config/v850/v850.c3
-rw-r--r--gcc/doc/sourcebuild.texi10
-rw-r--r--gcc/doc/tm.texi8
-rw-r--r--gcc/doc/tm.texi.in8
9 files changed, 41 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dbba68a..9728022 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,18 @@
+2012-06-25 Steven Bosscher <steven@gcc.gnu.org>
+
+ * 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 <gingold@adacore.com>
* config/i386/i386.h: Fix typo.
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index d977c64..6bf126e 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 cef49aa..9df5579 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 81bcce8..387e50b 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 4383362..88bd453 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 186327d..f74c7ed 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 fc6f3e6..3d834ee 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 15c0aee..5a369b0 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 3bf211c..5d2a0b1 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