Commit Graph

10500 Commits

Author SHA1 Message Date
Richard Kenner c0cacfd5a5 Changed archive command for libobjc.a to use $? for objects.
From-SVN: r10332
1995-09-12 17:40:04 -04:00
Richard Kenner 435546906e Changed various .o's to .$(objext)'s
Changed various .o's to .$(objext)'s
(specs): Removed unnecessary $(exeext).
(EXTRA_GCC_OBJS): New variable.
(clean): Removed $(LIB2FUNCS_EXTRA)

From-SVN: r10331
1995-09-12 17:39:08 -04:00
Richard Kenner 273adcccb8 Changed to used common winnt/config-nt.bat.
From-SVN: r10330
1995-09-12 17:37:25 -04:00
Douglas Rupp 2453e8d179 drupp@cs.ashington.edu
From-SVN: r10329
1995-09-12 17:32:00 -04:00
Douglas Rupp ccef7c3f6c (cc1plus) : Removed unnecessary $(exeext).
From-SVN: r10328
1995-09-12 17:31:04 -04:00
Richard Kenner 76af0b138e Fix HP/UX <sys/file.h> for g++ -pedantic-errors.
From-SVN: r10327
1995-09-12 13:55:04 -04:00
Richard Kenner f2121711af (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax.
From-SVN: r10326
1995-09-12 13:51:05 -04:00
Richard Kenner a6ec530cdf (adddi3, subdi3, negdi2): Add constraints so output reg does not
overlap one reg with one of the inputs.

From-SVN: r10325
1995-09-12 13:23:51 -04:00
Richard Kenner ac1bc2ca68 (scan_libraries): cast lsyms' alloca() to LDSYM*.
From-SVN: r10324
1995-09-12 13:09:33 -04:00
Richard Kenner ba5c3ac4db (__gnuc_va_list): Make char * for NetBSD.
From-SVN: r10323
1995-09-12 13:04:05 -04:00
Richard Kenner 1f62a7ca9f (va_arg): Reorganize to avoid BIND_EXPRs of aggregate or array type.
From-SVN: r10322
1995-09-12 12:44:42 -04:00
Richard Kenner 5f01b2d515 (curses.h): typedef bool need not take up entire line.
From-SVN: r10321
1995-09-12 12:42:15 -04:00
Richard Kenner 872d777bb1 (CPP_SPEC): Define the correct endian macro for varargs/stdargs use.
From-SVN: r10320
1995-09-11 19:22:26 -04:00
Richard Kenner 4d3f9f5b1c (LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1 depending on the target endianess.
(ASM_FILE_START): Define, to call output_options in addition to
output_file_directive.
(TRAMPOLINE_SIZE): Correct size to match code.

From-SVN: r10319
1995-09-11 19:21:54 -04:00
Richard Kenner 6b6ccd1060 (float{,uns}sidf2): Call rs6000_float_const to portably build the proper floating point constant for conversions.
(float{,uns}sidf2): Call rs6000_float_const to portably build the proper
floating point constant for conversions.
(movdi): Properly handle movdi of CONST_{INT,DOUBLE} on little endian systems.

From-SVN: r10318
1995-09-11 19:21:16 -04:00
Richard Kenner 24d304eb56 (output_option{,s}): New functions to write -f, -m, and -W options to the asm file.
(output_option{,s}): New functions to write -f, -m, and -W options to the
asm file.
(rs6000_float_const): New function to generate floating point constants
portably used in signed,unsigned -> double conversions.
(rs6000_stack_info,debug_stack_info): Use ABI enumeration instead
of AIX vs. V.4 boolean.

From-SVN: r10317
1995-09-11 19:20:44 -04:00
Richard Kenner 6b67933e96 (rs6000_abi): New enumeration to describe which ABI we're conforming to.
(rs6000_stack): Use abi enum, not AIX vs. V.4 boolean.
(ASM_OUTPUT_OPTIONS): New macro to print output options in .s file.
(ASM_FILE_START): Use it.
(output_options,rs6000_float_const): Declare new functions.

From-SVN: r10316
1995-09-11 19:20:14 -04:00
Richard Kenner 6c99c37ba9 (digest_init): Don't recursively call digest_init when in traditional
mode if the type is invalid.

From-SVN: r10315
1995-09-11 19:05:26 -04:00
Richard Kenner ebe9f72764 Added DLB/DSTB peepholes for HFmode.
Corrected mnemonics for HImode DSTB peephole.

From-SVN: r10314
1995-09-11 18:58:21 -04:00
Richard Kenner d5f2740875 (FLO_union_type): Remove bitfields to set sign...
(FLO_union_type): Remove bitfields to set sign, exponent, and
mantissa, and add value_raw field, which is an integer of the
appropriate type.  If _DEBUG_BITFLOAT is defined, provide little and
big endian bitfields.  If the macro FLOAT_BIT_ORDER_MISMATCH is
defined, use explicit bitfields.
(pack_d, unpack_d): Switch to use value_raw and explicit shifts and
masks so that we don't have to worry about whether the target is big
or little endian unless FLOAT_BIT_ORDER_MISMATCH is defined.  If
single precision floating point, rename to pack_f and unpack_f, so
there is no confusion in the debugger.

From-SVN: r10313
1995-09-11 18:53:34 -04:00
Richard Kenner 446c894728 (FLO_union_type): Remove bitfields to set sign...
(FLO_union_type): Remove bitfields to set sign, exponent, and
mantissa, and add value_raw field, which is an integer of the
appropriate type.  If _DEBUG_BITFLOAT is defined, provide little and
big endian bitfields.
(pack_d, unpack_d): Switch to use value_raw and explicit shifts and
masks so that we don't have to worry about whether the target is big
or little endian.  If single precision floating point, rename to
pack_f and unpack_f, so there is no confusion in the debugger.

From-SVN: r10312
1995-09-11 18:48:01 -04:00
Richard Kenner 692ce0fd55 (redeclaration_error_message): For TYPE_DECLs, return 0 if
TYPE_MAIN_VARIANT of old type is same as new type.

From-SVN: r10311
1995-09-11 18:41:44 -04:00
Jason Merrill f7d9d4a857 jason@cygnus.com
From-SVN: r10310
1995-09-11 18:33:03 -04:00
Jason Merrill f83b0cb6cb (tsubst): Handle PROMOTE_PROTOTYPES.
From-SVN: r10309
1995-09-11 18:31:59 -04:00
Richard Kenner e02791a619 (xcoff_inlining): New variable...
(xcoff_inlining): New variable, used in place of
xcoff_current_include_file when determining whether to use absolute
line numbers.
(xcoffout_source_file): Switched to using xcoff_inlining to determine
when to emit .bi/.ei directives.

From-SVN: r10308
1995-09-11 17:39:30 -04:00
Richard Kenner 31b23f2253 (cmpdi): Change patterns to allocate scratch register at RTL generation time.
(tstdi): Likewise.

From-SVN: r10307
1995-09-11 16:54:24 -04:00
Richard Kenner 023c7f6348 (size_binop): Don't pass 1 to NOTRUNC.
From-SVN: r10306
1995-09-03 09:03:38 -04:00
Richard Kenner 536bfcd040 Include longlong.h.
[L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4):
Define this `static inline' when defining these, so they all remain
leaf functions.

From-SVN: r10305
1995-08-31 19:26:53 -04:00
Richard Kenner 0b19a5b971 (struct rtx_const): Add new field DI to union.
(decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE
representing an integer.

From-SVN: r10304
1995-08-31 19:04:04 -04:00
Richard Kenner 969c851727 (canon_hash, CONST_DOUBLE): Hash integer and real differently.
From-SVN: r10303
1995-08-31 19:03:23 -04:00
Richard Kenner 28a19afce3 (ends_in_label): New %union member.
(stmts, stmt_or_label): Use new member to avoid lexical lookahead hack.
(lineno_stmt_or_labels): New rule.
(lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends in a label.

From-SVN: r10302
1995-08-31 18:38:14 -04:00
Richard Kenner f4eed9e2c5 Fix patch botch.
From-SVN: r10301
1995-08-31 18:18:47 -04:00
Richard Kenner 653a996d86 (alpha_builtin_saveregs): Properly compute address of __offset both
both OSF and WINNT.

From-SVN: r10300
1995-08-31 18:17:13 -04:00
Richard Kenner 1d820a2a0d (__gnuc_va_list): Make __offset an int.
From-SVN: r10299
1995-08-31 18:16:58 -04:00
Richard Kenner 8bb8d78f06 (malloc, calloc, realloc): Don't define for anybody.
From-SVN: r10298
1995-08-31 17:54:28 -04:00
Richard Kenner efa00f4e41 (sbrk): Define here for __alpha.
From-SVN: r10297
1995-08-31 17:54:05 -04:00
Richard Kenner b17338102f (sbrk): Don't define here.
From-SVN: r10296
1995-08-31 17:53:13 -04:00
Richard Kenner d7e0324f1a (emit_reload_insn): Emit RELOAD_OTHER output reloads last.
From-SVN: r10295
1995-08-31 08:31:20 -04:00
Richard Kenner 74347d76f0 (push_reload): Add case for output reload of a SUBREG of a hard reg when output mode is invalid for that mode.
(push_reload): Add case for output reload of a SUBREG
of a hard reg when output mode is invalid for that mode.
In both that case and existing case for in, don't remove SUBREG.

From-SVN: r10294
1995-08-31 08:30:38 -04:00
Richard Kenner 1604422ce4 (finish_struct): If transparent_union attribute specified, validate it
once we finish laying the union out.

From-SVN: r10293
1995-08-29 19:15:47 -04:00
Richard Kenner 1bcf5b08b0 (decl_attribute, case A_PACKED): Check is_type first.
(decl_attribute, case A_T_UNION): Likewise.
Don't access TYPE_FIELDS if DECL is zero.

From-SVN: r10292
1995-08-29 19:15:19 -04:00
Richard Kenner c0a2dc1274 (arm_gen_movstrqi): Remove unused variable const_sxteen.
From-SVN: r10291
1995-08-28 06:58:38 -04:00
Richard Kenner f4bef7f6a6 (buffer, inpoint): Remove unused variables.
From-SVN: r10290
1995-08-28 06:56:14 -04:00
Richard Kenner abc95ed36d Fix spelling errors.
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Paul Eggert 2d5144e9ae entered into RCS
From-SVN: r10288
1995-08-28 10:15:06 +00:00
Richard Kenner da7525f204 entered into RCS
From-SVN: r10287
1995-08-28 06:15:04 -04:00
Richard Kenner 1729466fda (mvs_label_emitted): Renamed from mvs_label_emited.
From-SVN: r10286
1995-08-28 06:00:33 -04:00
Richard Kenner c2b24d414e Fix misspelling of `maintainer-clean'.
From-SVN: r10285
1995-08-28 05:57:59 -04:00
Richard Kenner a7911cd2b4 (emit_reload_insns): Do nothing for SUBREG whose operand is unused subsequently.
(emit_reload_insns): Do nothing for SUBREG whose operand is unused
subsequently.
In secondary reload case, if paradoxical SUBREG for output, reload thing
inside SUBREG, just like gen_reload.

From-SVN: r10284
1995-08-26 06:56:53 -04:00
Richard Kenner 67340b0310 (push_secondary_reload): If X is a paradoxical SUBREG, get mode and
thing to reload from inside.

From-SVN: r10283
1995-08-26 06:56:12 -04:00