aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-10-28 14:01:20 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-10-28 14:01:20 +0000
commitd506f6496fa87dcfafb6c4b5fc41d00e8ba24d37 (patch)
tree8e6c763f01766485b8f1736442aa8b0649daf118 /gcc/config/i386
parentf710504c07e3c301cc21d88a60d3844ea99920e5 (diff)
downloadgcc-d506f6496fa87dcfafb6c4b5fc41d00e8ba24d37.zip
gcc-d506f6496fa87dcfafb6c4b5fc41d00e8ba24d37.tar.gz
gcc-d506f6496fa87dcfafb6c4b5fc41d00e8ba24d37.tar.bz2
Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
* Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma. (FUNCTION_PROFILER): Const-ify. * halfpic.c: Include "expr.h", "output.h" and "halfpic.h". (eliminate_constant_term, assemble_name, output_addr_const): Remove declarations. (ptr_half_pic_address_p, half_pic_hash): Prototype. (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare, half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify. * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype. (half_pic_declare, half_pic_external): Const-ify. * toplev.c: Include "halfpic.h". From-SVN: r46583
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/osfrose.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h
index 785aa4f..9996291 100644
--- a/gcc/config/i386/osfrose.h
+++ b/gcc/config/i386/osfrose.h
@@ -58,7 +58,7 @@ Boston, MA 02111-1307, USA. */
#define SUBTARGET_SWITCHES \
{ "half-pic", MASK_HALF_PIC, \
N_("Emit half-PIC code") }, \
- { "no-half-pic", -MASK_HALF_PIC, "" } \
+ { "no-half-pic", -MASK_HALF_PIC, "" }, \
{ "debug-half-pic", MASK_HALF_PIC_DEBUG, \
0 /* intentionally undoc */ }, \
{ "debugb", MASK_HALF_PIC_DEBUG, \
@@ -209,8 +209,8 @@ do \
{ \
if (!OSF_PROFILE_BEFORE_PROLOGUE) \
{ \
- char *prefix = (TARGET_UNDERSCORES) ? "_" : ""; \
- char *lprefix = LPREFIX; \
+ const char *const prefix = (TARGET_UNDERSCORES) ? "_" : ""; \
+ const char *const lprefix = LPREFIX; \
int labelno = LABELNO; \
\
/* Note that OSF/rose blew it in terms of calling mcount, \