Commit Graph

11297 Commits

Author SHA1 Message Date
Jim Wilson
e115e436ee (JUMP_TABLES_IN_TEXT_SECTION): Define.
From-SVN: r11460
1996-03-05 12:29:06 -08:00
Jim Wilson
8255ed68f7 (push_e, pop_e): Add TARGET_SH3E to condition.
From-SVN: r11459
1996-03-05 12:11:11 -08:00
Doug Evans
0b35ec04bf loop.c (init_loop): Use pseudo reg in add_cost computation so cost doesn't vary depending on...
* loop.c (init_loop): Use pseudo reg in add_cost computation
	so cost doesn't vary depending on whether reg 0 happens to be
	fixed or not.

From-SVN: r11458
1996-03-05 18:39:19 +00:00
Jeff Law
8c5b059c2d Fix typo in last change.
From-SVN: r11457
1996-03-05 09:30:04 -07:00
Richard Kenner
e4afa8c855 (free): Remove declaration.
From-SVN: r11456
1996-03-05 10:28:39 -05:00
Richard Kenner
e5ba7e8958 (free): Delete declaration of library function.
From-SVN: r11455
1996-03-05 10:26:14 -05:00
Richard Kenner
13684373cc (record_label_references): Check for undefined label.
From-SVN: r11454
1996-03-05 09:32:16 -05:00
Richard Kenner
8d95e9ad11 Initial revision
From-SVN: r11453
1996-03-05 09:22:13 -05:00
Richard Kenner
ca10c449d6 Delete reference to thread-test directory.
From-SVN: r11452
1996-03-05 09:14:02 -05:00
Richard Kenner
10c6702fa3 Initial revision
From-SVN: r11451
1996-03-05 09:13:36 -05:00
Richard Kenner
749815a2e8 Delete reference to thread-test.
From-SVN: r11450
1996-03-05 09:13:24 -05:00
Richard Kenner
271809f768 Initial revision
From-SVN: r11449
1996-03-05 09:13:02 -05:00
Richard Kenner
d50e6b7b37 (get_imp, __objc_responds_to): Surround sarray access with mutex lock/unlock.
(__objc_init_install_dtable): Likewise.
(__objc_update_dispatch_table_for_class): Likewise.
(__objc_print_dtable_stats): Likewise.

From-SVN: r11448
1996-03-05 09:12:47 -05:00
Richard Kenner
2dae9809ee (sel_get_typed_uid, sel_get_any_typed_uid): Likewise.
(sel_get_any_uid, sel_get_name, sel_register_name): Likewise.
(sel_register_typed_name): Likewise.

From-SVN: r11447
1996-03-05 09:12:08 -05:00
Richard Kenner
9f26926521 (union sversion): New.
(struct sarray): Maintain multiple versions.
(sarray_remove_garbage): Add prototype.

From-SVN: r11446
1996-03-05 09:11:25 -05:00
Richard Kenner
1ebb5fcc64 (sarray_{remove,free}_garbage): New functions.
(sarray_at_put, sarray_new, sarray_lazy_copy):
Modify/copy sarray structure/data in a thread-safe manner
(sarray_{realloc,free}): Reallocate/free sarray structure/data in a
thread-safe manner.

From-SVN: r11445
1996-03-05 09:10:50 -05:00
Richard Kenner
54d643f6f2 Include objc/thread.h.
From-SVN: r11444
1996-03-05 09:10:10 -05:00
Richard Kenner
691466c0b5 Update comments.
From-SVN: r11443
1996-03-05 09:09:10 -05:00
Richard Kenner
aef85e6a98 (__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.
(objc_init_statics, __objc_init_protocols): Surround sarray access
with mutex lock/unlock
(__objc_exec_class): Likewise.
Initialization for thread-safe global variables.
Declarations for thread-safe functions and global variables

From-SVN: r11442
1996-03-05 09:07:56 -05:00
Richard Kenner
53cc7066b8 (__objc_init_class_tables): Surround sarray access with mutex lock/unlock.
(__objc_add_class_to_hash, objc_lookup_class): Likewise.
(objc_get_class, objc_get_next_class): Likweise.
(__objc_resolve_class_links, class_pose_as) Likewise.

From-SVN: r11441
1996-03-05 09:06:45 -05:00
Richard Kenner
625fc99df2 Changes to compile new files and name renaming.
From-SVN: r11440
1996-03-05 09:06:02 -05:00
Richard Kenner
0ecef3cf11 (duplicate_decl): If making decl non-external, copy context from old
to new.

From-SVN: r11439
1996-03-05 07:51:14 -05:00
Jeff Law
9e18f57555 lib2funcs.asm (__outline_prologue): New "function".
* lib2funcs.asm (__outline_prologue): New "function".
        (__outline_epilogue): New "function".
        * pa.h (TARGET_SPACE): Define.
        (target_flags): Add -mspace and -mno-space.  Enable/disable
        space saving optimizations.
        (FRAME_POINTER_REQUIRED): Frame pointers are always required
        when generating out of line prologues and epilogues.
        * pa.c (compute_frame_size): Handle out of line prologues/epilogues.
        (hppa_expand_prologue): If optimizing for space, emit an out of
        line prologue.
        * pa.c (compute_frame_size): Handle out of line prologues/epilogues.
        (hppa_expand_prologue): If optimizing for space, emit an out of
        line prologue.
        (hppa_expand_epilogue): Similarly.
        (override_options): Optimizing for space is not compatable with
        either profiling or PIC code generation.
        * pa.md (outline_prologue_call): New pattern.
        (outline_epilogue_call): Likewise.

From-SVN: r11438
1996-03-05 00:34:13 -07:00
Doug Evans
9ad2334b60 sparc.md (*cmp{si,di}_insn): %r0 -> %0.
* sparc/sparc.md (*cmp{si,di}_insn): %r0 -> %0.
	(DFmode move split): Ensure registers not extended v9 fp regs.
	(*mov{sf,df,tf}_cc_reg_sp64): %r3 -> %3.

From-SVN: r11437
1996-03-05 07:16:53 +00:00
Erik Naggum
7ea7263d65 (moss): Fix previous change.
From-SVN: r11435
1996-03-05 04:02:45 +01:00
Doug Evans
6125f3bee8 (grokdeclarator): Restore #if 0's to disable decl_machine_attr references.
From-SVN: r11434
1996-03-05 00:34:32 +00:00
Manfred Hollstein
7ea63af7db manfred@lts.sel.alcatel.de
From-SVN: r11433
1996-03-04 18:49:28 -05:00
Richard Kenner
8b7677befe (L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".
(L_exit/atexit): New function.
(L_exit/exit): Call any registered functions.

From-SVN: r11432
1996-03-04 18:46:29 -05:00
Richard Kenner
a3a55d6a38 (HAVE_ATEXIT): Define if NEED_ATEXIT is defined.
(atexit): Use `int atexit' prototype also if NEED_ATEXIT is defined.
(on_exit): According to man on_exit on the Sun it returns int not void.

From-SVN: r11431
1996-03-04 18:45:47 -05:00
Richard Kenner
948260f6fe (USG): Set to 1.
From-SVN: r11430
1996-03-04 18:44:47 -05:00
Richard Kenner
ad8445f4da Initial revision
From-SVN: r11429
1996-03-04 18:44:17 -05:00
Richard Kenner
1e6869a54e (FUNCTION_PROFILER): Emit label references corresponding to those generated by ASM_OUTPUT_INTERNAL_LABEL.
(FUNCTION_PROFILER): Emit label references corresponding to those generated
by ASM_OUTPUT_INTERNAL_LABEL.
(MOTOROLA, MOTOROLA_BSR, ...): Define #ifndef USE_GAS.
(ASM_SPEC): Define properly #ifdef USE_GAS.
(LIB_SPEC): -L/usr/lib/libp deleted.
(STARTFILE_SPEC): -L/usr/lib/libp added.
(DEFAULT_A_OUT_NAME): Define.
(LINK_SPEC): Pass -v if GNU ld is used.
(LOCAL_LABEL_PREFIX): Local labels start with .L using GAS, else L%.
(USER_LABEL_PREFIX): Undefine.
(FUNCTION_PROFILER): Call asm_fprintf instead of normal fprintf.
(ASM_APP_ON, ASM_FILE_START): GAS supports it.
(CTORS_.../DTORS_...): Define if GNU ld is used.
(ASM_FILE_START): Define properly for Motorola and GNU as syntax.
(TARGET_VERSION): Re-define only #ifndef USE_GAS.
(CALL_USED_REGISTERS): Deleted.
(GLOBAL_ASM_OP): Re-define only #ifndef USE_GAS.
(ASM_{LONG,SHORT,CHAR,BYTE,BYTE_OP}): New macros.
(ASM_OUTPUT_{DOUBLE,LONG_DOUBLE,FLOAT,INT,SHORT}): Use them.
(ASM_OUTPUT_{CHAR,BYTE,ASCII,FLOAT_OPERAND,DOUBLE_OPERAND}): Likewise.
(ALIGN_ASM_OP, SKIP_ASM_OP): New macros.
(ASM_OUTPUT_{ALIGN,SKIP}): Use them.
(ASM_OUTPUT_SOURCE_FILENAME): Define only if not using GNU as.
(ASM_{GENERATE,OUTPUT}_INTERAL_LABEL): Provide proper definitions for
Motorola and GNU as syntax.
(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Changed for portability between
Motorola and GNU as syntax.
(ASM_OUTPUT_{CASE_LABEL,OPCODE}): Define only if not using GNU as.
(ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): New macros.
(ASM_OUTPUT_{COMMON,LOCAL}): Proper defns for Motorola and gas syntax.
(SDB_...): Define only for Motorola as.
(ALT_LIBM): New define to tell g++.c about an alternative name for `-lm'.
(MATH_LIBRARY, NEED_ATEXIT, HAVE_ATEXIT, EXIT_BODY): New macros.

From-SVN: r11428
1996-03-04 18:42:46 -05:00
Richard Kenner
3f889ae8a9 (print_operand): Emit .l as scale factor #ifdef MOTOROLA.
From-SVN: r11427
1996-03-04 18:40:06 -05:00
Richard Kenner
e1c2b28d21 (main): Check new define DEFAULT_A_OUT_NAME.
From-SVN: r11426
1996-03-04 18:39:47 -05:00
Richard Kenner
522170ca63 (CRT0STUFF_T_CFLAGS): New macro.
(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.

From-SVN: r11425
1996-03-04 18:39:06 -05:00
Jim Wilson
2425db7e17 (PASS_IN_REG_P): Don't reject BLKmode for SH3e.
For SH3e, do reject parameter that won't fit entirely in registers.

From-SVN: r11424
1996-03-04 15:38:50 -08:00
Jim Wilson
af55dae3a3 (mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,
smulsi3_highpart, umulsi3_highpart): Renames operands 1/2 to 0/1.
(mulsidi3, umulsidi3): Add support for TARGET_LITTLE_ENDIAN.

From-SVN: r11423
1996-03-04 15:07:38 -08:00
Richard Kenner
0947013b9a Initial revision
From-SVN: r11422
1996-03-04 18:03:33 -05:00
Richard Kenner
04d802cad9 Accept -moss* as op sys.
From-SVN: r11421
1996-03-04 18:03:15 -05:00
Mike Stump
5483085748 Remove a Cygnus FSF difference, so the tree will build.
From-SVN: r11420
1996-03-04 22:46:30 +00:00
Jim Wilson
c1e8e6bd23 (machine_dependent_reorg): In TARGET_RELAX code...
(machine_dependent_reorg): In TARGET_RELAX code, when scan
forward from LINK, fail if pass a CODE_LABEL before finding INSN.
Fail if SCAN not INSN is a JUMP_INSN.

From-SVN: r11419
1996-03-04 14:37:57 -08:00
Doug Evans
f2d82a9550 Update copyright.
From-SVN: r11418
1996-03-04 20:18:45 +00:00
Michael Meissner
5a19791c51 Fix typo in last change.
From-SVN: r11417
1996-03-04 20:06:58 +00:00
Michael Meissner
6a4cee5fdb Add attribute((longcall)) support
From-SVN: r11416
1996-03-04 16:34:29 +00:00
Richard Kenner
de3a68a106 (significand_size): Don't test the modes, but their sizes.
From-SVN: r11415
1996-03-04 08:57:43 -05:00
Richard Kenner
541180f92a (xstrdup): Declare instead of instead of strdup.
(ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
(FIX_FRAME_POINTER_ADDRESS): Don't use DEPTH in string.

From-SVN: r11414
1996-03-04 08:42:03 -05:00
Richard Kenner
42b8bb14ed (strdup): Delete.
(float_label):  xstrdup instead of strdup.

From-SVN: r11413
1996-03-04 08:40:48 -05:00
Richard Kenner
f6127c6a4a (bc_expand_function_start): Likewise.
From-SVN: r11412
1996-03-04 08:40:01 -05:00
Richard Kenner
3d8e9bc243 (bc_strdup): Delete.
(bc_load_externaddr_id): Use xstrdup instead of bc_xstrdup.

From-SVN: r11411
1996-03-04 08:39:11 -05:00
Richard Kenner
e3b79a32f8 (bc_xstrdup): Delete.
From-SVN: r11410
1996-03-04 08:38:39 -05:00