diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-11-15 10:56:07 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-11-15 10:56:07 +0000 |
commit | 46618ae6e7959ea130f2bf2bc16d39a5b53383e4 (patch) | |
tree | f2f9b51e05a991dfa86c40f32d231037964134ab /gas | |
parent | dfbb1a26dc02eb12e81fb75881814dca881119ed (diff) | |
download | gdb-46618ae6e7959ea130f2bf2bc16d39a5b53383e4.zip gdb-46618ae6e7959ea130f2bf2bc16d39a5b53383e4.tar.gz gdb-46618ae6e7959ea130f2bf2bc16d39a5b53383e4.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/.Sanitize | 2 | ||||
-rw-r--r-- | gas/ChangeLog | 38 | ||||
-rw-r--r-- | gas/config/tc-rce.c | 5 | ||||
-rw-r--r-- | gas/config/tc-rce.h | 2 |
4 files changed, 41 insertions, 6 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize index 0ea1b6f..b36fb2d 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 604b041..8c0a9ce 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,41 @@ +Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com> + + * 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 <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.h (md_do_align): cast fill and 0x90 to char + before comparing + + Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au> + + * 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 <alan@spri.levels.unisa.edu.au> + + * 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 <ian@cygnus.com> + + * config/tc-m68k.c (s_mri_until): Call pop_mri_control. + Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com> * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations. diff --git a/gas/config/tc-rce.c b/gas/config/tc-rce.c index 0dc7a9f..d997571 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 1eb893f..8bcc532 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 |