diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 01dff9e73c6a78709c2230d721dcd2b72518c59a..e0c4c31b77fcda7975c0f6868fb14c9f402dd55b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,19 @@ +2009-07-09 Tom Tromey <tromey@redhat.com> + + * unwind-dw2-fde-darwin.c: Include dwarf2.h. + * config/mmix/mmix.c: Include dwarf2.h. + * config/rs6000/darwin-fallback.c: Include dwarf2.h. + * config/xtensa/unwind-dw2-xtensa.c: Include dwarf2.h. + * config/sh/sh.c: Include dwarf2.h. + * config/i386/i386.c: Include dwarf2.h. + * Makefile.in (DWARF2_H): Remove 'elf'. + * except.c: Include dwarf2.h. + * unwind-dw2.c: Include dwarf2.h. + * dwarf2out.c: Include dwarf2.h. + * unwind-dw2-fde-glibc.c: Include dwarf2.h. + * unwind-dw2-fde.c: Include dwarf2.h. + * dwarf2asm.c: Include dwarf2.h. + 2009-07-09 Maxim Kuvyrkov <maxim@codesourcery.com> * haifa-sched.c (insn_finishes_cycle_p): New static function. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 6a9c2fe4b91f27183b1be5c50d12709e66a11015..9cdf6a2d063f9d57ad987878f5834cecda9e491c 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -405,7 +405,7 @@ SPLAY_TREE_H= $(srcdir)/../include/splay-tree.h FIBHEAP_H = $(srcdir)/../include/fibheap.h PARTITION_H = $(srcdir)/../include/partition.h MD5_H = $(srcdir)/../include/md5.h -DWARF2_H = $(srcdir)/../include/elf/dwarf2.h +DWARF2_H = $(srcdir)/../include/dwarf2.h # Default native SYSTEM_HEADER_DIR, to be overridden by targets. NATIVE_SYSTEM_HEADER_DIR = /usr/include diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b3eef9e2469a014d473f0a94813b8e863683f21b..784ef67cb87bd7c3d163a3407b14656b86ad5696 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2009-07-09 Tom Tromey <tromey@redhat.com> + + * raise-gcc.c: Include dwarf2h (unconditionally). + 2009-07-09 Ed Schonberg <schonberg@adacore.com> * sem_ch10.adb (Install_Context): If the unit is a package body, diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c index ca20709ddc89d23940dc66e95543ace56418a4c5..1d9efb93b7f7cadb7f26ea4152297c0be1219ab4 100644 --- a/gcc/ada/raise-gcc.c +++ b/gcc/ada/raise-gcc.c @@ -96,11 +96,7 @@ __gnat_Unwind_ForcedUnwind (_Unwind_Exception *, void *, void *); #ifdef IN_RTS /* For eh personality routine */ -#if (__GNUC__ * 10 + __GNUC_MINOR__ > 44) -#include "elf/dwarf2.h" -#else #include "dwarf2.h" -#endif #include "unwind-dw2-fde.h" #include "unwind-pe.h" diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 15a73d8655168220549399647efb4294ca7366be..6bc23fc75714a82a3242c3dc6268f5909ddbe41e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -48,7 +48,7 @@ along with GCC; see the file COPYING3. If not see #include "langhooks.h" #include "cgraph.h" #include "gimple.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "df.h" #include "tm-constrs.h" #include "params.h" diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index f81512401f61c7581fa653d8e730d6d60a97554d..67b1b2323b52ec1ce8721b9130851c0349066431 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see #include "toplev.h" #include "recog.h" #include "ggc.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "debug.h" #include "tm_p.h" #include "integrate.h" diff --git a/gcc/config/rs6000/darwin-fallback.c b/gcc/config/rs6000/darwin-fallback.c index e4d5afe50ac224ee68972ede062ed9d7cf2d26da..4591071ea7497fa511ee69355ecb643d1a6b852b 100644 --- a/gcc/config/rs6000/darwin-fallback.c +++ b/gcc/config/rs6000/darwin-fallback.c @@ -28,7 +28,7 @@ #include "tsystem.h" #include "coretypes.h" #include "tm.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "unwind.h" #include "unwind-dw2.h" #include <stdint.h> diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 18123c34cdeea4082a4cbcc34967aa3b11d7eef1..b4c190029dfe4a7e9abae452dc46ea3b6541bdb2 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -38,7 +38,7 @@ along with GCC; see the file COPYING3. If not see #include "toplev.h" #include "recog.h" #include "integrate.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "tm_p.h" #include "target.h" #include "target-def.h" diff --git a/gcc/config/xtensa/unwind-dw2-xtensa.c b/gcc/config/xtensa/unwind-dw2-xtensa.c index 235b8a12563d019982c18eddcdac36ed559bc8ac..e7ca86a10fb4fe6ce82279c330d88a9bbe017be7 100644 --- a/gcc/config/xtensa/unwind-dw2-xtensa.c +++ b/gcc/config/xtensa/unwind-dw2-xtensa.c @@ -28,7 +28,7 @@ #include "tsystem.h" #include "coretypes.h" #include "tm.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "unwind.h" #ifdef __USING_SJLJ_EXCEPTIONS__ # define NO_SIZE_OF_ENCODED_VALUE diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index 4e2c9980feb688a583e9404b2f2df4347f504d76..c12f809d7ed56476b94a0ae6dbd2028f7d5b2d0c 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -1,5 +1,5 @@ /* Dwarf2 assembler output helper routines. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008 + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. @@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see #include "output.h" #include "target.h" #include "dwarf2asm.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "splay-tree.h" #include "ggc.h" #include "tm_p.h" diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 2e30a0c6702bc0bb6c0b9cb31883a43a47b45e30..fce8b92e346188fb3c66c3e38602a5db8be71b43 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -74,7 +74,7 @@ along with GCC; see the file COPYING3. If not see #include "expr.h" #include "libfuncs.h" #include "except.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "dwarf2out.h" #include "dwarf2asm.h" #include "toplev.h" diff --git a/gcc/except.c b/gcc/except.c index 4a02fe305b44201713da6b54445f109c008a6a9e..95163cc356b6f07a5895e2db7069ac03993340c1 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -65,7 +65,7 @@ along with GCC; see the file COPYING3. If not see #include "output.h" #include "dwarf2asm.h" #include "dwarf2out.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "toplev.h" #include "hashtab.h" #include "intl.h" diff --git a/gcc/unwind-dw2-fde-darwin.c b/gcc/unwind-dw2-fde-darwin.c index c033bbe0cb540a6c1a67cea62b048e10d43ec042..cd00ea22f4cb7f9824abccda944474d2f33ef2c1 100644 --- a/gcc/unwind-dw2-fde-darwin.c +++ b/gcc/unwind-dw2-fde-darwin.c @@ -27,7 +27,7 @@ #include "tsystem.h" #include <string.h> #include <stdlib.h> -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "unwind.h" #define NO_BASE_OF_ENCODED_VALUE #define DWARF2_OBJECT_END_PTR_EXTENSION diff --git a/gcc/unwind-dw2-fde-glibc.c b/gcc/unwind-dw2-fde-glibc.c index 8f6473dbaab1c553f3d7060f4e4788d88f606a67..418f030010881babc8263226bc8468ff37382f20 100644 --- a/gcc/unwind-dw2-fde-glibc.c +++ b/gcc/unwind-dw2-fde-glibc.c @@ -37,7 +37,7 @@ #endif #include "coretypes.h" #include "tm.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "unwind.h" #define NO_BASE_OF_ENCODED_VALUE #include "unwind-pe.h" diff --git a/gcc/unwind-dw2-fde.c b/gcc/unwind-dw2-fde.c index 6780700e6aff2cf7debc1f7d16a3c1749d77e749..4aa9d82af8d5fd4330206441908631e8703847cc 100644 --- a/gcc/unwind-dw2-fde.c +++ b/gcc/unwind-dw2-fde.c @@ -29,7 +29,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "tsystem.h" #include "coretypes.h" #include "tm.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "unwind.h" #define NO_BASE_OF_ENCODED_VALUE #include "unwind-pe.h" diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index 0ceda12a44bd9418aa4535da44837ec4d401d033..68a1a282b3496c0edfe523d9f623309cd29c814d 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -27,7 +27,7 @@ #include "tsystem.h" #include "coretypes.h" #include "tm.h" -#include "elf/dwarf2.h" +#include "dwarf2.h" #include "unwind.h" #ifdef __USING_SJLJ_EXCEPTIONS__ # define NO_SIZE_OF_ENCODED_VALUE diff --git a/include/ChangeLog b/include/ChangeLog index 148e404957a421072563ed616fbe2d481a3479f0..ccd927421f52ceafa562109692b588404c16acbd 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2009-07-09 Tom Tromey <tromey@redhat.com> + + * elf/dwarf2.h: Remove, renaming to... + * dwarf2.h: ... this. + 2009-06-29 Tom Tromey <tromey@redhat.com> * elf/dwarf2.h: New file. Merged with gdb. diff --git a/include/elf/dwarf2.h b/include/dwarf2.h similarity index 100% rename from include/elf/dwarf2.h rename to include/dwarf2.h