aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
AgeCommit message (Collapse)AuthorFilesLines
1998-07-06Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.Kaveh R. Ghazi1-0/+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-29* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 forJeff Law1-2/+2
details. From-SVN: r20808
1998-06-22Warning fixes:Kaveh R. Ghazi1-34/+84
* mips-tfile.c (add_local_symbol): Cast width format specifier to int. (add_ext_symbol): Likewise. (add_file): Likewise. (parse_def): Likewise. (write_varray): Use HOST_PTR_PRINTF to print a pointer. Fix remaining format specifiers and arguments. (write_object): Likewise, several times. (read_seek): Likewise. (out_of_bounds): Likewise. (allocate_cluster): Likewise. (xmalloc): Likewise. (xcalloc): Likewise. (xrealloc): Likewise. (xfree): Likewise. * mips-tdump.c (print_symbol): Likewise. From-SVN: r20654
1998-05-19Finish incomplete change started by Kenner.Jim Wilson1-1/+1
* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines. (powerpcle-*-cygwin32): Delete xm_defines. * final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use HAVE_STAB_H instead of NO_STAB_H. * config/xm-linux.h (NO_STAB_H): Delete. (HAVE_STAB_H): Undefine. * config/i386/xm-go32.h (NO_STAB_H): Delete. From-SVN: r19886
1998-05-07Handle missing vfprintf() & _doprnt() functions with linked in modules,Kaveh R. Ghazi1-30/+0
plus do some general cleanup of variable argument handling. * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro. * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT. (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h. (AC_CHECK_FUNCS): Remove unused check for vprintf. * Makefile.in: Add support for linking in vfprintf.c and doprint.c. (cccp.o): Depend on gansidecl.h. (cexp.o): Likewise. * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as per the rest of gcc source. * cexp.y: Likewise. Include gansidecl.h and remove all code made redundant. * cccp.c: Remove checks for HAVE_VPRINTF and the associated code used when vfprintf is missing. * cexp.y: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * mips-tfile.c: Likewise. * toplev.c: Likewise. * vfprintf.c: New file. * doprint.c: Likewise. From-SVN: r19610
1998-05-06typo typo fixes fixesJeff Law1-1/+1
From-SVN: r19601
1998-05-06More system.h cutover...Kaveh R. Ghazi1-56/+21
* Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h. * mips-tdump.c: Include system.h, remove redundant headers. * mips-tfile.c: Likewise. Convert all ctype function calls to macro versions defined in system.h. * objc/Make-lang.in (objc-act.o): Depend on system.h. * objc/objc-act.c: Include system.h, remove redundant headers. From-SVN: r19573
1998-04-04* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12Jeff Law1-2/+3
for details. * haifa-sched.c: Mirror recent changes from gcc2. From-SVN: r18984
1998-01-19configure.in: Find declaration for sbrk.Richard Henderson1-1/+3
* 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
1997-12-06Merge from gcc-2.8Jeff Law1-12/+11
From-SVN: r16987
1997-11-02Update mainline egcs to gcc2 snapshot 971021.Jeff Law1-2/+2
From-SVN: r16278
1997-09-01collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.Jeffrey A Law1-1/+1
* collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED. * mips-tfile.c: Likewise. * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs. * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition. * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise. * configure.in: Check for sys_siglist declaration. * configure, config.in: Rebuilt. Fix conflicting sys_siglist decls once and for all. From-SVN: r15007
1997-05-06reformat a little to match GNU coding standards.Mike Stump1-4/+4
From-SVN: r14024
1996-07-03formatting tweaksMike Stump1-174/+174
From-SVN: r12390
1995-08-31(malloc, calloc, realloc): Don't define for anybody.Richard Kenner1-3/+0
From-SVN: r10298
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1995-05-16Fix typos in comments.Richard Kenner1-3/+3
From-SVN: r9712
1995-04-24(fatal, error): Make first arg const to avoid warning.Richard Kenner1-5/+5
From-SVN: r9436
1994-11-16Check target endianness at run time, not compile timeIan Lance Taylor1-1/+1
From-SVN: r8470
1994-04-11(update_headers): Do not copy stStatic symbols that result fromRichard Kenner1-0/+3
internal labels. From-SVN: r7023
1994-04-06(update_headers): Copy stStatic symbols from the old local symbol table to ↵Richard Kenner1-0/+33
the... (update_headers): Copy stStatic symbols from the old local symbol table to the new local symbol table if they did not get added via debugging psuedo ops. From-SVN: r6971
1994-03-30Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.Richard Kenner1-2/+2
From-SVN: r6922
1994-03-20(update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET.Richard Kenner1-0/+15
(update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET. Provide a default definition which does no alignment. From-SVN: r6833
1994-03-11Use PVPROTO for varargs prototypes.Richard Kenner1-2/+8
From-SVN: r6744
1994-02-26* mips-tfile.c (fatal, error): Don't use prototypes ifndef HAVE_VPRINTF.Doug Evans1-0/+6
From-SVN: r6629
1994-02-21(fatal, error): Add ! HAVE_VPRINTF versions.Jim Wilson1-0/+23
From-SVN: r6598
1994-02-10Use PROTO for varargs functions.Richard Kenner1-15/+33
If __STDC__, include gstdarg and use ANSI form of varargs. From-SVN: r6517
1994-02-06(sys_siglist): Don't declare if NO_SYS_SIGLIST or DONT_DECLARE_SYS_SIGLIST ↵Jim Wilson1-0/+8
are defined. (sys_siglist): Don't declare if NO_SYS_SIGLIST or DONT_DECLARE_SYS_SIGLIST are defined. (catch_signal): Add code for NO_SYS_SIGLIST case. From-SVN: r6493
1993-10-12(add_local_symbol): Index in the external symbol must point to localRichard Kenner1-1/+4
symbol table entry for procedures. From-SVN: r5758
1993-10-10(WORD_ALIGN): Fix typo in last change.Richard Kenner1-1/+1
From-SVN: r5708
1993-10-08Don't define memory functions on Alpha.Richard Kenner1-3/+5
(Ptrdiff_t): Always `long'. (WORD_ALIGN): Make portable. From-SVN: r5676
1993-09-22[CROSS_COMPILE]: Include mips/a.out.h.Richard Stallman1-6/+2
From-SVN: r5381
1993-05-10Do not divide by sizes by 0.Michael Meissner1-1/+6
From-SVN: r4413
1993-04-04Change "illegal" to "invalid" in error messages.Richard Stallman1-21/+25
(parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn. From-SVN: r4011
1992-10-29Allow for cross compilation.Michael Meissner1-1/+10
From-SVN: r2649
1992-10-23Allow line numbers of 0.Michael Meissner1-4/+0
From-SVN: r2574
1992-10-22Ignore a stab line number of 0, until G++ fixes bug.Michael Meissner1-3/+10
From-SVN: r2562
1992-10-22Allow a stab line number of 0, since G++ generates it; check for >= 2**20.Michael Meissner1-1/+7
From-SVN: r2561
1992-10-15Allow spaces in tag names.Michael Meissner1-10/+14
From-SVN: r2479
1992-10-02Undo some of the index changes, and write our own index/rindex.Michael Meissner1-23/+61
From-SVN: r2304
1992-10-01RISC-OS 5.0 changes.Michael Meissner1-51/+50
From-SVN: r2303
1992-09-26RISC-OS rev 5, DEC OSF/1 changes.Michael Meissner1-0/+9
From-SVN: r2256
1992-09-03properly close comment.Michael Meissner1-1/+1
From-SVN: r2047
1992-08-20Put include of stdio.h after GCC header files (for i860-stardent-sysv4).Richard Kenner1-1/+1
From-SVN: r1905
1992-07-23entered into RCSMichael Meissner1-6/+48
From-SVN: r1675
1992-07-23*** empty log message ***Michael Meissner1-7/+12
From-SVN: r1674
1992-06-29*** empty log message ***Charles Hannum1-5/+7
From-SVN: r1339
1992-06-24*** empty log message ***Richard Stallman1-1/+1
From-SVN: r1263
1992-06-18*** empty log message ***Richard Stallman1-1/+1
From-SVN: r1208
1992-05-07*** empty log message ***Michael Meissner1-10/+10
From-SVN: r929