From 46618ae6e7959ea130f2bf2bc16d39a5b53383e4 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 15 Nov 1995 10:56:07 +0000 Subject: [PATCH] move md_end use, and make use of it in cpu back ends. clean up empty, unused md_end functions. i386 changes from Alan Modra for using multi-byte sequences instead of single nops for code alignment. --- gas/.Sanitize | 2 +- gas/ChangeLog | 38 ++++++++++++++++++++++++++++++++++++++ gas/config/tc-rce.c | 5 ----- gas/config/tc-rce.h | 2 ++ 4 files changed, 41 insertions(+), 6 deletions(-) diff --git a/gas/.Sanitize b/gas/.Sanitize index 0ea1b6fd46..b36fb2de7b 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -155,7 +155,7 @@ else fi fi -rce_files="configure.in as.c configure ChangeLog Makefile.in ChangeLog.1" +rce_files="configure.in configure ChangeLog Makefile.in ChangeLog.1" if ( echo $* | grep keep\-rce > /dev/null ) ; then for i in $rce_files ; do diff --git a/gas/ChangeLog b/gas/ChangeLog index 604b041131..8c0a9ce517 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,41 @@ +Wed Nov 15 03:52:00 1995 Ken Raeburn + + * as.c (main): Move md_end call to just after call to + perform_an_assembly_pass. Delete cpu-specific code here. + * config/tc-i960.h (md_end): New macro, calls brtab_emit. +start-sanitize-rce + * config/tc-rce.c (md_end): Deleted. + * config/tc-rce.h (md_end): New macro, calls dump_literals. +end-sanitize-rce + * config/tc-arm.c (md_end): Unused function deleted. + * config/tc-ns32k.c (md_end): Ditto. + + * config/tc-i386.c (i386_align_code): New function, moved here + from HANDLE_ALIGN macro. + * config/tc-i386.h (HANDLE_ALIGN): Call it. + + Mon Jul 31 14:53:19 1995 Alan Modra + + * config/tc-i386.h (md_do_align): cast fill and 0x90 to char + before comparing + + Mon May 1 10:91:49 1995 Alan Modra + + * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate + multi-byte nops to avoid changing gcc. The necessary gcc change + might break old assemblers. + + Sat Apr 22 20:53:05 1995 Alan Modra + + * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to + generate optimal multi-byte nop instructions for ".align n" + ".align n,0x90", and aligns requiring more than 15 bytes of + padding still generate multiple 0x90's as before. + +Mon Nov 13 17:40:21 1995 Ian Lance Taylor + + * config/tc-m68k.c (s_mri_until): Call pop_mri_control. + Mon Nov 13 20:39:06 1995 Stan Shebs * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations. diff --git a/gas/config/tc-rce.c b/gas/config/tc-rce.c index 0dc7a9f4cb..d99757152c 100644 --- a/gas/config/tc-rce.c +++ b/gas/config/tc-rce.c @@ -683,11 +683,6 @@ DEFUN (md_undefined_symbol, (name), return 0; } -void -DEFUN_VOID (md_end) -{ -} - /* Various routines to kill one day */ /* Equal to MAX_PRECISION in atof-ieee.c */ #define MAX_LITTLENUMS 6 diff --git a/gas/config/tc-rce.h b/gas/config/tc-rce.h index 1eb893f76e..8bcc532334 100644 --- a/gas/config/tc-rce.h +++ b/gas/config/tc-rce.h @@ -56,4 +56,6 @@ extern const struct relax_type md_relax_table[]; #define TC_GENERIC_RELAX_TABLE md_relax_table +#define md_end() dump_literals(0) + #endif