[PATCH 2/4]: moxie: use generic pcrel support
Gunther Nikl
gnikl@justmail.de
Tue Apr 7 11:07:24 GMT 2020
More information about the Binutils mailing list
Tue Apr 7 11:07:24 GMT 2020
- Previous message (by thread): [PATCH 2/4]: moxie: use generic pcrel support
- Next message (by thread): [PATCH 2/4]: moxie: use generic pcrel support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[resent with correct reference] The moxie target header uses md_pcrel_from, thus the local prototype and the macro definition for MD_PCREL_FROM_SECTION are not needed. 2020-XX-XX Gunther Nikl <gnikl@justmail.de> * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define. (md_pcrel_from): Remove prototytpe. diff --git a/gas/config/tc-moxie.h b/gas/config/tc-moxie.h index 80f7f6c402..a66b60affe 100644 --- a/gas/config/tc-moxie.h +++ b/gas/config/tc-moxie.h @@ -36,12 +36,4 @@ #define md_estimate_size_before_relax(A, B) (as_fatal (_("estimate size\n")), 0) #define md_convert_frag(B, S, F) as_fatal (_("convert_frag\n")) -/* If you define this macro, it should return the offset between the - address of a PC relative fixup and the position from which the PC - relative adjustment should be made. On many processors, the base - of a PC relative instruction is the next instruction, so this - macro would return the length of an instruction. */ -#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from (FIX) -extern long md_pcrel_from (struct fix *); - #define md_section_align(SEGMENT, SIZE) (SIZE)
- Previous message (by thread): [PATCH 2/4]: moxie: use generic pcrel support
- Next message (by thread): [PATCH 2/4]: moxie: use generic pcrel support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list