From f964b01d903959abb9ccf666a111bb80b6f2da01 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 16 Oct 1996 06:21:23 +0000 Subject: * 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. --- gas/config/tc-v850.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gas/config/tc-v850.h') 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) -- cgit v1.1