aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-05-31 04:32:41 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-05-31 04:32:41 +0000
commitd499455b8135f16d463dc06f0a89019e78b4123b (patch)
treeeaeab4f2c9bb131753d559e6309795789d98e60c
parent2eb2901a5027d5b29f560e8057755d73baf44363 (diff)
downloadgcc-d499455b8135f16d463dc06f0a89019e78b4123b.zip
gcc-d499455b8135f16d463dc06f0a89019e78b4123b.tar.gz
gcc-d499455b8135f16d463dc06f0a89019e78b4123b.tar.bz2
pa.c: Move output.h include after tree.h include.
* pa.c: Move output.h include after tree.h include. (pa_asm_output_mi_thunk): Constify identifier lab. From-SVN: r54087
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a121af0..9c03b7a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * pa.c: Move output.h include after tree.h include.
+ (pa_asm_output_mi_thunk): Constify identifier lab.
+
2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
* config/ns32k/ns32k.h: Define named constants for the
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 449c278..e493d6f 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -28,10 +28,10 @@ Boston, MA 02111-1307, USA. */
#include "real.h"
#include "insn-config.h"
#include "conditions.h"
-#include "output.h"
#include "insn-attr.h"
#include "flags.h"
#include "tree.h"
+#include "output.h"
#include "except.h"
#include "expr.h"
#include "optabs.h"
@@ -6509,7 +6509,7 @@ pa_asm_output_mi_thunk (file, thunk_fndecl, delta, function)
const char *target_name = XSTR (XEXP (DECL_RTL (function), 0), 0);
static unsigned int current_thunk_number;
char label[16];
- char *lab;
+ const char *lab;
ASM_GENERATE_INTERNAL_LABEL (label, "LTHN", current_thunk_number);
lab = (*targetm.strip_name_encoding) (label);
target_name = (*targetm.strip_name_encoding) (target_name);