This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/5] gas: Add md_cons_worker


Add md_cons_worker to allow backend to track hard-coded opcodes in
instruction stream.

	* read.c (cons_worker): Call md_cons_worker if it is define.
---
 gas/read.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gas/read.c b/gas/read.c
index e53dd0232d..d1ce4eeb6c 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -3977,6 +3977,10 @@ cons_worker (int nbytes,	/* 1=.byte, 2=.word, 4=.long.  */
   md_cons_align (nbytes);
 #endif
 
+#ifdef md_cons_worker
+  md_cons_worker (nbytes);
+#endif
+
   c = 0;
   do
     {
-- 
2.21.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]