gcc/config
Paul Brook c8aea42ce2 Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
	(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
	* Makefile.in: Regenerate.
	* configure.ac (--with-debug-prefix-map): New.
	* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* mt-gnu (CXXFLAGS_FOR_TARGET): Add
	$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).

gcc:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* common.opt (-fdebug-prefix-map=): New option.
	* opts.c: Include debug.h.
	(common_handle_option): Handle -fdebug-prefix-map.
	* final.c: Include ggc.h.
	(struct debug_prefix_map, debug_prefix_maps, add_debug_prefix_map,
	remap_debug_filename): New.
	* Makefile.in (final.o, opts.o): Update dependencies.
	* debug.h (remap_debug_filename, add_debug_prefix_map): Declare.
	* configure.ac: Check for assembler --debug-prefix-map support.
	* configure, config.in: Regenerate.
	* gcc.c (ASM_MAP): Define conditional on HAVE_AS_DEBUG_PREFIX_MAP.
	(ASM_DEBUG_SPEC): Include ASM_MAP.
	* doc/install.texi (--with-debug-prefix-map): Document.
	* doc/invoke.texi (-fdebug-prefix-map): Document.
	* dbxout.c (dbxout_init, dbxout_start_source_file,
	dbxout_source_file): Call remap_debug_filename.
	* dwarf2out.c (add_comp_dir_attribute, maybe_emit_file,
	dwarf2out_start_source_file, dwarf2out_finish): Call
	remap_debug_filename.
	(file_table_relative_p): Do not check d->emitted_number.
	* toplev.c (output_file_directive): Call remap_debug_filename.
	* vmsdbgout.c (write_srccorr): Call remap_debug_filename.
	* xcoffout.c (xcoffout_source_file): Call remap_debug_filename.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>

From-SVN: r127613
2007-08-18 16:15:39 +01:00
..
acinclude.m4
acx.m4 acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross builds. 2007-06-27 19:53:03 +00:00
ChangeLog Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New. 2007-08-18 16:15:39 +01:00
codeset.m4
confsubdir.m4 confsubdir.m4: Move here from newlib. 2007-05-28 06:34:21 +00:00
depstand.m4 depstand.m4 (ZW_CREATE_DEPDIR): Use mkinstalldirs to make directory. 2007-01-27 19:50:38 +00:00
enable.m4
gettext-sister.m4 Richard Earnshaw <rearnsha@arm.com> 2006-06-13 08:00:45 +00:00
gettext.m4
glibc21.m4
gxx-include-dir.m4 re PR libgcj/28426 (libgcj header files installed in wrong location in cross build) 2006-07-21 20:49:06 +00:00
iconv.m4
intdiv0.m4
inttypes_h.m4
inttypes-pri.m4
inttypes.m4
lcmessage.m4
ld-symbolic.m4 ld-symbolic.m4: New. 2007-01-14 07:38:18 -08:00
lead-dot.m4
lib-ld.m4
lib-link.m4
lib-prefix.m4
mh-armpic
mh-cxux
mh-cygwin
mh-decstation
mh-dgux386
mh-djgpp
mh-elfalphapic
mh-i370pic
mh-ia64pic
mh-interix
mh-lynxrs6k
mh-m68kpic
mh-ncr3000
mh-necv4
mh-papic
mh-ppc-aix mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS. 2007-06-04 07:48:28 +00:00
mh-ppc-darwin re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) 2007-05-23 14:26:31 +00:00
mh-ppcpic
mh-s390pic
mh-sco
mh-solaris
mh-sparcpic
mh-sysv4
mh-sysv5
mh-x86omitfp re PR target/32622 (BOOT_CFLAGS is not passed to stage2 and stage3 compile) 2007-07-05 20:26:10 +00:00
mh-x86pic
mt-alphaieee
mt-d30v
mt-gnu Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New. 2007-08-18 16:15:39 +01:00
mt-mep sync config directory with src 2007-02-10 12:44:12 +00:00
mt-netware
mt-ospace
mt-sde mt-sde: New file. 2007-08-17 13:12:22 +00:00
mt-spu mt-spu (all-ld): Depend on all-binutils. 2007-02-27 19:31:58 +10:30
mt-v810
mt-wince
multi.m4 Index: config/ChangeLog 2006-10-15 07:42:57 +00:00
nls.m4
no-executables.m4
po.m4
progtest.m4
stdint_h.m4
stdint.m4 configure: Regenerate. 2007-04-12 13:06:43 +00:00
tls.m4 tls.m4 (GCC_CHECK_CC_TLS): New. 2007-07-06 07:00:46 -07:00
uintmax_t.m4
ulonglong.m4
unwind_ipinfo.m4 re PR target/26792 (need to use autoconf when using newly-added libgcc functions) 2006-07-21 21:07:15 +00:00
warnings.m4 warnings.m4: Use m4_expand_once to clear the AC_SUBST'ed variable. 2007-01-11 15:21:53 +00:00