summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-03 15:42:08 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-03 15:42:08 +0000
commitb0529a9b5995d3ad0d1a1daebd067f52aa534735 (patch)
tree164facabef6c958891ad54ecb0109fa9fb1f66fa
parent4db06cad2f41ff65eab6bac60df45d48948345c1 (diff)
downloadppe42-gcc-b0529a9b5995d3ad0d1a1daebd067f52aa534735.tar.gz
ppe42-gcc-b0529a9b5995d3ad0d1a1daebd067f52aa534735.zip
2003-10-03 Paolo Carlini <pcarlini@unitus.it>
* unwind-pe.h (read_encoded_value_with_base): Constify u and its inizialization cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72071 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unwind-pe.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3c80a52e688..bae0598ba06 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-03 Paolo Carlini <pcarlini@unitus.it>
+
+ * unwind-pe.h (read_encoded_value_with_base): Constify u and
+ its inizialization cast.
+
2003-10-03 Richard Sandiford <rsandifo@redhat.com>
PR target/12485
diff --git a/gcc/unwind-pe.h b/gcc/unwind-pe.h
index ec5d27f7e42..224ade33209 100644
--- a/gcc/unwind-pe.h
+++ b/gcc/unwind-pe.h
@@ -1,5 +1,5 @@
/* Exception handling and frame unwind runtime interface routines.
- Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@@ -191,7 +191,7 @@ read_encoded_value_with_base (unsigned char encoding, _Unwind_Ptr base,
signed s8 __attribute__ ((mode (DI)));
} __attribute__((__packed__));
- union unaligned *u = (union unaligned *) p;
+ const union unaligned *u = (const union unaligned *) p;
_Unwind_Internal_Ptr result;
if (encoding == DW_EH_PE_aligned)
OpenPOWER on IntegriCloud