summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/output.h
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-11-25 20:29:14 +0000
committerdim <dim@FreeBSD.org>2010-11-25 20:29:14 +0000
commit5a38866f59f8e4f0292c21ea5a1d6d2e01c704e9 (patch)
tree87c2e885617f371fe760de49e1cadb9822100f10 /contrib/gcc/output.h
parent8633830499db1c406c3dfa7e654d2bae768193bb (diff)
downloadFreeBSD-src-5a38866f59f8e4f0292c21ea5a1d6d2e01c704e9.zip
FreeBSD-src-5a38866f59f8e4f0292c21ea5a1d6d2e01c704e9.tar.gz
Apply backported fix for gcc PR 20218. This makes __attribute__
((visibility ("hidden"))) work properly, and fixes building devel/glib20 with newer binutils. Silence from: current@
Diffstat (limited to 'contrib/gcc/output.h')
-rw-r--r--contrib/gcc/output.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/gcc/output.h b/contrib/gcc/output.h
index fda098b..1d9b837 100644
--- a/contrib/gcc/output.h
+++ b/contrib/gcc/output.h
@@ -200,9 +200,9 @@ extern void assemble_variable (tree, int, int, int);
DONT_OUTPUT_DATA is from assemble_variable. */
extern void align_variable (tree decl, bool dont_output_data);
-/* Output something to declare an external symbol to the assembler.
- (Most assemblers don't need this, so we normally output nothing.)
- Do nothing if DECL is not external. */
+/* Queue for outputing something to declare an external symbol to the
+ assembler. (Most assemblers don't need this, so we normally output
+ nothing.) Do nothing if DECL is not external. */
extern void assemble_external (tree);
/* Assemble code to leave SIZE bytes of zeros. */
@@ -607,6 +607,10 @@ extern void default_file_start (void);
extern void file_end_indicate_exec_stack (void);
extern bool default_valid_pointer_mode (enum machine_mode);
+extern void default_elf_asm_output_external (FILE *file, tree,
+ const char *);
+extern int maybe_assemble_visibility (tree);
+
extern int default_address_cost (rtx);
/* dbxout helper functions */
OpenPOWER on IntegriCloud