summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * varasm.c (asm_output_bss): New argument DECL.dje1996-05-241-5/+19
| | | | | | | | | Use ASM_DECLARE_OBJECT_NAME if defined. (asm_output_aligned_bss): Likewise. (assemble_variable): Pass DECL to ASM_OUTPUT{,_ALIGNED}_BSS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12087 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (function_section): Delete flag_function_sections support.dje1996-05-161-23/+17
| | | | | | | (assemble_start_function): Put it here. Use UNIQUE_SECTION if defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11975 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn'tdje1996-05-101-11/+15
| | | | | | | | | consider bytecodes. * varasm.c (assemble_start_function): ASM_DECLARE_FUNCTION_NAME needn't consider bytecodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11964 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Update DECL_ASSEMBLER_NAME for localmerrill1996-05-071-2/+2
| | | | | | | | statics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11950 138bc75d-0d04-0410-961f-82ee72b054a4
* (named_section): Accept any decl.dje1996-05-061-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11945 138bc75d-0d04-0410-961f-82ee72b054a4
* -fno-common changemerrill1996-05-061-9/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11940 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_trampoline_template): No such function if nokenner1996-04-161-0/+2
| | | | | | | TRAMPOLINE_TEMPLATE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11823 138bc75d-0d04-0410-961f-82ee72b054a4
* * flags.h (flag_function_sections): Declare.law1996-04-151-1/+25
| | | | | | | | | | | | | | | | | | | | * toplev.c (flag_function_sections): Define. (compile_file): Add warnings when -ffunction-sections is used with -g, or profiling. Disable -ffunction-sections when profiling is used. Add warning when -ffunction-sections is used on a target that doesn't support it. * varasm.c (named_section): Make a copy of the section name in case the original is in temporary storage. (function_section): Set DECL_SECTION_NAME for each function if flag_function_sections is on and the target supports it. * dbxout.c (dbxout_function_end): New function. (dbxout_function): Call dbxout_function_end if using extensions and flag_function_sections is on. * sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Prefix a function section's name with ".text%" when -ffunction-sections. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11774 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR,bothner1996-02-291-2/+6
| | | | | | | | | first extract and compare the set length. * varasm.c (record_constant_1): For SET_TYPE CONSTRUCTOR, permanent_obstack.next_free is *end* of available space. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11385 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OPdje1996-02-291-14/+125
| | | | | | | | | | | | is defined. (bss_section,asm_output_bss,asm_output_aligned_bss): New functions. (assemble_variable): Delete redundant test for too large an object. Rewrite test for uninitialized variables. Use new macros ASM_OUTPUT{,_ALIGNED}_BSS if defined to output global uninitialized but not common variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11364 138bc75d-0d04-0410-961f-82ee72b054a4
* (in_data_section): New function.kenner1996-01-151-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10983 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (variable_section): New function.dje1996-01-101-59/+41
| | | | | | | (assemble_variable): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10960 138bc75d-0d04-0410-961f-82ee72b054a4
* ({bc_,}make_decl_rtl): Don't look at DECL_REGISTER for functions.kenner1995-12-311-18/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10912 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix indention typo.law1995-12-031-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10665 138bc75d-0d04-0410-961f-82ee72b054a4
* (struct rtx_const): Add new field DI to union.kenner1995-08-311-3/+11
| | | | | | | | (decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE representing an integer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10304 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_name, bc_assemble_integer): Call bc_emit_labelref withkenner1995-07-101-2/+3
| | | | | | | proper args. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10110 138bc75d-0d04-0410-961f-82ee72b054a4
* 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