From db987c6c7faea585b57b619fe2e71739376c86a7 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 5 Sep 2000 21:01:39 +0000 Subject: [PATCH] 2000-09-05 Eric Christopher * config/tc-mn10300.c: Cleanup. (md_pcrel_from): Enable. --- gas/ChangeLog | 21 ++++++++++++++++++++- gas/config/tc-mn10300.c | 11 +++-------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index cdda16dcd..b5eb8203a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-09-05 Eric Christopher + + * config/tc-mn10300.c: Cleanup. + (md_pcrel_from): Enable. + 2000-09-05 Alan Modra * expr.c (operand): Fix a comment typo. @@ -75,7 +80,7 @@ * config.in: Regenerate. * po/gas.pot: Regenerate. * Makefile.in: Regenerate. - + 2000-09-01 Alexandre Oliva * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define. @@ -415,8 +420,22 @@ Wed Aug 9 16:28:21 EDT 2000 Diego Novillo * config/atof-ieee.c: Fix formatting. * config/atof-tahoe.c: Likewise. +2000-07-29 Marek Michalkiewicz + +<<<<<<< ChangeLog + * config/tc-avr.c: Use PARAMS macro in function declarations. + Don't declare md_pcrel_from_section (already in tc-avr.h). + (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros. + (avr_operand): Don't set (unsigned) op_mask to -1. +======= 2000-08-06 Nick Clifton +>>>>>>> 1.551 + +<<<<<<< ChangeLog +2000-08-04 Nick Clifton +======= +>>>>>>> 1.551 * config/tc-sparc.c (md_begin): Fix typo in recent formatting work. diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index d84fb4a15..301a42bac 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -95,6 +95,9 @@ static boolean address_register_name PARAMS ((expressionS *expressionP)); static boolean other_register_name PARAMS ((expressionS *expressionP)); static void set_arch_mach PARAMS ((int)); +/* Set linkrelax here to avoid fixups in most sections. */ +int linkrelax = 1; + static int current_machine; /* Fixups. */ @@ -918,11 +921,6 @@ md_begin () op++; } - /* This is both a simplification (we don't have to write md_apply_fix) - and support for future optimizations (branch shortening and similar - stuff in the linker). */ - linkrelax = 1; - /* Set the default machine type. */ if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, MN103)) as_warn (_("could not set architecture and machine")); @@ -1903,15 +1901,12 @@ long md_pcrel_from (fixp) fixS *fixp; { - return fixp->fx_frag->fr_address; -#if 0 if (fixp->fx_addsy != (symbolS *) NULL && !S_IS_DEFINED (fixp->fx_addsy)) { /* The symbol is undefined. Let the linker figure it out. */ return 0; } return fixp->fx_frag->fr_address + fixp->fx_where; -#endif } int -- 2.11.4.GIT