aboutsummaryrefslogtreecommitdiff
path: root/gcc/acconfig.h
AgeCommit message (Collapse)AuthorFilesLines
1998-09-28configure.in: new flags --with-ld and --with-as...Alexandre Oliva1-0/+7
* configure.in: new flags --with-ld and --with-as, equivalent to setting LD and AS environment variables. Test whether specified arguments are GNU commands, and report them with checking messages. Use the specified AS for configure tests too. * configure: ditto * acconfig.h: add DEFAULT_ASSEMBLER and DEFAULT_LINKER * config.in: ditto * gcc.c (find_a_file): when looking for `as' and `ld', return the DEFAULT program if it exists * collect2.c (main): use DEFAULT_LINKER if it exists * gcc.c (find_a_file): the test for existence of a full pathname was reversed From-SVN: r22629
1998-09-13Add support for strsignal, for platforms which have it but don't have ↵Kaveh R. Ghazi1-0/+3
sys_siglist (like Solaris 2.7.) Add support for strsignal, for platforms which have it but don't have sys_siglist (like Solaris 2.7.) * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub. * collect2.c: Don't declare `sys_siglist' here. (my_strsignal): Prototype and define new function. Use it in place of `sys_siglist' hacks. * mips_tfile.c: Likewise. * configure.in (AC_CHECK_FUNCS): Check for strsignal. (GCC_NEED_DECLARATIONS): Likewise. * system.h (strsignal): Prototype it, if necessary. (sys_siglist): Declare it, if necessary. From-SVN: r22403
1998-09-10configure.in: Add check for GAS subsection -1 support.Jakub Jelinek1-0/+4
* configure.in: Add check for GAS subsection -1 support. * acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add. * configure config.in: Rebuilt. * config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use SImode is subsection -1 works, else use DImode. (ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if subsection -1 works. * config/sparc/sparc.c (sparc_output_addr_vec, sparc_output_addr_diff_vec): Use them if defined. From-SVN: r22383
1998-09-03aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is safe to include ↵Kaveh R. Ghazi1-0/+3
both string.h and strings.h together. * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is safe to include both string.h and strings.h together. (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding which headers to search for function declarations. Continue to prefer string.h over strings.h when both are not acceptable. * acconfig.h (STRING_WITH_STRINGS): Add stub. * configure.in: Call GCC_HEADER_STRING. * system.h: Test STRING_WITH_STRINGS when deciding which headers to include. Continue to prefer string.h over strings.h when both are not acceptable. From-SVN: r22204
1998-07-08configure.in: Check if the assembler supports ".balign" and ".p2align" and ↵Jeffrey A Law1-0/+3
define... * configure.in: Check if the assembler supports ".balign" and ".p2align" and define HAVE_GAS_BALIGN_AND_P2ALIGN appropriately. * acconfig.h (HAVE_GAS_BALIGN_AND_P2ALIGN): New tag. * i386/gas.h (ASM_OUTPUT_ALIGN): If the assembler has support for ".balign" then use it. From-SVN: r21023
1998-07-06Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.Kaveh R. Ghazi1-2/+2
Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly. Instead, autoconf will only determine whether "%p" works and its up to machmode.h to base its definition of HOST_PTR_PRINTF on that. This ensures that machmode.h is always included to get the definition of HOST_PTR_PRINTF for lossy hosts or cross compiles where "%p" is not found. * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF. Instead, define a new macro HAVE_PRINTF_PTR which only signifies whether we have the %p format specifier or not. * acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR. * machmode.h (HOST_PTR_PRINTF): When determining the definition, check HAVE_PRINTF_PTR to see whether "%p" is okay. * mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF. * Makefile.in (mips-tfile.o): Depend on machmode.h. From-SVN: r20953
1998-06-30Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header...Kaveh R. Ghazi1-0/+6
Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header files when searching for function declarations. Use this functionality to check for getrlimit/setrlimit. * aclocal.m4 (GCC_NEED_DECLARATION): Accept an optional second argument, which is typically preprocessor code used to draw in additional header files when looking for a function declaration. (GCC_NEED_DECLARATIONS): Likewise. * configure.in (GCC_NEED_DECLARATIONS): Add checks for getrlimit and setrlimit, search for them in sys/resource.h. * acconfig.h: Add stubs for NEED_DECLARATION_GETRLIMIT and NEED_DECLARATION_SETRLIMIT. * system.h: Prototype getrlimit/setrlimit if necessary. From-SVN: r20831
1998-06-29* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 forJeff Law1-0/+3
details. From-SVN: r20808
1998-06-28Consolidate strerror handling, as well as getcwd/getwd.Kaveh R. Ghazi1-0/+9
* configure.in (GCC_NEED_DECLARATIONS): Add strerror, getcwd and getwd. * acconfig.m4: Add stubs for NEED_DECLARATION_STRERROR, NEED_DECLARATION_GETCWD and NEED_DECLARATION_GETWD. * cccp.c: Remove strerror()/sys_nerr/sys_errlist decls. (my_strerror): Add prototype and make it static. * collect2.c: Likewise. * cpplib.c: Likewise. * gcc.c: Likewise, but keep `my_strerror' extern. * protoize.c: Likewise. * pexecute.c (my_strerror): Add argument to prototype. * system.h: Add prototypes for getcwd, getwd and strerror. Add extern decls for sys_nerr and sys_errlist. Make abort decl explicitly extern. * getpwd.c: Remove decls for getwd and getcwd. From-SVN: r20779
1998-05-21acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.John Wehle1-0/+4
* acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag. * configure.in: Check for it. * i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Use it. * final.c (uid_align, uid_shuid, label_align): Make static. (label_align): Change type to struct label_alignment pointer. (LABEL_TO_ALIGNMENT, shorten_branches): Update due to type change. (LABEL_TO_MAX_SKIP): Define. (LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP, LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Provide defaults. (shorten_branches): Record the maximum bytes to skip when aligning a label. (final_scan_insn): Use the maximum bytes to skip when aligning a label if ASM_OUTPUT_MAX_SKIP_ALIGN is available. * i386.h (LOOP_ALIGN_MAX_SKIP, LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. * i386.c (override_options): i386_align_jumps and i386_align_loops default to 4 if ASM_OUTPUT_MAX_SKIP_ALIGN is available. * invoke.texi: Document new i386 align-loops and align-jumps behavior. From-SVN: r19933
1998-05-13acconfig.h (ENABLE_CHECKING): Undefine.Michael Meissner1-0/+3
* acconfig.h (ENABLE_CHECKING): Undefine. * configure.in (--enable-checking): New option. * flow.c (reg_n_max): New global variable. * regclass.c (allocate_reg_info): Keep reg_n_max up to date. Delete regno_max variable. * regs.h (REG_N_CHECK): Define. (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK. (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise. (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise. Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de> From-SVN: r19708
1998-05-09acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.Jeff Law1-0/+3
* acconfig.h (HAVE_VOLATILE): Insert stub for autoconf. * alocal.m4 (GCC_C_VOLATILE): New autoconf test. * configure.in: Use GCC_C_VOLATILE. * system.h (volatile): Define as empty if no volatile support is available. * genemit.c (output_add_clobbers): Removed unused variable 'i' from generated fucntion. From-SVN: r19653
1998-04-04* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12Jeff Law1-1/+1
for details. * haifa-sched.c: Mirror recent changes from gcc2. From-SVN: r18984
1998-02-07aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for ↵Kaveh R. Ghazi1-0/+3
whether they support the %p format... * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for whether they support the %p format specifier. * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf. * configure.in (GCC_FUNC_PRINTF_PTR): Use it. * configure, config.in: Rebuild. From-SVN: r17760
1998-01-31aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a shell variable ↵Kaveh R. Ghazi1-0/+9
argument instead of only hard coded... * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a shell variable argument instead of only hard coded functions. (GCC_NEED_DECLARATIONS): New macro to accept multiple functions. * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one call. Collapse multiple calls to GCC_NEED_DECLARATION into one call to GCC_NEED_DECLARATIONS (new macro.) Check if we need declarations for bcopy, bcmp and bzero. * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations. * gansidecl.h: If we have bcopy but don't declare it, then do so. Likewise for bcmp and bzero. Only define macros for bcopy, bcmp, bzero, index and rindex if they aren't already present. From-SVN: r17563
1998-01-30configure.in: Check for declaration of abort.Jeffrey A Law1-0/+3
* configure.in: Check for declaration of abort. * acconfig.h: Corresponding changes. * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should be declared. From-SVN: r17556
1998-01-19configure.in: Add cpp stringify test.Richard Henderson1-0/+3
* configure.in: Add cpp stringify test. * acconfig.h (HAVE_CPP_STRINGIFY): New tag. * gengenrtl.c: Use it. * configure, config.in: Rebuild. From-SVN: r17419
1998-01-19configure.in: Find declaration for sbrk.Richard Henderson1-2/+5
* configure.in: Find declaration for sbrk. * acconfig.h (NEED_DECLARATION_SBRK): New tag. * config.in, configure: Rebuild. * mips-tfile.c: Properly protect declaration of sbrk and free. * toplev.c: Properly protect declaration of sbrk. From-SVN: r17417
1998-01-17acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.Jeffrey A Law1-0/+3
* acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for. * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL. From-SVN: r17404
1997-12-15Bring over changes from latest gcc-2.8 pre-release.Jeff Law1-0/+3
Mirror sched.c change into haifa-sched.c From-SVN: r17097
1997-12-06Merge from gcc-2.8Jeff Law1-0/+6
From-SVN: r16987
1997-11-04Fix irix5 build problem resulting from FSF merge.Jim Wilson1-0/+3
* acconfig.h (HAVE_INTTYPES_H): Undef. * configure.in (inttypes.h): Check for conflicts between sys/types.h and inttypes.h, and verify that intmax_t is defined. * config/mips/x-iris (CC, OPT, OLDCC): Comment out. * config/mips/x-iris3: Likewise. From-SVN: r16325
1997-11-02Update mainline egcs to gcc2 snapshot 971021.Jeff Law1-5/+0
From-SVN: r16278
1997-08-22Fix AIX build problem when IBM cc is used.Jim Wilson1-0/+3
* acconfig.h (NEED_DECLARATION_CALLOC): Add. * configure.in: Add GCC_NEED_DECLARATION call for calloc. * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete declarations. * config.in, configure: Regenerate. From-SVN: r14896
1997-07-19Initial revisionDoug Evans1-0/+14
From-SVN: r14486