public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 2/4]: moxie: use generic pcrel support
@ 2020-04-07 10:01 Gunther Nikl
  2020-04-08 10:13 ` Nick Clifton
  0 siblings, 1 reply; 4+ messages in thread
From: Gunther Nikl @ 2020-04-07 10:01 UTC (permalink / raw)
  To: binutils

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/4]: moxie: use generic pcrel support
  2020-04-07 10:01 [PATCH 2/4]: moxie: use generic pcrel support Gunther Nikl
@ 2020-04-08 10:13 ` Nick Clifton
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Clifton @ 2020-04-08 10:13 UTC (permalink / raw)
  To: Gunther Nikl, binutils

Hi Gunther,

> 2020-XX-XX  Gunther Nikl  <gnikl@justmail.de>
> 
> 	* config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
> 	(md_pcrel_from): Remove prototytpe.

Approved and applied.

Cheers
  Nick


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/4]: moxie: use generic pcrel support
  2020-04-07 10:01 [PATCH 0/4]: gas: cleanup for MD_PCREL_FROM_SECTION Gunther Nikl
@ 2020-04-07 11:10 ` Gunther Nikl
  0 siblings, 0 replies; 4+ messages in thread
From: Gunther Nikl @ 2020-04-07 11:10 UTC (permalink / raw)
  To: binutils

[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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/4]: moxie: use generic pcrel support
  2020-03-27 19:25 [PATCH gas/m68k] Fix a register range check Gunther Nikl
@ 2020-04-07 11:07 ` Gunther Nikl
  0 siblings, 0 replies; 4+ messages in thread
From: Gunther Nikl @ 2020-04-07 11:07 UTC (permalink / raw)
  To: binutils

[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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-08 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 10:01 [PATCH 2/4]: moxie: use generic pcrel support Gunther Nikl
2020-04-08 10:13 ` Nick Clifton
  -- strict thread matches above, loose matches on Subject: below --
2020-04-07 10:01 [PATCH 0/4]: gas: cleanup for MD_PCREL_FROM_SECTION Gunther Nikl
2020-04-07 11:10 ` [PATCH 2/4]: moxie: use generic pcrel support Gunther Nikl
2020-03-27 19:25 [PATCH gas/m68k] Fix a register range check Gunther Nikl
2020-04-07 11:07 ` [PATCH 2/4]: moxie: use generic pcrel support Gunther Nikl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).