Roland McGrath [Fri, 14 Apr 1995 23:31:05 +0000 (23:31 +0000)]
(ASM_OUTPUT_SECTION_NAME): Make the section read-only executable "ax" if DECL is a FUNCTION_DECL...
(ASM_OUTPUT_SECTION_NAME): Make the section read-only executable "ax"
if DECL is a FUNCTION_DECL; read-only "a" (previously the case always)
if DECL is TREE_READONLY; otherwise writable "aw".
From-SVN: r9386
Richard Kenner [Fri, 14 Apr 1995 22:49:07 +0000 (18:49 -0400)]
(output_prolog): Changed stack probe at function entry.
From-SVN: r9385
Richard Kenner [Fri, 14 Apr 1995 22:48:49 +0000 (18:48 -0400)]
(probe_stack): Probe with write, not read.
(allocate_stack): Update and correct stack probe code.
From-SVN: r9384
Richard Kenner [Fri, 14 Apr 1995 22:42:15 +0000 (18:42 -0400)]
(delete_insn): When deleting after label, delete a BARRIER as well.
From-SVN: r9383
Michael Meissner [Fri, 14 Apr 1995 17:06:46 +0000 (17:06 +0000)]
Emit eabi's main call to __eabi before setting up the minimal TOC, rather than after.
From-SVN: r9382
Richard Kenner [Fri, 14 Apr 1995 13:08:58 +0000 (09:08 -0400)]
(call_operand): Any reg is valid for NT.
(output_prologue): Never need GP for Windows/NT.
Set SYMBOL_REF_FLAG in current function decl.
From-SVN: r9381
Richard Kenner [Fri, 14 Apr 1995 13:05:11 +0000 (09:05 -0400)]
Fix typo with comment.
From-SVN: r9380
Jason Merrill [Fri, 14 Apr 1995 00:28:13 +0000 (00:28 +0000)]
Add defines.
From-SVN: r9379
Doug Evans [Fri, 14 Apr 1995 00:26:46 +0000 (00:26 +0000)]
(gen_sequence): If the insn has a non-null CALL_INSN_FUNCTION_USAGE field...
(gen_sequence): If the insn has a non-null
CALL_INSN_FUNCTION_USAGE field, output it as a sequence so the
latter isn't discarded.
From-SVN: r9378
Doug Evans [Thu, 13 Apr 1995 23:57:25 +0000 (23:57 +0000)]
(update expected conflict count)
From-SVN: r9377
Richard Kenner [Thu, 13 Apr 1995 12:50:20 +0000 (08:50 -0400)]
Clean up code that defines *DEFINED* symbols.
From-SVN: r9376
Richard Kenner [Thu, 13 Apr 1995 12:49:33 +0000 (08:49 -0400)]
Adjust for deletion of config.run in Makefile.in
Change version to 2.6.3.
From-SVN: r9375
Richard Kenner [Thu, 13 Apr 1995 12:48:51 +0000 (08:48 -0400)]
(OBJECT_SUFFIX): Define.
From-SVN: r9374
Richard Kenner [Thu, 13 Apr 1995 12:48:34 +0000 (08:48 -0400)]
(TARGET_MEM_FUNCTIONS): Define.
(LINK_SPEC): Delete "align:0x1000".
From-SVN: r9373
Richard Kenner [Thu, 13 Apr 1995 12:47:43 +0000 (08:47 -0400)]
Initial revision
From-SVN: r9372
Richard Kenner [Thu, 13 Apr 1995 12:46:37 +0000 (08:46 -0400)]
(calll, tablejump, movsi): New variants for NT.
From-SVN: r9371
Richard Kenner [Thu, 13 Apr 1995 12:45:41 +0000 (08:45 -0400)]
(WINDOWS_NT): Provide default definition.
(ASM_OUTPUT_INT): Use output_addr_const.
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .long for NT.
From-SVN: r9370
Richard Kenner [Thu, 13 Apr 1995 12:45:11 +0000 (08:45 -0400)]
Don't #include stamp.h for WINNT.
(input_operand, case CONST): Allow ptr_mode and DImode.
From-SVN: r9369
Richard Kenner [Thu, 13 Apr 1995 12:39:06 +0000 (08:39 -0400)]
Arg 2 is which machine (i386 or alpha).
From-SVN: r9368
Richard Kenner [Thu, 13 Apr 1995 12:10:12 +0000 (08:10 -0400)]
(ASM_OUTPUT_SECTION_NAME): New macro.
From-SVN: r9367
Jim Wilson [Wed, 12 Apr 1995 18:35:39 +0000 (11:35 -0700)]
(dbxout_type_fields): Correct arguments to CHARS macro in flag_minimal_debug case.
(dbxout_type_fields): Correct arguments to CHARS macro
in flag_minimal_debug case.
(dbxout_symbol_name): Use DECL_ASSEMBLER_NAME unconditionally.
From-SVN: r9366
Jim Wilson [Wed, 12 Apr 1995 18:35:15 +0000 (11:35 -0700)]
(sdbout_record_type_name): Correct indentation.
(sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally.
(sdbout_one_type): Likewise.
From-SVN: r9365
Per Bothner [Wed, 12 Apr 1995 06:34:50 +0000 (23:34 -0700)]
fix-header.c (main): Fix loop over required_functions_list
* fix-header.c (main): Fix loop over required_functions_list
(fatal): Also print inc_filename.
From-SVN: r9364
Jim Wilson [Tue, 11 Apr 1995 21:02:20 +0000 (14:02 -0700)]
(shiftby_operand): Delete.
From-SVN: r9363
Jim Wilson [Tue, 11 Apr 1995 21:01:12 +0000 (14:01 -0700)]
(TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT.
(OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3.
From-SVN: r9362
Jim Wilson [Tue, 11 Apr 1995 20:59:16 +0000 (13:59 -0700)]
(ashlsi3): Use nonmemory_operand as a predicate instead of shiftby_operand.
(ashlsi3): Use nonmemory_operand as a predicate instead of
shiftby_operand. Don't use shiftby_operand in the output statement.
(lshrsi3): Likewise.
From-SVN: r9361
Per Bothner [Tue, 11 Apr 1995 20:43:19 +0000 (13:43 -0700)]
Bunch of little fixes. See ChangeLog.
From-SVN: r9360
Jim Wilson [Tue, 11 Apr 1995 17:41:27 +0000 (10:41 -0700)]
(poplevel): Do output inline function if
DECL_ABSTRACT_ORIGIN points to itself.
From-SVN: r9359
Jim Wilson [Tue, 11 Apr 1995 17:36:18 +0000 (10:36 -0700)]
(output_constant): Cast assemble_string argument to char *.
From-SVN: r9358
Torbjorn Granlund [Mon, 10 Apr 1995 21:39:56 +0000 (21:39 +0000)]
(constrain_operands, case 'E'): Make this work like
constraint character `F' when REAL_ARITHMETIC is defined.
From-SVN: r9357
Torbjorn Granlund [Mon, 10 Apr 1995 21:39:56 +0000 (21:39 +0000)]
(find_reloads, case 'E'): : Make this work like
constraint character `F' when REAL_ARITHMETIC is defined.
From-SVN: r9356
Torbjorn Granlund [Mon, 10 Apr 1995 21:39:56 +0000 (21:39 +0000)]
(record_reg_classes, case 'E'): Make this work like
constraint character `F' when REAL_ARITHMETIC is defined.
From-SVN: r9355
Michael Meissner [Mon, 10 Apr 1995 19:06:40 +0000 (19:06 +0000)]
Undo Match 11th changes.
From-SVN: r9354
Michael Meissner [Mon, 10 Apr 1995 19:06:10 +0000 (19:06 +0000)]
Undo March 11th changes.
From-SVN: r9353
Richard Kenner [Mon, 10 Apr 1995 13:23:06 +0000 (09:23 -0400)]
(init_parse_options, cpp_reader): Cast args to bcopy, bcmp, and bzero to char *.
(init_parse_options, cpp_reader): Cast args to bcopy, bcmp, and bzero to
char *.
(add_import, push_parse_file, init_parse_file): Likewise.
From-SVN: r9352
Richard Kenner [Mon, 10 Apr 1995 13:22:43 +0000 (09:22 -0400)]
Add declaration of xmalloc.
From-SVN: r9351
Richard Kenner [Mon, 10 Apr 1995 13:22:19 +0000 (09:22 -0400)]
Add declarations of xmalloc and xrealloc.
(cpp_parse_expr): Cast args to bcopy to char *.
From-SVN: r9350
Richard Kenner [Mon, 10 Apr 1995 13:22:01 +0000 (09:22 -0400)]
#include config.h.
From-SVN: r9349
Richard Kenner [Mon, 10 Apr 1995 12:20:36 +0000 (08:20 -0400)]
(make_decl_rtl): Allow section attribute if...
(make_decl_rtl): Allow section attribute if -fno-common or variable is
not to be placed in common for some other reason.
From-SVN: r9348
Richard Kenner [Mon, 10 Apr 1995 12:20:09 +0000 (08:20 -0400)]
(enum attrs): New attribute, A_NOCOMMON.
(init_attribute): Initialize it.
(decl_attributes): Implement it.
From-SVN: r9347
Richard Kenner [Mon, 10 Apr 1995 11:57:09 +0000 (07:57 -0400)]
(simplify_set): Don't move a SUBREG to dest if it is changing the size
of a hard reg in CLASS_CANNOT_CHANGE_SIZE.
From-SVN: r9346
Richard Kenner [Mon, 10 Apr 1995 11:17:17 +0000 (07:17 -0400)]
(reload_as_needed): Call forget_old_reloads_1 on pattern before reg
elimination.
From-SVN: r9345
Richard Kenner [Mon, 10 Apr 1995 11:16:13 +0000 (07:16 -0400)]
(find_equiv_reg): If goal is a pseudo that got memory, a store into
memory makes it invalid.
From-SVN: r9344
Jeff Law [Mon, 10 Apr 1995 04:26:01 +0000 (22:26 -0600)]
pa.c (pa_reorg): Bump label use count for each entry in an exploded ADDR_VEC
* pa.c (pa_reorg): Bump label use count for each entry in an
exploded ADDR_VEC
From-SVN: r9343
Richard Kenner [Sun, 9 Apr 1995 13:22:42 +0000 (09:22 -0400)]
(adddi3, subdi3): Need scratch reg whenever operand 0 in mem and operands 1 not '0'.
(adddi3, subdi3): Need scratch reg whenever operand 0 in mem and operands 1
not '0'.
(subdi3): Don't treat two non-equal MEMs as non-aliasing.
From-SVN: r9342
Mike Stump [Sun, 9 Apr 1995 11:41:24 +0000 (11:41 +0000)]
64th Cygnus<->FSF merge
From-SVN: r9341
Jeff Law [Sun, 9 Apr 1995 02:53:09 +0000 (20:53 -0600)]
* pa.c (pa_reorg): Fix typo.
From-SVN: r9340
Michael Meissner [Sat, 8 Apr 1995 23:42:29 +0000 (23:42 +0000)]
Correct SELECT_SECTION.
From-SVN: r9339
Mike Stump [Sat, 8 Apr 1995 20:38:16 +0000 (20:38 +0000)]
* cpphash.c: Don't use const on compilers that don't support it.
From-SVN: r9338
Richard Kenner [Sat, 8 Apr 1995 20:32:01 +0000 (16:32 -0400)]
(expand_increment): Handle case where INCREMENTED has a non-trivial
conversion.
From-SVN: r9337
Richard Kenner [Fri, 7 Apr 1995 23:33:16 +0000 (19:33 -0400)]
(TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Fix assembler syntax
errors.
From-SVN: r9336
Richard Kenner [Fri, 7 Apr 1995 23:27:05 +0000 (19:27 -0400)]
(VMS_fstat, VMS_stat): New functions.
From-SVN: r9335
Richard Kenner [Fri, 7 Apr 1995 23:18:58 +0000 (19:18 -0400)]
(collect_expansion): If traditional...
(collect_expansion): If traditional, set stringify member to
SHARP_TOKEN regardless of the value of stringify_sharp_token_type.
From-SVN: r9334
Richard Kenner [Fri, 7 Apr 1995 20:04:38 +0000 (16:04 -0400)]
(simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, handle
sign- or zero-extending addresses.
From-SVN: r9333
Richard Kenner [Fri, 7 Apr 1995 18:03:52 +0000 (14:03 -0400)]
(init{,_integral,_floating,_complex}_libfuncs):
Change SUFFIX to "char" to avoid confusion with prototype.
From-SVN: r9332
Richard Kenner [Fri, 7 Apr 1995 16:36:39 +0000 (12:36 -0400)]
(expand_computed_goto): Convert from ptr_mode to Pmode.
From-SVN: r9331
Richard Kenner [Fri, 7 Apr 1995 16:36:20 +0000 (12:36 -0400)]
(convert_memory_address): Add extra arg.
From-SVN: r9330
Richard Kenner [Fri, 7 Apr 1995 16:35:49 +0000 (12:35 -0400)]
(expand_expr, case ADDR_EXPR): Always call convert_memory_address when
converting; add extra arg.
From-SVN: r9329
Richard Kenner [Fri, 7 Apr 1995 16:35:25 +0000 (12:35 -0400)]
(convert_memory_address): No longer static.
New arg, TO_MODE.
Do something special for SYMBOL_REF, LABEL_REF, and CONST.
(memory_address): Add extra arg to call to convert_memory_address.
From-SVN: r9328
Richard Kenner [Fri, 7 Apr 1995 12:10:03 +0000 (08:10 -0400)]
(OBJECT_SUFFIX): Move to here; now has period.
From-SVN: r9327
Richard Kenner [Fri, 7 Apr 1995 12:09:51 +0000 (08:09 -0400)]
(OBJECT_SUFFIX): Delete from here.
From-SVN: r9326
Richard Kenner [Fri, 7 Apr 1995 12:09:21 +0000 (08:09 -0400)]
(OBJECT_SUFFIX): Default now ".o", not "o".
(all specs): Remove "." before %O; use %O in a few missing cases.
From-SVN: r9325
Richard Kenner [Fri, 7 Apr 1995 11:48:25 +0000 (07:48 -0400)]
(STAGESTUFF): Use $(exeext) for executables.
From-SVN: r9324
Per Bothner [Fri, 7 Apr 1995 08:42:27 +0000 (01:42 -0700)]
* cpplib.c (bcopy, bzero, bcmp): Remove #undefs.
From-SVN: r9323
Richard Stallman [Fri, 7 Apr 1995 07:32:44 +0000 (07:32 +0000)]
Accept -lites* as op sys.
From-SVN: r9321
Per Bothner [Fri, 7 Apr 1995 06:20:52 +0000 (23:20 -0700)]
cpplib.c (SELF_DIR_DUMMY): New macro.
* cpplib.c (SELF_DIR_DUMMY): New macro.
(do_include): Don't pass searchptr to finclude if it is dsp,
since that is on the stack, and would cause a dangling pointer.
If handling #include_next, recognize SELF_DIR_DUMMY.
From-SVN: r9320
Per Bothner [Fri, 7 Apr 1995 06:19:22 +0000 (23:19 -0700)]
* cppalloc.c (xcalloc): Re-implement using calloc, rather than malloc+bzero.
From-SVN: r9319
Jeff Law [Fri, 7 Apr 1995 04:56:45 +0000 (22:56 -0600)]
pa.h (MACHINE_DEPENDENT_REORG): Define.
* pa.h (MACHINE_DEPENDENT_REORG): Define.
* pa.md (switch_jump): New pattern for jumps which implement
a switch table.
* pa.c (pa_reorg): New function to explode jump tables.
(pa_adjust_insn_length): Account for jumps in switch tables with
unfilled delay slots.
From-SVN: r9318
Jason Merrill [Thu, 6 Apr 1995 21:31:01 +0000 (21:31 +0000)]
(build_binary_op): Don't call common_type for uncommon pointer types.
From-SVN: r9317
Per Bothner [Wed, 5 Apr 1995 21:16:26 +0000 (14:16 -0700)]
Re-write fixproto/fix-header/etc to use cpplib.
From-SVN: r9316
Per Bothner [Wed, 5 Apr 1995 20:34:58 +0000 (13:34 -0700)]
Moved 'high-level' error functions from cpperror.c to cpplib.c.
From-SVN: r9315
Roland McGrath [Wed, 5 Apr 1995 03:35:44 +0000 (03:35 +0000)]
(GNU_CPP_PREDEFINES): Remove -D__HURD__.
From-SVN: r9314
Jeff Law [Tue, 4 Apr 1995 21:26:02 +0000 (15:26 -0600)]
pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment problem.
* pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment
problem.
From-SVN: r9313
Jeff Law [Tue, 4 Apr 1995 21:16:40 +0000 (15:16 -0600)]
reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN a the target of another JUMP_INSN to fill a delay slot.
* reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN
a the target of another JUMP_INSN to fill a delay slot.
From-SVN: r9312
Mike Stump [Tue, 4 Apr 1995 17:51:34 +0000 (17:51 +0000)]
63rd Cygnus<->FSF merge
From-SVN: r9311
Torbjorn Granlund [Mon, 3 Apr 1995 23:19:41 +0000 (23:19 +0000)]
(force_to_mode, case PLUS): Sign extend masks that are negative in OP_MODE.
(simplify_and_const_int): Sign-extend constants when they have the
most significant bit set for the target.
(merge_outer_ops): Likewise.
(simplify_shift_const): Likewise.
From-SVN: r9310
Torbjorn Granlund [Mon, 3 Apr 1995 23:19:02 +0000 (23:19 +0000)]
(simplify_unary_operation): Sign-extend constants when they have the most significant bit set for the target.
(simplify_unary_operation): Sign-extend constants when
they have the most significant bit set for the target.
(simplify_binary_operation): Likewise.
From-SVN: r9309
Jason Merrill [Mon, 3 Apr 1995 23:16:19 +0000 (23:16 +0000)]
oops
From-SVN: r9308
Torbjorn Granlund [Mon, 3 Apr 1995 22:54:09 +0000 (22:54 +0000)]
(umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, not CONSTANT_P.
(smulsi3_highpart): Likewise.
(const_umulsi3_highpart): Use const_uint32_operand instead
of immediate_operand for op3. Delete mode.
(const_smulsi3_highpart): Analogous change.
From-SVN: r9307
Torbjorn Granlund [Mon, 3 Apr 1995 22:53:36 +0000 (22:53 +0000)]
(const_uint32_operand): New function.
(const_sint32_operand): New function.
From-SVN: r9306
Richard Kenner [Mon, 3 Apr 1995 22:12:50 +0000 (18:12 -0400)]
(clear_storage, expand_assignment, store_{expr,constructor}): Use ptr_mode instead of Pmode in some places.
(clear_storage, expand_assignment, store_{expr,constructor}): Use ptr_mode
instead of Pmode in some places.
(expand_expr, expand_builtin): Likewise.
(push_block, store_expr): Convert size to Pmode.
(expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode.
From-SVN: r9305
Richard Kenner [Mon, 3 Apr 1995 22:12:15 +0000 (18:12 -0400)]
(convert_memory_address): New function.
(memory_address): Call if it needed.
(promote_mode, case POINTER_TYPE): Use Pmode and pointer extension.
(allocate_dynamic_stack_space): Convert size from ptr_mode.
From-SVN: r9304
Richard Kenner [Mon, 3 Apr 1995 22:11:26 +0000 (18:11 -0400)]
(nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED.
(num_sign_bit_copies, case REG): Likewise.
From-SVN: r9303
Jim Wilson [Mon, 3 Apr 1995 22:08:08 +0000 (15:08 -0700)]
(allocate_dynamic_stack_space): Correct typo in last change.
From-SVN: r9302
Jim Wilson [Mon, 3 Apr 1995 22:00:32 +0000 (15:00 -0700)]
(gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not a constant.
From-SVN: r9301
Jason Merrill [Mon, 3 Apr 1995 20:37:59 +0000 (20:37 +0000)]
Add -frepo
From-SVN: r9300
Michael Meissner [Mon, 3 Apr 1995 20:19:05 +0000 (20:19 +0000)]
Get correct bit offset for big endian (SUBREG (REG))
From-SVN: r9299
Mike Stump [Mon, 3 Apr 1995 19:28:01 +0000 (19:28 +0000)]
62nd Cygnus<->FSF merge
From-SVN: r9298
Roland McGrath [Mon, 3 Apr 1995 04:08:34 +0000 (04:08 +0000)]
Include "config/linux.h" instead of "linux.h", to avoid recursion.
From-SVN: r9297
Jim Wilson [Sun, 2 Apr 1995 21:34:42 +0000 (14:34 -0700)]
(simplify_relational_operation): Don't simplify A-B for
compare of A and B when the compare is unsigned.
From-SVN: r9296
Richard Kenner [Sun, 2 Apr 1995 12:22:56 +0000 (08:22 -0400)]
(stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ to
_BSD_VA_LIST_.
From-SVN: r9295
Richard Kenner [Sun, 2 Apr 1995 12:11:46 +0000 (08:11 -0400)]
(default_compilers): Pass -W and -w to gnat1.
From-SVN: r9294
Richard Kenner [Sun, 2 Apr 1995 11:57:23 +0000 (07:57 -0400)]
(STDC_VALUE): Add #undef.
From-SVN: r9293
Richard Kenner [Sun, 2 Apr 1995 11:55:13 +0000 (07:55 -0400)]
(chain_member_purpose): New function.
From-SVN: r9292
Richard Kenner [Sun, 2 Apr 1995 11:54:48 +0000 (07:54 -0400)]
(ASM_FILE_START, LIB_SPEC): Delete from here.
From-SVN: r9291
Richard Kenner [Sun, 2 Apr 1995 11:54:18 +0000 (07:54 -0400)]
(RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call chain_member_purpose, not chain_member_value.
(RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call chain_member_purpose, not
chain_member_value.
(ASM_FILE_START, LIB_SPEC): Move to here.
From-SVN: r9290
Jason Merrill [Sat, 1 Apr 1995 20:18:49 +0000 (20:18 +0000)]
avoid spurious signed/unsigned comparison warnings.
From-SVN: r9289
Richard Kenner [Sat, 1 Apr 1995 14:46:59 +0000 (09:46 -0500)]
(SHELL): New definition.
From-SVN: r9288
Richard Kenner [Sat, 1 Apr 1995 14:45:31 +0000 (09:45 -0500)]
Remove unneeded fixes relating to __stdcall.
From-SVN: r9287
Richard Kenner [Sat, 1 Apr 1995 14:45:11 +0000 (09:45 -0500)]
Remove unneeded #define's for non-ANSI functions.
From-SVN: r9286