diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-02-01 08:09:47 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-02-01 08:09:47 +0000 |
commit | 973eb3402f7b79ba3444177887be54562a276841 (patch) | |
tree | 27c9b87cee0f0f0f29b35462b3790c93e68b8a23 /gas/config/tc-mmix.h | |
parent | b52a8679a51c7c8981ceadef6e0ba2a83e8857f9 (diff) | |
download | binutils-973eb3402f7b79ba3444177887be54562a276841.zip binutils-973eb3402f7b79ba3444177887be54562a276841.tar.gz binutils-973eb3402f7b79ba3444177887be54562a276841.tar.bz2 |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mmix.h b/gas/config/tc-mmix.h index e0b6f49..53d4df2 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 *)); |