summaryrefslogtreecommitdiff
path: root/gcc/config/svr4.h
Commit message (Collapse)AuthorAgeFilesLines
* Move stabs specific target macros out od svr4.h and elfos.h and into dbxelf.hnickc1999-03-261-71/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25995 138bc75d-0d04-0410-961f-82ee72b054a4
* zack1999-01-311-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu> * flags.h: Declare flag_no_ident. * toplev.c: Define flag_no_ident. Process -f(no-)ident here. * c-decl.c: Don't define flag_no_ident. Don't process -f(no-)ident switches here. * ch/decl.c: Likewise. * cp/decl2.c: Likewise. * c-tree.h: Don't declare flag_no_ident. * ch/ch-tree.h: Likewise. * cp/cp-tree.h: Likewise. * config/elfos.h (ASM_FILE_END): Output final .ident directive only if !flag_no_ident. * config/ptx4.h: Likewise. * config/svr4.h: Likewise. * config/alpha/elf.h: Likewise. * config/arm/linux-elf.h: Likewise. * config/i386/sco5.h: Likewise. * config/i860/fx2800.h: Likewise. * config/mips/gnu.h: Likewise. * config/i386/osfrose.h: Likewise. * gcc.c (C specs): Map -Qn to -fno-ident. * ch/lang-specs.h: Likewise. * cp/lang-specs.h: Likewise. * f/lang-specs.h: Likewise. * objc/lang-specs.h: Likewise. * java/lang-specs.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24943 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi1998-10-231-1/+1
| | | | | | | | | | * sparc.h (EXTRA_SPECS): Add missing initializers. (sparc_defer_case_vector): Provide a prototype. * svr4.h (ASM_OUTPUT_ASCII): Cast STRING_LIMIT to (long) when comparing it to the result of a pointer subtraction. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23254 138bc75d-0d04-0410-961f-82ee72b054a4
* * flags.h: Add flag_data_sections.clm1998-09-281-2/+9
| | | | | | | | | | | | | * toplev.c: Add option -fdata-sections. Add flag_data_sections. (compile_file): Error if flag_data_sections not supported. * varasm.c (assemble_variable): Handle flag_data_sections. * config/svr4.h: Modify prefixes for UNIQUE_SECTION_NAME. * config/mips/elf.h: Likewise. * config/mips/elf64.h: Likewise. * invoke.texi: Describe -fdata-sections. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22619 138bc75d-0d04-0410-961f-82ee72b054a4
* * svr4.h (ASM_GENERATE_INTERNAL_LABEL): Cast arg to unsigned.jason1998-06-191-1/+1
| | | | | | | | * dwarf2out.c (ASM_OUTPUT_DWARF_DATA1): Likewise. Add parens to various macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20619 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix thinko.law1998-04-141-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19211 138bc75d-0d04-0410-961f-82ee72b054a4
* * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.law1998-04-141-2/+6
| | | | | | | (ASM_FINISH_DECLARE_OBJECT): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19206 138bc75d-0d04-0410-961f-82ee72b054a4
* /law1998-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add prototype for `handle_sysv_pragma', and make it static. Add parentheses around assignment used as truth value. * combine.c (combine_instructions): Protect variable `prev' with macro HAVE_cc0. (can_combine_p): Protect variable `link' with AUTO_INC_DEC. (extract_left_shift): Add parentheses around operand of &. (merge_outer_ops): Avoid an empty body in an else-statement. (gen_rtx_combine): Remove unused variable `i'. * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of function monstartup `void'. Likewise for internal_mcount. Add `static void' prototype for moncontrol. Reconcile sprintf format vs. args. * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>. Make return type of function_arg_slotno explicitly `int'. (reg_unused_after): Add parentheses around assignment used as truth value. (save_regs): Add explicit braces to avoid ambiguous `else'. (function_arg_slotno): Add parentheses around && within ||. (function_arg_pass_by_reference): Likewise. (sparc_flat_output_function_prologue): Reconcile fprintf format vs. args. * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value. * cplus-dem.c: Include <stdlib.h>. (demangle_signature): Avoid an empty body in an else-statement. (do_type): Remove unused variable `lvl'. * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS. Include <string.h>/<strings.h>. (cpp_lex): Remove unused variable `namelen'. (cpp_lex): Explicitly declare `num_chars' as an int. * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include <unistd.h> instead. Explicitly declare is_system_include returning int. (make_assertion): Remove unused variable `kt'. (cpp_expand_to_buffer): Hide variable `obuf'. (output_line_command): Remove unused variables, `line_end', `line_cmd_buf' and `len'. (macarg): Remove unused variable `arg_start'. (special_symbol): Remove unused variable `i'. Add parentheses around assignment used as truth value. (do_include): Remove unused variables `pcfname' and `retried', hide `pcf' and `pcfbuflimit'. (do_line): Remove unused variable `i'. (finclude): Hide variable `missing_newline'. (cpp_handle_options): Remove unused variable `j'. (read_token_list): Remove unused variable `eofp'. (cpp_error_with_line): Remove unused variable `i'. (cpp_warning_with_line): Likewise. (cpp_pedwarn_with_line): Explicitly declare `column' as int. (cpp_error_from_errno): Remove unused variable `i'. * cse.c (invalidate): Add parentheses around assignment used as truth value. (find_best_addr): Move declaration of variable `our_cost' inside the conditional macro where its used. (fold_rtx): Avoid an empty body in an if-statement. (cse_insn): Wrap variables `this_insn_cc0_mode' and `this_insn_cc0' in macro HAVE_cc0. * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>. (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's. (output_uleb128): Likewise. (output_sleb128): Likewise. (output_cfi): Likewise. (output_call_frame_info): Remove unused variables `j', `fde_size' and `fde_pad'. (comp_unit_has_inlines): Hide declaration as per rest of file. (size_of_line_prolog): Correct typo in prototype. (add_arange): Likewise. (output_aranges): Likewise. (add_name_and_src_coords_attributes): Likewise. (gen_array_type_die): Likewise. (gen_inlined_subroutine_die): Likewise. (equate_decl_number_to_die): Remove unused variable `i'. (print_die): Reconcile format vs. args in fprintf's. (print_dwarf_line_table): Likewise. (output_die): Likewise. (output_line_info): Likewise. (add_subscript_info): Avoid an empty body in an else-statement. (gen_subprogram_die): Remove unused variable `fp_loc'. * dwarfout.c: Explicitly declare `next_pubname_number' as int. Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE macro. Protect `src_coords_attribute' prototype with DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die' prototype as in the rest of the file. Likewise for `output_pointer_type_die' and `output_reference_type_die'. Remove prototype for `type_of_for_scope'. (output_unsigned_leb128): Reconcile format vs. args in fprintf. (type_attribute): Add explicit braces to avoid ambiguous `else'. * final.c: Include <stdlib.h> and <string.h>/<strings.h>. (shorten_branches): Protect declaration of tmp_length with SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros. (profile_function): Protect declaration of `sval' and `cxt' variables with appropriate macros. (final_scan_insn): Likewise for `note' variable. Add explicit braces to avoid empty body in an if-statement. (output_asm_insn): Move variable `i' inside macro conditional where it is used. Add parentheses around assignment used as truth value. (asm_fprintf) Likewise, likewise. * fix-header.c (main): Remove unused variable `done'. Protect declaration of `i' with FIXPROTO_IGNORE_LIST. * pexecute.c: Include <unistd.h>. Prototype `my_strerror'. * print-rtl.c (print_inline_rtx): Explicitly declare the parameter `ind'. * profile.c: Include <string.h>/<strings.h>. (instrument_arcs): Remove unused variables `note', `inverted', `zero' and `neg_one'. (branch_prob): Avoid empty body in an if-statement. * regclass.c: Include <stdlib.h>. (reg_alternate_class): Explicitly declare parameter `regno'. * regmove.c (regmove_optimize): Remove unused variable `p'. Add parentheses around assignment used as truth value. (find_matches): Remove unused variables `output_operand' and `matching_operand'. (fixup_match_1): Remove statement with no effect: "if (0) ;". * scan.c (sstring_append): Explicitly declare `count' as int. (scan_string): Explicitly declare parameter `init' as int. * sched.c: Include <stdlib.h>. (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |. (rank_for_schedule): Add parentheses around assignment used as truth value. (schedule_block): Likewise. (regno_use_in): Likewise. (schedule_insns): Remove unused variable `i'. * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>. (v_message_with_decl): Remove unused variable `n'. (botch): Explicitly declare parameter `s' as char *. (main): Add parentheses around assignment used as truth value. * tree.c (make_node): Protect the variable `kind' with the GATHER_STATISTICS macro. (real_value_from_int_cst): Move variable `e' inside conditional macro area where it is used. (tree_last): Add parentheses around assignment used as truth value. (build1): Protect the variable `kind' with the GATHER_STATISTICS macro. (print_obstack_statistics): Reconcile format vs. args in fprintf. Protect variables `i', `total_nodes', and `total_bytes' with the GATHER_STATISTICS macro. Lots more -W -Wall warnings disappear. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17517 138bc75d-0d04-0410-961f-82ee72b054a4
* Bring in final gcc-2.8.0 changes.law1998-01-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17355 138bc75d-0d04-0410-961f-82ee72b054a4
* * svr4.h (LINK_SPEC): Never specify -h.law1998-01-131-6/+6
| | | | | | | | | * ptx4.h (LINK_SPEC): Likewise. * rs6000/sysv4.h (LINK_SPEC): Likewise. * sparc/sol2.h (LINK_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17349 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-04-301-26/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13994 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/svr4.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): set the current-section ↵coxs1997-02-141-2/+7
| | | | | | variable to text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13633 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1996-11-151-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13160 138bc75d-0d04-0410-961f-82ee72b054a4
* (MAKE_DECL_ONE_ONLY): Fix typo in use of macro parameter.kenner1996-10-231-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13015 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix broken comment.dje1996-10-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12886 138bc75d-0d04-0410-961f-82ee72b054a4
* (USER_LABEL_PREFIX): Redefine, not ASM_OUTPUT_LABELREF.kenner1996-09-211-5/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12752 138bc75d-0d04-0410-961f-82ee72b054a4
* (MAKE_DECL_ONE_ONLY): Oops.merrill1996-09-191-10/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12747 138bc75d-0d04-0410-961f-82ee72b054a4
* (MAKE_DECL_ONE_ONLY): Define.merrill1996-09-181-0/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12736 138bc75d-0d04-0410-961f-82ee72b054a4
* ({ASM,LINK}_:SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.dje1996-07-121-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12431 138bc75d-0d04-0410-961f-82ee72b054a4
* (SELECT_SECTION): If RELOC is true, put it in data.merrill1996-05-011-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11909 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_SECTION_NAME): If no decl is specified,merrill1996-04-281-10/+7
| | | | | | | make the section read/write data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11900 138bc75d-0d04-0410-961f-82ee72b054a4
* (ENDFILE_SPEC): Add missing `%s'.kenner1996-04-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11811 138bc75d-0d04-0410-961f-82ee72b054a4
* (SWITCH_TAKES_ARG): Use DEFAULT_SWITCH_TAKES_ARG.kenner1996-02-131-9/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11266 138bc75d-0d04-0410-961f-82ee72b054a4
* In ASM_FINAL_SPEC, use %|, not ${pipe:-}ian1996-01-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11124 138bc75d-0d04-0410-961f-82ee72b054a4
* * svr4.h (SWITCH_TAKES_ARG): Add 'x'.dje1996-01-191-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11073 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_SECTION_NAME): Define section attributes only when akenner1996-01-161-11/+57
| | | | | | | section is defined the first time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11014 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't define MAX_OFILE_ALIGNMENT twice.meissner1996-01-071-5/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10953 138bc75d-0d04-0410-961f-82ee72b054a4
* Allow large alignments on ELF systemsmeissner1996-01-071-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10951 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_IDENTIFY_GCC): Don't output stab here.wilson1995-12-191-3/+11
| | | | | | | | (ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10804 138bc75d-0d04-0410-961f-82ee72b054a4
* Define DBX_USE_BINCL.ian1995-12-131-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10707 138bc75d-0d04-0410-961f-82ee72b054a4
* (LIBGCC_SPEC): Remove.merrill1995-12-051-6/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10676 138bc75d-0d04-0410-961f-82ee72b054a4
* * svr4.h (MD_EXEC_PREFIX): Don't use if cross compiling.dje1995-11-291-0/+15
| | | | | | | | (MD_STARTFILE_PREFIX): Likewise. (LINK_SPEC): Don't use absolute path names if cross compiling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10632 138bc75d-0d04-0410-961f-82ee72b054a4
* (MAX_OFILE_ALIGNMENT): Define.dje1995-11-291-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10628 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete.kenner1995-11-041-11/+3
| | | | | | | (ASM_IDENTIFY_GCC): Output stab here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10547 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null.kenner1995-06-281-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10067 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9972 138bc75d-0d04-0410-961f-82ee72b054a4
* Update weak symbol supportmerrill1995-05-161-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9697 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_SECTION_NAME): Make the section read-only executable "ax"roland1995-04-141-2/+7
| | | | | | | | if DECL is a FUNCTION_DECL; read-only "a" (previously the case always) if DECL is TREE_READONLY; otherwise writable "aw". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9386 138bc75d-0d04-0410-961f-82ee72b054a4
* Tweak LINK_SPECmerrill1995-03-171-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9198 138bc75d-0d04-0410-961f-82ee72b054a4
* (DBX_OUTPUT_MAIN_SOURCE_FILE_END): New macro.kenner1995-02-231-3/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9044 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/svr4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name.bothner1995-02-211-4/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8973 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_SECTION_NAME): Take proper number of args.roland1995-01-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8826 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_SECTION_NAME): Renamed from ASM_OUTPUT_SECTION.roland1995-01-241-2/+2
| | | | | | | The old name was a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8793 138bc75d-0d04-0410-961f-82ee72b054a4
* Shared library support.merrill1994-11-191-23/+52
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8519 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not emit \v, gas does not like it.meissner1994-09-281-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8156 138bc75d-0d04-0410-961f-82ee72b054a4
* Only define PREFERRED_DEBUGGING_TYPE if it is not already defined.ian1994-09-021-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8018 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for -gstabs on SVR4 configurations.ian1994-09-021-0/+58
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8017 138bc75d-0d04-0410-961f-82ee72b054a4
* Define ASM_OUTPUT_SECTION_NAMEian1994-08-241-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7972 138bc75d-0d04-0410-961f-82ee72b054a4
* (SELECT_SECTION): Variables go in readonly datawilson1994-03-181-1/+4
| | | | | | | only if the initializer is constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6820 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_FINISH_DECLARE_OBJECT): Set size_directive_output to 1.kenner1994-03-041-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6695 138bc75d-0d04-0410-961f-82ee72b054a4