Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
details.
From-SVN: r20808
|
|
* 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
|
|
* 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
|
|
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
|
|
From-SVN: r19601
|
|
* 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
|
|
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18984
|
|
* 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
|
|
From-SVN: r16987
|
|
From-SVN: r16278
|
|
* 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
|
|
From-SVN: r14024
|
|
From-SVN: r12390
|
|
From-SVN: r10298
|
|
From-SVN: r9961
|
|
From-SVN: r9712
|
|
From-SVN: r9436
|
|
From-SVN: r8470
|
|
internal labels.
From-SVN: r7023
|
|
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
|
|
From-SVN: r6922
|
|
(update_headers): Align symbol table sections, using
ALIGN_SYMTABLE_OFFSET. Provide a default definition which does no
alignment.
From-SVN: r6833
|
|
From-SVN: r6744
|
|
From-SVN: r6629
|
|
From-SVN: r6598
|
|
If __STDC__, include gstdarg and use ANSI form of varargs.
From-SVN: r6517
|
|
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
|
|
symbol table entry for procedures.
From-SVN: r5758
|
|
From-SVN: r5708
|
|
(Ptrdiff_t): Always `long'.
(WORD_ALIGN): Make portable.
From-SVN: r5676
|
|
From-SVN: r5381
|
|
From-SVN: r4413
|
|
(parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn.
From-SVN: r4011
|
|
From-SVN: r2649
|
|
From-SVN: r2574
|
|
From-SVN: r2562
|
|
From-SVN: r2561
|
|
From-SVN: r2479
|
|
From-SVN: r2304
|
|
From-SVN: r2303
|
|
From-SVN: r2256
|
|
From-SVN: r2047
|
|
From-SVN: r1905
|
|
From-SVN: r1675
|
|
From-SVN: r1674
|
|
From-SVN: r1339
|
|
From-SVN: r1263
|
|
From-SVN: r1208
|
|
From-SVN: r929
|