summaryrefslogtreecommitdiff
path: root/gas/config/tc-mmix.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-02-01 08:09:47 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-02-01 08:09:47 +0000
commitc328b25f02fe17ac3212a6f0279007e70228f7ae (patch)
tree85530e9877c42eeadc4900a5fcddc3569599d64a /gas/config/tc-mmix.h
parentb6d8f3707feb7504b2949e807ebf7ffa2bac3888 (diff)
downloadbinutils-redhat-c328b25f02fe17ac3212a6f0279007e70228f7ae.tar.gz
Support on-demand global register allocation by passing on
base-plus-offset relocs to the linker. * config/tc-mmix.c: Tweak and fix typos in comments. (allocate_undefined_gregs_in_linker): New variable. (OPTION_LINKER_ALLOCATED_GREGS): New option macro. (md_longopts): Add --linker-allocated-gregs. (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. <case OPTION_LINKER_ALLOCATED_GREGS>: New. (md_show_usage): Update text for -x. Add text for --linker-allocated-gregs. (tc_gen_reloc): Derive default value for addend from val and baddsy. Use addsec and bfd_is_abs_section in more places. Don't emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable GREG if allocate_undefined_gregs_in_linker. * doc/as.texinfo (Overview) <Target MMIX options>: Add --linker-allocated-gregs. * doc/c-mmix.texi (MMIX-Opts): Add blurb about --linker-allocated-gregs. Mention that it's implied by -x. (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. (MMIX-mmixal): Clarify dated comparison and location of MMIXware. * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
Diffstat (limited to 'gas/config/tc-mmix.h')
-rw-r--r--gas/config/tc-mmix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mmix.h b/gas/config/tc-mmix.h
index e0b6f492b6..53d4df23f5 100644
--- a/gas/config/tc-mmix.h
+++ b/gas/config/tc-mmix.h
@@ -1,5 +1,5 @@
/* tc-mmix.h -- Header file for tc-mmix.c.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
Written by Hans-Peter Nilsson (hp@bitrange.com).
This file is part of GAS, the GNU Assembler.
@@ -75,7 +75,7 @@ extern int mmix_gnu_syntax;
&& (name[0] == '@' \
? (! is_part_of_name (name[1]) \
&& mmix_current_location (current_location, exp)) \
- : ((name[0] == ':' || isupper (name[0])) \
+ : ((name[0] == ':' || ISUPPER (name[0])) \
&& mmix_parse_predefined_name (name, exp))))
extern char *mmix_prefix_name PARAMS ((char *));