diff options
author | Nick Clifton <nickc@redhat.com> | 1997-09-09 17:18:42 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-09-09 17:18:42 +0000 |
commit | 1ffec081989b3cc37680d85f60d4a0fc5e2423ca (patch) | |
tree | 5b386b2ad1e79747b38b9f1f98e8d84ea7653506 | |
parent | 22a25680ba669609e3c6240a9868d51f5da543f6 (diff) | |
download | gdb-1ffec081989b3cc37680d85f60d4a0fc5e2423ca.zip gdb-1ffec081989b3cc37680d85f60d4a0fc5e2423ca.tar.gz gdb-1ffec081989b3cc37680d85f60d4a0fc5e2423ca.tar.bz2 |
Add new pseudo ops: .v850, .v850e and .v850eq to specify the target processor.
-rw-r--r-- | gas/ChangeLog | 12 | ||||
-rw-r--r-- | gas/config/tc-v850.c | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b92d415..206e0ef 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,15 @@ +Tue Sep 9 10:19:37 1997 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (set_machine): New function. + * config/tc-v850.c (.v850): New pseudo op. +start-sanitize-v850e + * config/tc-v850.c (.v850e): New pseudo op. +end-sanitize-v850e +start-sanitize-v850eq + * config/tc-v850.c (.v850eq): New pseudo op. +end-sanitize-v850eq + + Mon Sep 8 23:08:04 1997 Ian Lance Taylor <ian@cygnus.com> Support -alh and -ald for DWARF 1: diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index 524e735..41d9949 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -206,6 +206,13 @@ v850_offset (int ignore) demand_empty_rest_of_line (); } +void +set_machine (int number) +{ + machine = number; + bfd_set_arch_mach (stdoutput, TARGET_ARCH, machine); +} + /* The target specific pseudo-ops which we support. */ const pseudo_typeS md_pseudo_table[] = { @@ -221,6 +228,13 @@ const pseudo_typeS md_pseudo_table[] = {"offset", v850_offset, 0}, {"section", v850_section, 0}, {"word", cons, 4}, + {"v850", set_machine, 0}, +/* start-sanitize-v850e */ + {"v850e", set_machine, bfd_mach_v850e}, +/* end-sanitize-v850e */ +/* start-sanitize-v850eq */ + {"v850eq", set_machine, bfd_mach_v850eq}, +/* end-sanitize-v850eq */ { NULL, NULL, 0} }; |