diff options
author | Jeff Law <law@redhat.com> | 1996-10-16 06:21:23 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-10-16 06:21:23 +0000 |
commit | f964b01d903959abb9ccf666a111bb80b6f2da01 (patch) | |
tree | 82cb81d81cc8f3ff388ec3f071a831a60f49f089 /gas/config/tc-v850.h | |
parent | 05f1baaa20dc6b0b62dbd414277e62556bc54cde (diff) | |
download | gdb-f964b01d903959abb9ccf666a111bb80b6f2da01.zip gdb-f964b01d903959abb9ccf666a111bb80b6f2da01.tar.gz gdb-f964b01d903959abb9ccf666a111bb80b6f2da01.tar.bz2 |
* config/tc-v850.c (md_pcrel_from): Delete unused function.
(md_pcrel_from_section): New function.
* config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
So we don't screw up pc-relative jumps/calls from one section
into another section within the same .o file.
Fixes global ctors/dtors to work with DECL_ONE_ONLY stuff.
Diffstat (limited to 'gas/config/tc-v850.h')
-rw-r--r-- | gas/config/tc-v850.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h index 4cb2bbe..dac6f25 100644 --- a/gas/config/tc-v850.h +++ b/gas/config/tc-v850.h @@ -46,3 +46,6 @@ #define WORKING_DOT_WORD #define md_number_to_chars number_to_chars_littleendian + +/* call md_pcrel_from_section, not md_pcrel_from */ +#define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section(FIXP, SEC) |