]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Delete rx and rl78 md_end
authorAlan Modra <amodra@gmail.com>
Wed, 4 Mar 2026 22:44:53 +0000 (09:14 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 4 Mar 2026 22:44:53 +0000 (09:14 +1030)
There isn't much point in having functions that do nothing

* config/tc-rl78.c (rl78_md_end): Delete.
* config/tc-rl78.h (md_end): Don't define.
* config/tc-rx.c (rx_md_end): Delete.
* config/tc-rx.h (md_end): Don't define.

gas/config/tc-rl78.c
gas/config/tc-rl78.h
gas/config/tc-rx.c
gas/config/tc-rx.h

index 62c7e422dad8b83fb850fe96608259013a6eae3d..a6fe5f24c019b60d219364bb0d5b3404c5faaa74 100644 (file)
@@ -403,11 +403,6 @@ md_begin (void)
   rl78_abs_sym = symbol_make ("__rl78_abs__");
 }
 
-void
-rl78_md_end (void)
-{
-}
-
 /* Set the ELF specific flags.  */
 void
 rl78_elf_final_processing (void)
index 8147f55ebdd722bb20c5c743e5e6d7e4518ed2ae..9761d509aa1bf345f6b017496d532e50b1daa622 100644 (file)
@@ -46,9 +46,6 @@ extern int target_little_endian;
 /* .-foo gets turned into PC relative relocs.  */
 #define DIFF_EXPR_OK
 
-#define md_end rl78_md_end
-extern void rl78_md_end (void);
-
 #define md_relax_frag rl78_relax_frag
 extern int rl78_relax_frag (segT, fragS *, long);
 
index fe260d8b75891c7f820ac19de84a92bd08f423c7..794f64a54f469458831e118a471aee8b229b2434 100644 (file)
@@ -1218,11 +1218,6 @@ md_assemble (char * str)
   dwarf2_emit_insn (idx);
 }
 
-void
-rx_md_end (void)
-{
-}
-
 /* Write a value out to the object file, using the appropriate endianness.  */
 
 void
index b7d84f68cf558f00add55a7479be3c8083173e2a..8a37b36275d8182bfc52578fd0275cea84e081a8 100644 (file)
@@ -51,9 +51,6 @@ extern int target_big_endian;
 /* .-foo gets turned into PC relative relocs.  */
 #define DIFF_EXPR_OK
 
-#define md_end rx_md_end
-extern void rx_md_end (void);
-
 /* Note - the definition of MD_RELAX_FRAG here includes a reference to the
    MAX_ITERATIONS variable which is defined locally in write.c:relax_segment()
    but which is not normally passed to target specific relaxing code.  This