aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-v850.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-10-11 00:55:57 +0000
committerNick Clifton <nickc@redhat.com>1997-10-11 00:55:57 +0000
commitc28060930020783b020efcd6de7f9648c408d755 (patch)
treedbcec6c2aafd0ab942e794e08318658d461207c8 /gas/config/tc-v850.h
parent5ff4668dea05ff6ba6eefc022419bcbd46ccc75e (diff)
downloadgdb-c28060930020783b020efcd6de7f9648c408d755.zip
gdb-c28060930020783b020efcd6de7f9648c408d755.tar.gz
gdb-c28060930020783b020efcd6de7f9648c408d755.tar.bz2
Jim fixed the fixups for conditional and unconditional branches.
Added code to support the bss and common sections in thr ZDA and SDA areas.
Diffstat (limited to 'gas/config/tc-v850.h')
-rw-r--r--gas/config/tc-v850.h29
1 files changed, 6 insertions, 23 deletions
diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h
index 449777a..ddbb2e6 100644
--- a/gas/config/tc-v850.h
+++ b/gas/config/tc-v850.h
@@ -32,28 +32,6 @@
/* The target BFD format. */
#define TARGET_FORMAT "elf32-v850"
-/* The target BFD machine number. */
-#define TARGET_MACHINE 0
-/* start-sanitize-v850e */
-#undef TARGET_MACHINE
-#define TARGET_MACHINE bfd_mach_v850e
-/* end-sanitize-v850e */
-/* start-sanitize-v850eq */
-#undef TARGET_MACHINE
-#define TARGET_MACHINE bfd_mach_v850eq
-/* end-sanitize-v850eq */
-
-/* The target processor mask. */
-#define TARGET_PROCESSOR PROCESSOR_V850
-/* start-sanitize-v850e */
-#undef TARGET_PROCESSOR
-#define TARGET_PROCESSOR PROCESSOR_V850E
-/* end-sanitize-v850e */
-/* start-sanitize-v850eq */
-#undef TARGET_PROCESSOR
-#define TARGET_PROCESSOR PROCESSOR_V850EQ
-/* end-sanitize-v850eq */
-
#define MD_APPLY_FIX3
#define md_operand(x)
@@ -87,8 +65,13 @@ extern const struct relax_type md_relax_table[];
{ ".sdata", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_GPREL }, \
{ ".sbss", SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_GPREL }, \
{ ".rosdata", SHT_PROGBITS, SHF_ALLOC + SHF_V850_GPREL }, \
+ { ".scommon", SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_GPREL }, \
{ ".tdata", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_EPREL }, \
+ { ".tbss", SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_EPREL }, \
{ ".zdata", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL }, \
{ ".rozdata", SHT_PROGBITS, SHF_ALLOC + SHF_V850_R0REL }, \
- { ".zbss", SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL },
+ { ".zcommon", SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL }, \
+ { ".zbss", SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL }, \
+ { ".call_table_data", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, \
+ { ".call_table_text", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_EXECINSTR },