diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-28 14:01:20 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-28 14:01:20 +0000 |
commit | bdb2fc627067f78881820f2479c3998f5dc11592 (patch) | |
tree | 8e6c763f01766485b8f1736442aa8b0649daf118 /gcc/config/i386 | |
parent | 8ef587dc8d203cde86403cf7140f0b06c859d00c (diff) | |
download | gcc-bdb2fc627067f78881820f2479c3998f5dc11592.tar.gz |
* 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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46583 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/osfrose.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h index 785aa4fe7a6..9996291e3e6 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, \ |