summaryrefslogtreecommitdiffstats
path: root/gcc/varasm.c
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9966 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_name): Disable warn_id_clash around get_identifier call.kenner1995-06-081-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9900 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_start_function, assemble_variable):kenner1995-06-011-2/+16
| | | | | | | Make sure first_global_object_name is in permanent obstack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9862 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos in comments.kenner1995-05-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9712 138bc75d-0d04-0410-961f-82ee72b054a4
* Update weak symbol supportmerrill1995-05-161-14/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9697 138bc75d-0d04-0410-961f-82ee72b054a4
* Always define handle_pragma_weak, but don't do anything unlessmeissner1995-04-181-4/+2
| | | | | | | HANDLE_PRAGMA_WEAK is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9414 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not give an error for __attribute__((weak)) on systems that do not ↵meissner1995-04-181-3/+0
| | | | | | support it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9411 138bc75d-0d04-0410-961f-82ee72b054a4
* Move pragma interface support to c-pragma.hmeissner1995-04-181-26/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9410 138bc75d-0d04-0410-961f-82ee72b054a4
* Make weak symbols work again.meissner1995-04-181-17/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9407 138bc75d-0d04-0410-961f-82ee72b054a4
* attributes weak and aliasmerrill1995-04-161-16/+78
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9391 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant): Cast assemble_string argument to char *.wilson1995-04-111-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9358 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Allow section attribute if -fno-common or variable iskenner1995-04-101-1/+3
| | | | | | | not to be placed in common for some other reason. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9348 138bc75d-0d04-0410-961f-82ee72b054a4
* (copy_constant): Copy operand of ADDR_EXPR if it is a constant.wilson1995-03-101-3/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9164 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Consistently use DECL_SIZE for everything.kenner1995-03-101-9/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9145 138bc75d-0d04-0410-961f-82ee72b054a4
* (record_constant_1): Handle NON_LVALUE_EXPR.kenner1995-03-091-64/+73
| | | | | | | Rewrite to use switch instead of if/then/elseif/else. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9141 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Remove reference to MODIFY_ASSEMBLER_NAME.kenner1995-02-231-4/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9049 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Call MODIFY_ASSEMBLER_NAME if defined.kenner1995-02-221-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9022 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (output_constant): Strip NOP_EXPRs for SET_TYPE too,bothner1995-02-211-5/+2
| | | | | | | by using AGGREGATE_TYPE_P macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8974 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constructor): Fix typo byte_size -> size.dje1995-02-181-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8968 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (const_hash): Add support for SET_TYPE constructors.bothner1995-02-151-0/+41
| | | | | | | | (record_constant_1), (copy_constant): Likewise. (output_constant): Likewise. (Also SET_TYPE INTEGER_CSTs.) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8955 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (function_section): New function.dje1995-02-131-4/+18
| | | | | | | | | | | | | | | | (assemble_start_function): Call it. * output.h (function_section): Declare it. * final.c (final_scan_insn): Call function_section instead of text_section. * dwarfout.c (dwarfout_begin_block): Likewise. (dwarfout_end_block): Likewise. (dwarfout_label): Likewise. (dwarfout_begin_function): Likewise. (dwarfout_end_function): Likewise. (dwarfout_line): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8942 138bc75d-0d04-0410-961f-82ee72b054a4
* Include output.h.kenner1994-12-301-48/+46
| | | | | | | | | | | | | Add prototyes for all static functions; remove forward declarations of non-static functions. (assemble_variable): Add missing arg decl. (bc_make_decl_rtl, const_hash, const_hash_rtx): Now static. (output_addressed_constants, output_constructor): Likewise. (bc_output_constructor): Add missing argument. (output_byte_asm): Delete, unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8709 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constructor): Change type of variable value towilson1994-12-291-1/+2
| | | | | | | HOST_WIDE_INT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8705 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant): When eliminating conversions, treat ARRAY_TYPE likekenner1994-11-221-2/+3
| | | | | | | a record. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8546 138bc75d-0d04-0410-961f-82ee72b054a4
* Check target endianness at run time, not compile timeian1994-11-161-64/+71
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8470 138bc75d-0d04-0410-961f-82ee72b054a4
* (named_section): New argument decl, all callers changed.dje1994-11-161-6/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8460 138bc75d-0d04-0410-961f-82ee72b054a4
* (bc_output_constructor): Return type now rtx.kenner1994-07-291-3/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7828 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_real): Handle TQFmode output.kenner1994-07-111-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7734 138bc75d-0d04-0410-961f-82ee72b054a4
* (record_constant_rtx, force_const_mem): Ensure everything is inkenner1994-07-081-6/+27
| | | | | | | saveable_obstack, not current_obstack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7689 138bc75d-0d04-0410-961f-82ee72b054a4
* Thu Jul 7 16:58:35 1994 Jason Merrill (jason@deneb.cygnus.com)merrill1994-07-081-0/+1
| | | | | | | | * varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on erroneous incomplete decls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7677 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_name): Call STRIP_NAME_ENCODING.kenner1994-07-051-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7651 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_name): Set TREE_SYMBOL_REFERENCED on themerrill1994-06-231-0/+3
| | | | | | | identifier for `name'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7550 138bc75d-0d04-0410-961f-82ee72b054a4
* Cast pointer operands to bzero, bcopy, and bcmp to (char *).kenner1994-06-141-13/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7472 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): If section attribute is being ignored, really ignore it.dje1994-06-031-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7441 138bc75d-0d04-0410-961f-82ee72b054a4
* Use new macro AGGREGATE_TYPE_P.bothner1994-04-261-6/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7160 138bc75d-0d04-0410-961f-82ee72b054a4
* (copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed onkenner1994-04-251-1/+1
| | | | | | | old CONSTRUCTOR, not new one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7157 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (contains_pointers_p): When examining a RECORD_TYPE,merrill1994-04-131-1/+2
| | | | | | | only look at the FIELD_DECLs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7045 138bc75d-0d04-0410-961f-82ee72b054a4
* (immed_double_const): Sign-extend constants when theywilson1994-04-111-0/+13
| | | | | | | have the most significant bit set for the target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7027 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Likewise.wilson1994-03-181-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6819 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant_def): Do hashing and make label even if bytecode.kenner1994-03-141-39/+34
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6784 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant): Strip off some NOP_EXPRs before further processing.kenner1994-03-011-6/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6683 138bc75d-0d04-0410-961f-82ee72b054a4
* (handle_pragma_weak): Depend on ASM_OUTPUT_DEF notwilson1994-02-281-18/+5
| | | | | | | | SET_ASM_OP when defining it. Use ASM_OUTPUT_DEF to output value instead of SET_ASM_OP and explicit ASM_OUTPUT_LABELREF calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6662 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Initialize NAME and abort if not reset.kenner1994-02-271-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6648 138bc75d-0d04-0410-961f-82ee72b054a4
* (IN_NAMED_SECTION): New macro.dje1994-02-171-27/+77
| | | | | | | | | | | | | | | (named_section): New function. (enum in_section): New value `in_named'. (in_named_name): New global. (make_function_rtl, make_decl_rtl, output_constant_def): Fix comment regarding ASM_OUTPUT_LABELREF. (make_decl_rtl): Warn if section attribute used with uninitialized variable declaration. (assemble_start_function, assemble_variable, output_constant_def): Change to named section if given. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6585 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Call globalize_reg, not init_reg_sets_1.kenner1994-01-111-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6372 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-decl.c (flag_conserve_space): New language specific flag tomrs1993-12-161-0/+1
| | | | | | | | | | | | | | | | | | | tell the compiler to use .common when possible. Reduces the size of .o files. * cp-decl.c (duplicate_decls): Copy DECL_COMMON from the olddecl. * cp-decl.c (start_decl): Set DECL_COMMON appropriately. * cp-decl.c (finish_decl): Use flag_conserve_space, instead of flag_no_common. * cp-decl2.c (flag_conserve_space, lang_f_options): New flag. * toplev.c (lang_options): New -fconserve-space flag. * tree.h (DECL_COMMON): New flag. * tree.h (tree_decl): New common_flag. * varasm.c (assemble_variable): Use DECL_COMMON to help determine if an object can be put in .common. * c-decl.c (start_decl): Set DECL_COMMON to 1.. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6244 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Set DECL_IN_TEXT_SECTION somewhat earlier.rms1993-11-041-4/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5994 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Set DECL_IN_TEXT_SECTION.rms1993-11-041-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5991 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Set last_assemble_variable_decl.rms1993-10-241-0/+10
| | | | | | | (last_assemble_variable_decl): New variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5877 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constructor): Fix previous change:rms1993-10-211-8/+54
| | | | | | | | | | if no TYPE_DOMAIN, don't set min_index. (copy_constant): New function. (output_constant_def): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5860 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud