160484SobrienWed Dec 31 12:29:47 1997 Jeffrey A Law (law@cygnus.com) 260484Sobrien 360484Sobrien * config/tc-mn10200.c (md_relax_table): Correct branch ranges. 460484Sobrien 560484SobrienMon Dec 22 13:06:05 1997 Joel Sherrill <joel@oarcorp.com> 660484Sobrien 7218822Sdim * configure.in (i386*-go32-rtems*): Fix to be the same as 860484Sobrien i[3456]86-go32. 960484Sobrien * configure: Rebuild. 1060484Sobrien 1160484SobrienMon Dec 22 12:54:07 1997 Ian Lance Taylor <ian@cygnus.com> 1260484Sobrien 1360484Sobrien * config/tc-mips.c (macro): The 4650 doesn't permit M_LDC1_AB, 1460484Sobrien M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, or M_S_DOB. 1560484Sobrien (mips_ip): Always check for FP_D, not just for instructions that 1660484Sobrien are not part of the regular ISA. 1760484Sobrien 1860484SobrienThu Dec 18 16:49:28 1997 Richard Henderson <rth@cygnus.com> 1960484Sobrien 2060484Sobrien * config/tc-d10v.c (build_insn): Make `number' a long for 64-bit hosts. 2160484Sobrien 2260484SobrienThu Dec 18 16:42:57 1997 Richard Henderson <rth@cygnus.com> 2360484Sobrien 2460484Sobrien * config/tc-alpha.c (cpu_types): 21164pc/pca56 does not have CIX. 2560484Sobrien 2660484SobrienWed Dec 17 21:23:07 1997 Jeffrey A Law (law@cygnus.com) 2760484Sobrien 2860484Sobrien * expr.c (integer_constant 32bit bignum): Mask off bits outside 2960484Sobrien the range we care about. 3060484Sobrien 3160484SobrienWed Dec 17 15:29:03 1997 Michael Meissner <meissner@cygnus.com> 3260484Sobrien 3360484Sobrien * config/tc-d30v.c (md_shortopts): Add 'n' and 'N' options. 3460484Sobrien (exec_type_enum): Enumeration giving all of the exec types. 3560484Sobrien (warn_nops): New static variable to give nop warning level. 3660484Sobrien ({cur,prev}_mul32_p): New static variable to keep track of whether 3760484Sobrien the current/previous instruction is a 32-bit multiply. 3860484Sobrien (Optimizing): Make static. 3960484Sobrien (NOP{2,_LEFT,_RIGHT}): Macros for word of nops and left/right 4060484Sobrien nops. 4160484Sobrien (d30v_insert_operand): Delete declaration of unused function. 4260484Sobrien (write_2_short): Make exec_type argument enum, not int. 4360484Sobrien (parallel_ok): Ditto. 4460484Sobrien (check_range): Delete unused variable(s). 4560484Sobrien (build_insn): Ditto. 4660484Sobrien (find_format): Ditto. 4760484Sobrien (md_apply_fix3): Ditto. 4860484Sobrien (md_show_usage): Document -n and -N. 4960484Sobrien (md_parse_option): Parse -n and -N. 5060484Sobrien (write_1_short): If -n, warn about adding a nop. Use 5160484Sobrien NOP_{LEFT,RIGHT}. 5260484Sobrien (write_2_short): Use enumeration values instead of hard coded 5360484Sobrien integers. Reset exec_type for default operations. For explicit 5460484Sobrien parallel operations, call parallel_ok to make sure everything is 5560484Sobrien ok. If writing out a parallel operation, and the previous 5660484Sobrien instruction was a 32-bit multiply, indicate current instruction 5760484Sobrien is. 5860484Sobrien (parallel_ok): Allow add/tx ... to be done in parallel with 5960484Sobrien another add/tx ... assuming the gpr registers don't overlap. 6060484Sobrien (md_assemble): Use exec type enumeration values, not hard coded 6160484Sobrien ints. Check for loads or 16-bit multiplies following in the next 6260484Sobrien cycle after a 32-bit multiply. Add nops if that is the case. 6360484Sobrien (do_assemble): Copy prev_mul32_p to cur_mul32_p, and set 6460484Sobrien cur_mul32_p if current instruction is a 32-bit multiply. 6560484Sobrien (find_format): Change spacing and layout. 6660484Sobrien 6760484SobrienTue Dec 16 16:55:45 1997 Fred Fish <fnf@cygnus.com> 6860484Sobrien 6960484Sobrien * config/tc-tic80.c (tic80_relax): New static variable. 7060484Sobrien (md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options. 7160484Sobrien (md_parse_option): Handle new relax options. 7260484Sobrien (md_show_usage): Document new relax options. 7360484Sobrien (find_opcode): Don't use short forms of PC relative branches if 7460484Sobrien tic80_relax is set. 7560484Sobrien 7660484SobrienTue Dec 16 15:26:03 1997 Michael Meissner <meissner@cygnus.com> 7760484Sobrien 7860484Sobrien * config/tc-d30v.c (parallel_ok): Remove non-register bits from 7960484Sobrien used/set flag fields. Make flag vars unsigned long. Use 8060484Sobrien FLAG_A{0,1} for accumulators. Allow any 2 insns to be done in 8160484Sobrien parallel if they use the same conditional flag with reversed 8260484Sobrien meaning. Allow 2 add/sub insns that set the carry or overflow 8360484Sobrien flags but do not query them to be done in parallel. Don't allow 2 8460484Sobrien word store operations to be done in parallel with ADDppp or 8560484Sobrien SUBppp. Don't allow loads to be done in parallel with 16 bit 8660484Sobrien multiplies. 8760484Sobrien 8860484SobrienTue Dec 16 09:20:43 1997 Nick Clifton <nickc@cygnus.com> 8960484Sobrien 9060484Sobrien * config/tc-arm.c: Prevent use of interworking support for 9160484Sobrien non-COFF targets. 9260484Sobrien 9360484SobrienMon Dec 15 15:20:32 1997 Nick Clifton <nickc@cygnus.com> 9460484Sobrien 9560484Sobrien * doc/all.texi: Add M32R cpu. 9660484Sobrien 9760484Sobrien * doc/as.texinfo: Add documentation of m32r processor. 9860484Sobrien 99218822Sdim * doc/c-m32r.texi: New file, documenting m32r specific features. 10060484Sobrien 10160484SobrienMon Dec 15 10:32:28 1997 Jeffrey A Law (law@cygnus.com) 10260484Sobrien 10360484Sobrien * config/tc-mips.c (mips_ip): Correctly insert 'P' operands into 10460484Sobrien the instruction. 10560484Sobrien 10660484SobrienFri Dec 12 11:44:20 1997 Fred Fish <fnf@cygnus.com> 10760484Sobrien 10860484Sobrien * config/tc-tic80.c (build_insn): Handle instructions that have 10960484Sobrien long (32 bit) PC relative offsets. Fix places that previously 11060484Sobrien misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type. 11160484Sobrien (md_apply_fix): Add case to handle long PC relative offsets. 11260484Sobrien 11360484SobrienFri Dec 12 10:35:01 1997 Nick Clifton <nickc@cygnus.com> 11460484Sobrien 11560484Sobrien * doc/c-arm.texi (ARM Options): Document support for new ARM 11660484Sobrien processor names. 11760484Sobrien 11860484Sobrien * config/tc-arm.c (md_parse_option): Add support for new ARM 11960484Sobrien processor names. 12060484Sobrien 12160484SobrienThu Dec 11 17:46:50 1997 Richard Henderson <rth@cygnus.com> 12260484Sobrien 12360484Sobrien * config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data. 12460484Sobrien (insop, m68k_ip): Make `opcode' const so it doesn't happen again. 12560484Sobrien 12660484SobrienFri Dec 5 11:23:59 1997 Nick Clifton <nickc@cygnus.com> 12760484Sobrien 12860484Sobrien * config/tc-v850.c (md_assemble): Fix BFD_RELOC_32 against a 12960484Sobrien symbol + offset. 13060484Sobrien 13160484Sobrien * config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Use 13260484Sobrien SHT_V850_{S|T|Z}COMMON to mark special common sections. 13360484Sobrien 13460484SobrienTue Dec 2 17:05:13 1997 Nick Clifton <nickc@cygnus.com> 13560484Sobrien 13660484Sobrien * config/tc-v850.c: Brought up to date with the branch. 13760484Sobrien 13860484SobrienMon Dec 1 20:24:18 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 13960484Sobrien 14060484Sobrien * config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1. 14160484Sobrien (SWITCH_TABLE): Handle BFD_RELOC_8. 14260484Sobrien (md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1. 14360484Sobrien (coff_reloc_map): Add BFD_RELOC_8_PCREL entry. 14460484Sobrien (sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8. 14560484Sobrien 14660484SobrienSat Nov 22 16:19:22 1997 Richard Henderson <rth@cygnus.com> 14760484Sobrien 14889857Sobrien * config/tc-alpha.c (range_signed_16, range_signed_32): Work around an 14960484Sobrien apparent bug in gcc's long long support crossing from x86. 15060484Sobrien 15160484SobrienSat Nov 22 14:26:09 1997 Nick Clifton <nickc@cygnus.com> 15260484Sobrien 15360484Sobrien * config/tc-arm.c: Brought up to date with latest changes on arm 154218822Sdim branch. 15560484Sobrien 15660484SobrienSat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de> 15760484Sobrien 15860484Sobrien * config-gas.com: Get version info from configure.in. 15960484Sobrien 16060484Sobrien * makefile.vms: include depend.obj in OBJS. 16160484Sobrien 16260484Sobrien * config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling. 16360484Sobrien 16460484Sobrien * config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and 16560484Sobrien all corresponding code. 16660484Sobrien 16760484SobrienThu Nov 20 15:06:08 1997 Richard Earnshaw <rearnsha@arm.com> 16860484Sobrien 16960484Sobrien * config/tc-arm.h (TARGET_FORMAT for generic a.out targets): Allow 17060484Sobrien run-time endian selection. 17160484Sobrien 17260484SobrienWed Nov 19 17:44:42 1997 Richard Henderson <rth@cygnus.com> 17360484Sobrien 174218822Sdim * config/tc-sh.c (parse_reg): Properly quote for fv4. 17560484Sobrien 17660484SobrienWed Nov 19 23:46:18 1997 Ian Lance Taylor <ian@cygnus.com> 17760484Sobrien 17860484Sobrien * symbols.c (resolve_symbol_value): Add missing breaks in case on 17960484Sobrien symbol value operator. 18060484Sobrien 18160484SobrienTue Nov 18 18:45:14 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 18260484Sobrien 183218822Sdim * config/tc-d10v.c (parallel_ok, find_opcode): 18460484Sobrien Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG. 18560484Sobrien 18660484SobrienSun Nov 16 10:05:07 1997 Fred Fish <fnf@cygnus.com> 18760484Sobrien 18860484Sobrien * config/obj-coff.c (fixup_segment): Cast second arg of 18960484Sobrien md_apply_fix3 call to type "valueT *". 19060484Sobrien 19160484SobrienThu Nov 13 13:53:10 1997 Andrew Cagney <cagney@b1.cygnus.com> 19260484Sobrien 19360484Sobrien * configure.in (emulations): Make FreeBSD an aout / i386bsd 194218822Sdim variant. 19560484Sobrien * configure: Re-generate. 196218822Sdim 19760484SobrienThu Nov 13 11:07:14 1997 Gavin Koch <gavin@cygnus.com> 19860484Sobrien 19960484Sobrien * config/tc-mips.c (macro_build): Use the membership field 20060484Sobrien for INSN_MACRO's. 20160484Sobrien (mips_ip): Same. 20260484Sobrien 20360484SobrienThu Nov 13 02:04:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 20460484Sobrien 20560484Sobrien * config/tc-d10v.c (find_opcode): For OPCODE_FAKE, add check for 20660484Sobrien first argument if it's supposed to be a register. 20760484Sobrien 20860484SobrienTue Nov 11 19:25:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 20960484Sobrien 21060484Sobrien * app.c (do_scrub_chars): If d10v, re-insert a space before 21160484Sobrien a '#' when in state 10. 21260484Sobrien 21360484SobrienTue Nov 11 13:33:15 1997 Ian Lance Taylor <ian@cygnus.com> 21460484Sobrien 21560484Sobrien * config/tc-h8300.c: Include "subsegs.h". 21660484Sobrien (tc_reloc_mangle): Handle references to symbols which are not 21760484Sobrien being output, so that references to `.' work. 21860484Sobrien 21960484SobrienMon Nov 10 13:43:33 1997 Ian Lance Taylor <ian@cygnus.com> 22060484Sobrien 22160484Sobrien * config/tc-m68k.c (m68k_ip): Call add_fix when needed for '_' 22260484Sobrien case. 22360484Sobrien 22460484Sobrien * macro.c (sub_actual): If we don't find a parameter for an &, 22560484Sobrien just substitute &. 22660484Sobrien 22760484SobrienFri Nov 7 21:29:32 1997 Ken Raeburn <raeburn@cygnus.com> 22860484Sobrien 22960484Sobrien * config/tc-mips.c (mips_ip): In default case, call as_bad 23060484Sobrien instead of fprintf, to get "assembler messages:" message output 23160484Sobrien before instead of after. 23260484Sobrien 23360484SobrienFri Nov 7 10:36:22 1997 Doug Evans <devans@canuck.cygnus.com> 23460484Sobrien 23560484Sobrien * frags.h: Handle multiple inclusion. 23660484Sobrien 23760484SobrienWed Nov 5 10:51:49 1997 Doug Evans <devans@canuck.cygnus.com> 23860484Sobrien 23960484Sobrien Based on a patch from Ian.Dall@dsto.defence.gov.au. 24060484Sobrien * as.h (struct frag, frag support): Moved from here. 24160484Sobrien * frags.h: To here. 24260484Sobrien (struct frag, member tc_frag_data): New member if TC_FRAG_TYPE 24360484Sobrien is defined. 24460484Sobrien (struct frag, member fr_cgen): Renamed from fr_targ.cgen. 24560484Sobrien * cgen.c (cgen_asm_finish_insn): Update. 24660484Sobrien * config/tc-m32r.c (md_estimate_size_before_relax): Update. 24760484Sobrien * config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag. 24860484Sobrien (md_convert_frag): Ditto. 24960484Sobrien * config/tc-ns32k.h (TC_FRAG_TYPE): Define. 25060484Sobrien (frag_opcode_frag,frag_opcode_offset,frag_bsr): Update. 25160484Sobrien (TC_FRAG_INIT): Update. 25260484Sobrien 25360484SobrienTue Nov 4 16:35:57 1997 Ian Dall <Ian.Dall@dsto.defence.gov.au> 25460484Sobrien 25560484Sobrien * write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to 25660484Sobrien print out MD fields of fix. 25760484Sobrien * frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if 258218822Sdim defined) to initialize MD fields in frag. 25960484Sobrien * as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k. 26060484Sobrien Delete pcrel_adjust. Add fr_opcode_fragP, fr_opcode_offset. 26160484Sobrien * config/tc-ns32k.h: Add comments. Remove obsolete 262218822Sdim BFD_FAST_SECTION_FILL definition, change prototypes for 263218822Sdim fix_new_ns32k and fix_new_ns32k_exp to add new arguments 264218822Sdim opcode_frag and opcode_offset and remove pcrel_adjust. 26560484Sobrien (TC_FIX_TYPE): add opcode_fragP and opcode_offset fields. 26660484Sobrien (TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE. 26760484Sobrien (TC_FRAG_INIT): new macro to initialize machine dependent field in 268218822Sdim frags. 26960484Sobrien (frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access 270218822Sdim MD fields in frag structure. 27160484Sobrien (fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset, 272218822Sdim fix_bsr): macros to access MD fields in fix structure. 27360484Sobrien * config/tc-ns32k.c: Avoid overlength lines. Align comments. Don't 274218822Sdim use struct opcode_location as these fields are now in the frag 27560484Sobrien structure. 27660484Sobrien (convert_iif): Call frag_more as it is needed instead 277218822Sdim of trying to allocate for the whole insn. Avoid call of frag_more 278218822Sdim with negative argument. 27960484Sobrien (md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix, 28060484Sobrien md_estimate_size_before_relax, md_pcrel_from, 28160484Sobrien tc_aout_fix_to_chars): use accessor macros to get md fields in fix 282218822Sdim and frag structures. 28360484Sobrien (fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and 28460484Sobrien opcode_offset and remove pcrel_adjust. 28560484Sobrien (convert_iif, cons_fix_new_ns32k): call fix_new_ns32k, 286218822Sdim fix_new_ns32k_exp with changed arguments. 28760484Sobrien 28860484SobrienMon Nov 3 13:30:17 1997 Gavin Koch <gavin@cygnus.com> 28960484Sobrien 29089857Sobrien * config/tc-mips.c (md_begin): Reorganize setting of default values so 29160484Sobrien that mips_cpu depends on TARGET_CPU, and mips_opts.isa depends on 29260484Sobrien mips_cpu. 29360484Sobrien (md_parse_option): Remove all code that sets defaults; md_begin 29460484Sobrien handles all of this now. 29560484Sobrien 29660484SobrienSun Nov 2 14:46:09 1997 Ian Lance Taylor <ian@cygnus.com> 29760484Sobrien 29860484Sobrien * Makefile.am (STAGESTUFF): Change bin_PROGRAMS to 29960484Sobrien noinst_PROGRAMS. 30060484Sobrien (bootstrap, bootstrap2, bootstrap3): Likewise. 30160484Sobrien * Makefile.in: Rebuild. 30260484Sobrien 30360484Sobrien * config/tc-ppc.c (ppc_fix_adjustable): Don't adjust relocs in the 30460484Sobrien TOC section to be against the csect. 30560484Sobrien 30660484SobrienFri Oct 31 18:19:55 1997 Ken Raeburn <raeburn@cygnus.com> 30760484Sobrien 30860484Sobrien * config/tc-mips.c (validate_mips_insn): New function, checks 30960484Sobrien match versus mask bits, and also verifies that all bits to be 31060484Sobrien output are actually specified somewhere. 31160484Sobrien (md_begin): Call it for 32-bit instructions, instead of doing 31260484Sobrien match/mask check here. In case of failure, print a message, but 31360484Sobrien check the rest of the opcode table before exiting. 31460484Sobrien 31560484SobrienThu Oct 30 13:46:20 1997 Nick Clifton <nickc@cygnus.com> 31660484Sobrien 31760484Sobrien * config/tc-arm.c (md_apply_fix3): Fix thumb ADR pseudo op. Patch 31860484Sobrien from Tony Thompson at ARM: athompso@arm.com 31960484Sobrien 32060484SobrienThu Oct 30 11:11:26 1997 Michael Meissner <meissner@cygnus.com> 32160484Sobrien 32260484Sobrien * config/tc-d30v.c (build_insn): Allow odd registers for ld2w and 32360484Sobrien friends. 32460484Sobrien 32560484SobrienFri Oct 24 15:56:47 1997 Ian Lance Taylor <ian@cygnus.com> 32660484Sobrien 32760484Sobrien * config/tc-ppc.c (md_assemble): When handling @l, always sign 32860484Sobrien extend if the operand expects a signed value. 32960484Sobrien 33060484Sobrien * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use 33160484Sobrien default which is to permit dollar labels. 33260484Sobrien 33360484SobrienFri Oct 24 11:19:22 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz> 33460484Sobrien 33560484Sobrien * config/tc-sparc.c (sparc_memory_model): New variable. 33660484Sobrien (md_longopts): Add -TSO/-PSO/-RMO options. 33760484Sobrien (md_parse_options): Handle them. 33860484Sobrien (sparc_elf_final_processing): For 64 ELF, set required 33960484Sobrien memory ordering in e_flags. Default to RMO and let the user 34060484Sobrien override it through command line. 34160484Sobrien 34260484Sobrien * config/tc-sparc.h (elf_tc_final_processing): Add. 34360484Sobrien 34460484SobrienWed Oct 22 17:42:12 1997 Richard Henderson <rth@cygnus.com> 34560484Sobrien 34660484Sobrien * config/tc-sparc.c (v9a_asr_table): New variable. 34760484Sobrien (sparc_ip): Handle v9a asr's. 34860484Sobrien Patch from David Miller <davem@vger.rutgers.edu>. 34960484Sobrien 35060484SobrienWed Oct 22 17:22:59 1997 Richard Henderson <rth@cygnus.com> 35160484Sobrien 35260484Sobrien * config/tc-sparc.h (md_do_align): New macro. 35360484Sobrien * config/tc-sparc.c (sparc_handle_align): Handle rs_align_code. 35460484Sobrien Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>. 35560484Sobrien 35660484SobrienWed Oct 22 12:51:18 1997 Ian Lance Taylor <ian@cygnus.com> 35760484Sobrien 35860484Sobrien * config/tc-sh.c (sh_small): New variable. 35960484Sobrien (OPTION_SMALL): Define. 36060484Sobrien (md_longopts): Add "small". 36160484Sobrien (md_parse_option): Handle OPTION_SMALL. 36260484Sobrien (md_show_usage): Mention -small. 36360484Sobrien * config/tc-sh.h (sh_small): Declare. 36460484Sobrien (SUB_SEGMENT_ALIGN): Handle sh_small. 36560484Sobrien * config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH 36660484Sobrien case. 36760484Sobrien 36860484Sobrien * config/tc-mips.c (macro): Correct handling of constant in M_LI_D 36960484Sobrien case in little endian mode. 37060484Sobrien 37160484SobrienTue Oct 21 10:20:11 1997 Doug Evans <devans@canuck.cygnus.com> 37260484Sobrien 37360484Sobrien * config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave 37460484Sobrien overflow signalling to linker. 37560484Sobrien 37660484SobrienMon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de> 37760484Sobrien 37860484Sobrien * makefile.vms: Fix for dec c. 37960484Sobrien 38060484Sobrien * config-gas.com: Give explanation for dec c setup in error 38160484Sobrien message. 38260484Sobrien 38360484Sobrien * config/tc-alpha.c (s_alpha_comm): Make .comm symbols separate 38460484Sobrien sections on openvms/alpha. 38560484Sobrien 38660484Sobrien * config/obj-evax.c: support .weak pseudo-op 38760484Sobrien 38860484SobrienMon Oct 20 10:13:32 1997 Doug Evans <devans@canuck.cygnus.com> 38960484Sobrien 39060484Sobrien * config/tc-sparc.c (default_arch_size): New static local. 39160484Sobrien (struct sparc_arch): Rename arch_size to default_arch_size. 39260484Sobrien New member user_option_p. 39360484Sobrien (sparc_arch_table): Always include v9, v9a. New entry v9-64. 39460484Sobrien (init_default_arch): Check whether default arch is valid. 39560484Sobrien Set default_arch_size in addition to sparc_arch_size. 39660484Sobrien (OPTION_32,OPTION_64): Define. 39760484Sobrien (md_longopts): New entries for -32, -64. 39860484Sobrien (md_parse_option): Handle them. 39960484Sobrien (md_show_usage): Print them. Ensure init_default_arch called. 40060484Sobrien * configure.in (sparc64): Set arch to v9-64. 40160484Sobrien * configure: Regenerated. 40260484Sobrien 40360484SobrienSun Oct 19 13:50:50 1997 Ian Lance Taylor <ian@cygnus.com> 40460484Sobrien 40560484Sobrien * write.c (subsegs_finish): New function, broken out of 40660484Sobrien write_object_file. 40760484Sobrien (write_object_file): Some code moves into subsegs_finish. 40860484Sobrien * write.c (subsegs_finish): Declare. 40960484Sobrien * as.c (main): Call subsegs_finish. 41060484Sobrien 41160484Sobrien * read.c (s_include): Check for error return from 41260484Sobrien demand_copy_string. 41360484Sobrien 41460484SobrienTue Oct 14 20:50:58 1997 Richard Henderson <rth@cygnus.com> 41560484Sobrien 41660484Sobrien * read.c (get_line_sb): Accept any eol marker while scanning macros. 41760484Sobrien 41860484SobrienTue Oct 14 19:12:45 1997 Richard Henderson <rth@cygnus.com> 41960484Sobrien 42060484Sobrien * config/tc-alpha.h (DIFF_EXPR_OK): Define. 42160484Sobrien * config/tc-i386.h (DIFF_EXPR_OK): Define. 42260484Sobrien * config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute 42360484Sobrien the correct relocation when it exists. 42460484Sobrien * config/tc-i386.c (md_apply_fix3): Likewise. 42560484Sobrien 42660484Sobrien * config/tc-ppc.h: Correct typo in comment. 42760484Sobrien * config/tc-v850.h: Likewise. 42860484Sobrien 42960484SobrienFri Oct 10 16:09:35 1997 Andrew Cagney <cagney@b1.cygnus.com> 43060484Sobrien 43160484Sobrien * config/tc-d10v.c (parallel_ok): Allow parallel instruction issue 432218822Sdim when second instruction is writing to first instructions inputs. 433218822Sdim 43460484SobrienMon Oct 13 15:27:17 1997 Richard Henderson <rth@cygnus.com> 43560484Sobrien 43660484Sobrien * ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++ 43760484Sobrien templated programs to build with -g. 43860484Sobrien 43960484SobrienFri Oct 10 17:48:29 1997 Nick Clifton <nickc@cygnus.com> 44060484Sobrien 44160484Sobrien * config/tc-v850.c (md_relax_table): Add support for relaxing 442218822Sdim unconditional branches. This patch is courtesy of Jim Wilson. 44360484Sobrien (md_convert_frag): Fix relaxing of branches. This patch is 44460484Sobrien courtesy of Jim Wilson. 44560484Sobrien (md_assemble): Create different fixups for conditional and 44660484Sobrien unconditional branches. This patch is courtesy of Jim Wilson. 44760484Sobrien (md_estimate_size_before_relax): Estimate size of variable part of 44860484Sobrien fixup based on whether it is for a conditional or an unconditional 44960484Sobrien branch. This patch is courtesy of Jim Wilson. 45060484Sobrien (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, 45160484Sobrien v850_zbss, v850_rosdata, v850_rozdata, v850_bss): Add call to 452218822Sdim obj_elf_section_change_hook(). 45360484Sobrien (v850_comm): New function. 45460484Sobrien (md_pseudo_table): Add new pseudo ops .zcomm, .scomm and .tcomm. 45560484Sobrien (md_begin): Add bss flag to seg_info of bss sections. 45660484Sobrien 45760484Sobrien Add support for .scommon, .tcommon and .zcommon sections. 45860484Sobrien 45960484Sobrien * config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add .scommon, 46060484Sobrien .zcommon, .tbss, .call_table_data and .call_table_text. 46160484Sobrien 46260484SobrienFri Oct 10 15:01:14 1997 Doug Evans <dje@canuck.cygnus.com> 46360484Sobrien 46460484Sobrien * configure.in (sparc): Set DEFAULT_ARCH from correct target. 46560484Sobrien * configure: Regenerated. 46660484Sobrien 46760484SobrienFri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com> 46860484Sobrien 46960484Sobrien * config/tc-d10v.c: Fixes to make sure the AT_WORD 47060484Sobrien expression is not confused with -1. 47160484Sobrien 47260484SobrienFri Oct 10 11:54:50 1997 Andrew Cagney <cagney@b1.cygnus.com> 47360484Sobrien 47460484Sobrien * config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp 475218822Sdim operand - OPERAND_ATMINUS. 47660484Sobrien 47760484SobrienFri Oct 10 00:47:44 1997 Michael Meissner <meissner@cygnus.com> 47860484Sobrien 47960484Sobrien * config/tc-d10v.c (parallel_ok): Note that auto increment and 48060484Sobrien decrement modify the index register. 48160484Sobrien 48260484SobrienThu Oct 9 15:17:50 1997 Ian Lance Taylor <ian@cygnus.com> 48360484Sobrien 48460484Sobrien From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>: 48560484Sobrien * config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334, 48660484Sobrien 68336, 68341, 68349. 48760484Sobrien * doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001 48860484Sobrien -m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030, 48960484Sobrien -m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341, 49060484Sobrien -m68349. 49160484Sobrien 49260484Sobrien * doc/Makefile.am (CPU_DOCS): Define. 49360484Sobrien (as.info): Depend upon $(CPU_DOCS). 49460484Sobrien * doc/Makefile.in: Rebuild. 49560484Sobrien 49660484Sobrien * configure.in: Remove AM_PROG_INSTALL; it's called by 49760484Sobrien AM_INIT_AUTOMAKE. 49860484Sobrien * configure: Rebuild. 49960484Sobrien 50060484SobrienThu Oct 9 01:44:36 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 50160484Sobrien 50289857Sobrien * config/tc-d10v.h (TC_START_LABEL): Don't define. 50360484Sobrien (tc_frob_label): Define. 50460484Sobrien 50560484SobrienThu Oct 9 00:07:23 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 50660484Sobrien 50760484Sobrien * config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow 50860484Sobrien to pair a branch and link with anything but an exe instruction. 50960484Sobrien 51060484SobrienWed Oct 8 16:28:53 1997 Richard Henderson <rth@cygnus.com> 51160484Sobrien 51260484Sobrien * config/tc-alpha.c (load_expression): Disable the sym+const .got 51360484Sobrien optimization to reduce the alignment surprises for gcc. 51460484Sobrien 51560484SobrienWed Oct 8 16:11:15 1997 Doug Evans <dje@canuck.cygnus.com> 51660484Sobrien 51760484Sobrien * config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT. 51860484Sobrien * config/tc-sparc.c (sparc_target_format): Handle coff here. 51960484Sobrien (sparc_ip): Add %hix,%lox. 52060484Sobrien (md_apply_fix3): Call as_bad_where, not as_bad. 52160484Sobrien Add support for BFD_RELOC_SPARC_{HIX22,LOX10}. 52260484Sobrien (tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}. 52360484Sobrien 52460484SobrienWed Oct 8 12:33:32 1997 Richard Henderson <rth@cygnus.com> 52560484Sobrien 52660484Sobrien * configure.in: Change alpha-*-* to alpha*-*-*; config.guess now 52760484Sobrien recognizes alphaev5 etc. 52860484Sobrien * configure: Rebuild. 52960484Sobrien 53060484SobrienWed Oct 8 00:04:05 1997 Gavin Koch <gavin@cygnus.com> 53160484Sobrien 53260484Sobrien * config/tc-mips.c (md_begin): Replace the TARGET_CPU value 53360484Sobrien of mipsr3900 with mipstx39. 53460484Sobrien 535218822Sdim * config/tc-mips.c (mips_ip): Don't print the 'opcode requires 53660484Sobrien -mipsXX message' if the insn isn't an ISA insn. 53760484Sobrien 53860484SobrienTue Oct 7 12:48:30 1997 Doug Evans <dje@canuck.cygnus.com> 53960484Sobrien 54060484Sobrien * config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c. 54160484Sobrien Redefine TARGET_FORMAT to call sparc_target_format. 54260484Sobrien * config/tc-sparc.c (in_unsigned_range): New function. 54360484Sobrien (sparc_arch_size): Make static. 54460484Sobrien (sparc_target_format): New function. 54560484Sobrien (sparc_ip): Delete variable immediate_max. Rewrite %hi/etc reloc 54660484Sobrien handling. Add support for %hh,%hm,%lm,%h44,%m44,%l44. 54760484Sobrien (output_insn): Set `fx_no_overflow'. 54860484Sobrien (md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}. 54960484Sobrien (tc_gen_reloc): Likewise. 55060484Sobrien 55160484SobrienMon Oct 6 14:04:50 1997 Nick Clifton <nickc@cygnus.com> 55260484Sobrien 55360484Sobrien * config/tc-v850.c (v850_section): Remove. 55460484Sobrien 55560484Sobrien * config/obj-elf.c (obj_elf_section): Enhance error message. 55660484Sobrien 55760484SobrienFri Oct 3 15:40:38 1997 Ian Lance Taylor <ian@cygnus.com> 55860484Sobrien 55960484Sobrien * config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before 56060484Sobrien including obj-elf.h in OBJ_MAYBE_ELF case. 56160484Sobrien (mips_target_format): Return NULL after abort to avoid warning. 56260484Sobrien 56360484Sobrien * ecoff.c (generate_ecoff_stab): Remove unused static function. 56460484Sobrien 56560484Sobrien * expr.c (operator): Accept ==. From Anders Blomdell 56660484Sobrien <anders.blomdell@control.lth.se>. 56760484Sobrien 56860484Sobrien * config/atof-ieee.c (gen_to_words): When generating a denormal 56960484Sobrien number, handle an overflow into the smallest normalized number. 57060484Sobrien 57160484SobrienMon Sep 29 15:24:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 57260484Sobrien 57360484Sobrien * as.h, input-scrub.c (new_logical_line): New return value. 57460484Sobrien * read.c (s_app_file): Don't note the same file several times 57560484Sobrien in a row. 57660484Sobrien 57760484SobrienThu Sep 25 13:08:02 1997 Ian Lance Taylor <ian@cygnus.com> 57860484Sobrien 57960484Sobrien * config/tc-m68k.c (m68k_ip): Remove ` operand specifier. 58060484Sobrien 58160484SobrienWed Sep 24 16:54:40 1997 Joel Sherrill <joel@oarcorp.com> 58260484Sobrien 583218822Sdim * configure.in (sh*-*-rtems*): New target, like sh-*-elf*. 58460484Sobrien * configure: Rebuild. 58560484Sobrien 58660484SobrienWed Sep 24 11:30:25 1997 Ian Lance Taylor <ian@cygnus.com> 58760484Sobrien 58860484Sobrien * config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers. 58960484Sobrien 59060484Sobrien * doc/c-i386.texi (i386-Float): Remove incorrect assertion that 59160484Sobrien fn* instructions do not insert implicit fwait. This was changed 59260484Sobrien Jan 29, 1996. 59360484Sobrien 59460484Sobrien * config/m68k-parse.y (yylex): Permit an expression to be used for 59560484Sobrien the scale factor. 59660484Sobrien 59760484Sobrien * Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y, 59860484Sobrien not m68k-parse.y. 59960484Sobrien * Makefile.in: Rebuild. 60060484Sobrien 60160484Sobrien * aclocal.m4: Rebuild with new libtool. 60260484Sobrien * configure: Rebuild. 60360484Sobrien 60460484SobrienTue Sep 23 17:48:09 1997 Ian Lance Taylor <ian@cygnus.com> 60560484Sobrien 60660484Sobrien * app.c (do_scrub_chars): Clear mri_state at end of .mri 60760484Sobrien pseudo-op. 60860484Sobrien 60960484Sobrien * config/tc-mips.c (hilo_interlocks): Change from a static 61060484Sobrien variable to a macro, so that it varies with the variables upon 61160484Sobrien which it depends. 61260484Sobrien (gpr_interlocks, cop_interlocks): Likewise. 61360484Sobrien (md_begin): Don't initialize them. 61460484Sobrien 61560484SobrienFri Sep 19 17:08:41 1997 Jeffrey A Law (law@cygnus.com) 61660484Sobrien 61760484Sobrien * config/tc-mn10300.c (md_assemble): Use strcasecomp instead 61860484Sobrien of strcmp where appropriate. 61960484Sobrien 62060484SobrienThu Sep 18 14:11:56 1997 Nick Clifton <nickc@cygnus.com> 62160484Sobrien 62260484Sobrien * config/tc-v850.c (md_assemble): Cope with a zero data area 62360484Sobrien relocation with a constant offset. 62460484Sobrien (md_assemble): Produce error message when special data area 62560484Sobrien relocations are used on instructions which do not support them. 62660484Sobrien (md_assemble): Reset processor mask if defined by command line 627218822Sdim switch. 62860484Sobrien 62960484SobrienThu Sep 18 11:24:01 1997 Doug Evans <dje@canuck.cygnus.com> 63060484Sobrien 63160484Sobrien * config/tc-sparc.c: Reorganize file. 63260484Sobrien (parse_keyword_arg): Allow numbers in reg names. 63360484Sobrien (SPECIAL_CASE_NONE): New macro. 63460484Sobrien (md_assemble): Use it. 63560484Sobrien (lookup_arch,init_default_arch): New functions. 63660484Sobrien (default_arch,default_init_p,sparc_arch_table): New static locals. 63760484Sobrien (sparc_arch_size): New static local. 63860484Sobrien (max_architecture): Initialize in init_default_arch. 63960484Sobrien (md_parse_options): Call init_default_arch if necessary. 64060484Sobrien Rewrite -xarch/-A processing. 64160484Sobrien (md_show_usage): Print -A values from sparc_arch_table. 64260484Sobrien (md_begin): Call init_default_arch if necessary. 64360484Sobrien (sparc_md_end): Handle both 32 and 64 bit environments. 64460484Sobrien * config/tc-sparc.h (TARGET_FORMAT): Likewise. 64560484Sobrien * acconfig.h (SPARC_V9,SPARC_ARCH64): Delete. 64660484Sobrien (DEFAULT_ARCH): Add. 64760484Sobrien * config.in: Regenerate. 64860484Sobrien * configure.in (sparc): Default DEFAULT_ARCH based on target cpu. 64960484Sobrien (SPARC_V9,SPARC_ARCH64): Delete. 65060484Sobrien * configure: Regenerate. 65160484Sobrien * config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete. 65260484Sobrien 65360484SobrienWed Sep 17 16:54:20 1997 Nick Clifton <nickc@cygnus.com> 65460484Sobrien 65560484Sobrien * config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ () 656218822Sdim macro. 65760484Sobrien (handle_tdaoff, handle_zdaoff, handle_sdaoff): New functions. 65860484Sobrien 65960484Sobrien * config/tc-v850.c (md_assemble): Corrected typo. 66060484Sobrien * config/tc-v850.c Add new sections: call_table_data and 66160484Sobrien call_table_text. 662218822Sdim (v850_reloc_prefix): Add support for ctoff() relocation prefix. 66360484Sobrien (handle_ctoff): New Function. 66460484Sobrien 66560484Sobrien * doc/c-v850.texi (V850 Opcodes): Document call table relocations. 66660484Sobrien 66760484SobrienTue Sep 16 14:18:22 1997 Nick Clifton <nickc@cygnus.com> 66860484Sobrien 66960484Sobrien * config/tc-v850.c (v850_reloc_prefix): Add support for a 16 bit 67060484Sobrien displacement from the tiny data area pointer. 67160484Sobrien 67260484SobrienMon Sep 15 21:28:09 1997 Jeffrey A Law (law@cygnus.com) 67360484Sobrien 67460484Sobrien * config/tc-hppa.c (fix_new_hppa): Make declaration match 67560484Sobrien definition. 67660484Sobrien 67760484SobrienMon Sep 15 18:33:06 1997 Nick Clifton <nickc@cygnus.com> 67860484Sobrien 67960484Sobrien * config/tc-v850.c (processor_mask): New variable. 68060484Sobrien (set_machine, md_parse_option): Set processor_mask. 68160484Sobrien (md_assemble): Check that instruction is available to target 682218822Sdim processor. 68360484Sobrien 68460484Sobrien * config/tc-v850.h (TARGET_PROCESSOR): New constant. 68560484Sobrien 68660484SobrienMon Sep 15 11:28:04 1997 Ken Raeburn <raeburn@cygnus.com> 68760484Sobrien 68860484Sobrien Merge in work from Martin Hunt: 68960484Sobrien 69060484Sobrien * config/tc-d30v.c (build_insn): For mvfsys and mvtsys, 69160484Sobrien CR is 0 for PSWL and PSWH. 69260484Sobrien 69360484Sobrien * config/tc-d30v.c (do_assemble): Don't accept 69460484Sobrien illegal condition codes for cmpu instruction. 69560484Sobrien 69660484Sobrien * config/tc-d30v.c: Add support for BFD_RELOC_D30V_9_PCREL 69760484Sobrien used in d*i instructions. 69860484Sobrien 69960484Sobrien * config/tc-d30v.c (check_size): New function. Check 70060484Sobrien relocations for overflows. 70160484Sobrien (md_pcrel_from_section): Fix relocations between sections. 70260484Sobrien (md_apply_fix3): Use new relocation types for 15 and 21 70360484Sobrien bit relocations in the right container. Needed because 70460484Sobrien the address of the instruction is not eight-byte aligned 70560484Sobrien but the relocations must be. 70660484Sobrien 70760484Sobrien * config/tc-d30v.c (md_apply_fix3): Check for overflow. 70860484Sobrien (find_format): If ".s" or ".l" are used, don't try 70960484Sobrien to compute branch sizes. 71060484Sobrien 71160484Sobrien * config/tc-d30v.c (do_assemble): Check for ".s" or 71260484Sobrien ".l" extensions to opcode names. 71360484Sobrien (find_format): Generate the correct instructions when 71460484Sobrien ".s" or ".l" are used. 71560484Sobrien 71660484Sobrien * config/tc-d30v.c (build_insn): Check for odd registers 71760484Sobrien on instructions that require even registers. 71860484Sobrien 71960484Sobrien * config/tc-d30v.h (md_start_line_hook): Define. 72060484Sobrien * config/tc-d30v.c (md_start_line_hook): New hook. 72160484Sobrien Checks the beginning of each line for a ".". If it 72260484Sobrien finds one, assume a pseudo-op and flush any unwritten 72360484Sobrien instructions. 72460484Sobrien 72560484Sobrien * config/tc-d30v.c (md_apply_fix3): Fix problem 72660484Sobrien with determining when fixups were done. 72760484Sobrien 72860484Sobrien * config/tc-d30v.c (build_insn): Fix bug where the numeric 72960484Sobrien part of a symbol (for example, "foo+8") was being written 73060484Sobrien into the instruction. 73160484Sobrien (md_pseudo_table): Change .word to be 32 bits and add 73260484Sobrien .hword as 16 bits. 73360484Sobrien 73460484Sobrien * config/tc-d30v.c (parallel_ok): Check to see if first 73560484Sobrien instruction is a jump. 73660484Sobrien 73760484Sobrien * config/tc-d30v.c (parallel_ok): Major code reorganization. 73860484Sobrien 73960484SobrienWed Sep 10 10:07:08 1997 Nick Clifton <nickc@cygnus.com> 74060484Sobrien 74160484Sobrien * config/tc-v850.c (md_assemble): Corrected spelling mistake. 74260484Sobrien * configure.in (emulations): Add v850 emulation. 74360484Sobrien 74460484SobrienTue Sep 9 17:14:33 1997 Doug Evans <dje@canuck.cygnus.com> 74560484Sobrien 74660484Sobrien * Makefile.am (CPU_TYPES): Add arc. 74760484Sobrien (TARGET_CPU_CFILES): Add tc-arc.c. 74860484Sobrien (TARGET_CPU_HFILES): Add tc-arc.h. 74960484Sobrien (dependencies): Rebuild. 75060484Sobrien * Makefile.in: Rebuild. 75160484Sobrien * configure.in: Recognize arc-*-elf*. 75260484Sobrien * configure: Regenerated. 75360484Sobrien * config/tc-arc.[ch]: New files. 75460484Sobrien 75560484SobrienTue Sep 9 10:19:37 1997 Nick Clifton <nickc@cygnus.com> 75660484Sobrien 75760484Sobrien * doc/c-v850.texi (V850 Opcodes): Document hi0() reloc prefix. 75860484Sobrien Correct description of hi() reloc prefix. 75960484Sobrien 76060484Sobrien * doc/c-v850.texi (V850 Opcodes): Document new reloc prefix. 76160484Sobrien * config/tc-v850.c (v850_reloc_prefix): Add hilo() reloc prefix. 76260484Sobrien * config/tc-v850.c (md_assemble): Add support for BFD_RELOC_32. 76360484Sobrien 76460484Sobrien * doc/c-v850.texi: Document new pseudo ops and command line 76560484Sobrien options. 76660484Sobrien 76760484Sobrien * config/tc-v850.c (set_machine): New function. 76860484Sobrien * config/tc-v850.c (.v850): New pseudo op. 76960484Sobrien * config/tc-v850.c (.v850e): New pseudo op. 77060484Sobrien * config/tc-v850.c (.v850ea): New pseudo op. 77160484Sobrien 772218822Sdim 77360484SobrienMon Sep 8 23:08:04 1997 Ian Lance Taylor <ian@cygnus.com> 77460484Sobrien 77560484Sobrien Support -alh and -ald for DWARF 1: 77660484Sobrien * listing.c (struct list_info_struct): Add debugging field. 77760484Sobrien (listing_newline): Initialize the debugging field. If ELF, if the 77860484Sobrien section starts with .debug or .line, set the debugging field in 77960484Sobrien the listing structure. 78060484Sobrien (debugging_pseudo): Add list parameter. Change all callers. If 78160484Sobrien the debugging field is set, consider it to be a debugging pseudo. 78260484Sobrien If ELF, skip blank lines between debugging lines. 78360484Sobrien * read.c (emit_expr): If ELF, look for line numbers. 78460484Sobrien (stringer): If ELF, look for file names. 78560484Sobrien 78660484SobrienMon Sep 8 12:33:40 1997 Nick Clifton <nickc@cygnus.com> 78760484Sobrien 78860484Sobrien * config/tc-v850.c (v850_insert_operand): Only test for overflow 78960484Sobrien if there is no insert function. 79060484Sobrien 79160484Sobrien * config/tc-v850.h (TARGET_MACHINE): New constant. 79260484Sobrien 79360484Sobrien * config/tc-v850.c (v850_insert_operand): Add 794218822Sdim -mwarn_unsigned_overflow. 79560484Sobrien (md_begin): Set BFD machine number based on machine variable. 79660484Sobrien (md_parse_option): Add -mv850, -mv850e and -mv850ea options. 79760484Sobrien 79860484SobrienMon Sep 8 11:20:46 1997 Ian Lance Taylor <ian@cygnus.com> 79960484Sobrien 80060484Sobrien * as.h: Don't declare alloca if it is a macro. 80160484Sobrien * macro.c: Likewise. 80260484Sobrien 80360484SobrienSun Sep 7 00:30:19 1997 Richard Henderson <rth@cygnus.com> 80460484Sobrien 805218822Sdim * config/tc-alpha.c (md_parse_option): Move m[] out to top level and 806218822Sdim rename to cpu_types[]. 807218822Sdim (s_alpha_arch): New function. 808218822Sdim (md_pseudo_table): Add "arch". 80960484Sobrien 810218822Sdim * config/tc-alpha.c (md_begin): Merge the two loops through the 811218822Sdim opcode table. 812218822Sdim (s_alpha_proc): Add initial SKIP_WHITESPACE. 813218822Sdim (s_alpha_set): Likewise. Use get_symbol_end instead local while loop. 81460484Sobrien 81560484SobrienSat Sep 6 19:38:12 1997 Fred Fish <fnf@cygnus.com> 81660484Sobrien 81760484Sobrien * read.h (s_lcomm_bytes): Add prototype (for real this time). 81860484Sobrien 81960484SobrienThu Sep 4 12:10:01 1997 Ian Lance Taylor <ian@cygnus.com> 82060484Sobrien 82160484Sobrien * config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for 82260484Sobrien symbols on Irix. 82360484Sobrien 82460484SobrienWed Sep 3 11:21:33 1997 Nick Clifton <nickc@cygnus.com> 82560484Sobrien 82660484Sobrien * config/tc-v850.c: Remove BFD_RELOC_V850_16_PCREL. 82760484Sobrien 82860484SobrienTue Sep 2 18:32:30 1997 Jeffrey A Law (law@cygnus.com) 82960484Sobrien 830218822Sdim * config/tc-mn10200.c (md_convert_frag): PC relative instructions arex 83160484Sobrien relative to the next instruction, not the current instruction. 83260484Sobrien (md_assemble): Similarly. 83360484Sobrien 83460484SobrienTue Sep 2 15:58:52 1997 Nick Clifton <nickc@cygnus.com> 83560484Sobrien 83660484Sobrien * doc/c-v850.texi: Explanations of offsets in SDA/ZDA areas 837218822Sdim correcetd. 83860484Sobrien 83960484Sobrien * config/tc-v850.c: Add support for SDA/TDA/ZDA sections. 84060484Sobrien (v850_reloc_prefix): Duplicate code eliminated. Add code to 84160484Sobrien recognise special instructions. 84260484Sobrien (md_assemble): Calculation of the size of a fixups corrected. 84360484Sobrien 84460484Sobrien * config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add SDA/TDA/ZDA 845218822Sdim sections. 84660484Sobrien 84760484SobrienTue Sep 2 15:40:56 1997 Andrew Cagney <cagney@b1.cygnus.com> 84860484Sobrien 84960484Sobrien * config/tc-v850.c (md_assemble): Use opcode->name instead of 850218822Sdim opcode->opcode as the sentinal. Zero is a valid opcode. 85160484Sobrien 85260484SobrienTue Aug 26 16:51:14 1997 Ian Lance Taylor <ian@cygnus.com> 85360484Sobrien 85460484Sobrien * doc/as.texinfo (Machine Dependencies): Add v850 to menu. 85560484Sobrien * doc/c-v850.texi: Change node name to match other chapter nodes. 85660484Sobrien 85760484SobrienTue Aug 26 09:46:22 1997 Nick Clifton <nickc@cygnus.com> 85860484Sobrien 85960484Sobrien * doc/c-v850.texi (V850 Opcodes): Correct name for tiny data area 860218822Sdim pointer. 86160484Sobrien 86260484SobrienTue Aug 26 12:23:25 1997 Ian Lance Taylor <ian@cygnus.com> 86360484Sobrien 86460484Sobrien * expr.c (integer_constant): If BFD64, don't make a bignum if the 86560484Sobrien number will fit in 64 bits. 86660484Sobrien 86760484Sobrien * config/tc-alpha.c (load_expression): Check explicitly for O_big, 86860484Sobrien rather than calling abort. 86960484Sobrien 87060484Sobrien * as.h: Don't define alloca if __GNUC__. Just declare it. 87160484Sobrien * macro.c: Copy alloca handling from as.h. 87260484Sobrien 87360484Sobrien * config/tc-i386.c (i386_align_code): Correct 16 bit noops. From 87460484Sobrien Gabriel Paubert <paubert@iram.es>. 87560484Sobrien 87660484Sobrien * config/tc-i386.c (md_assemble): In JumpByte case, when looking 87760484Sobrien for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this 87860484Sobrien is jcxz or a loop instruction. 87960484Sobrien 88060484SobrienMon Aug 25 16:04:14 1997 Nick Clifton <nickc@cygnus.com> 88160484Sobrien 88260484Sobrien * config/tc-v850.c (pre_defined_registers): Add 'hp' as alias for 88360484Sobrien r2. 88460484Sobrien (md_begin): Set up machine architecture and type. 88560484Sobrien 88660484SobrienMon Aug 25 14:25:48 1997 Ian Lance Taylor <ian@cygnus.com> 88760484Sobrien 88860484Sobrien * symbols.c (resolve_symbol_value): Store the value back into the 88960484Sobrien symbol expression, to handle add or subtract simplification 89060484Sobrien correctly. Handle O_symbol_rva. Add default case. 89160484Sobrien 89260484Sobrien * config/tc-ppc.c (ppc_change_csect): Temporarily lower the 89360484Sobrien chunksize while creating the new subsection. 89460484Sobrien * as.c (chunksize): Initialize to zero. 89560484Sobrien * subsegs.c (subseg_set_rest): Change 5000 to chunksize when 89660484Sobrien calling obstack_begin. 89760484Sobrien 89860484SobrienMon Aug 25 11:21:48 1997 Nick Clifton <nickc@cygnus.com> 89960484Sobrien 90060484Sobrien * config/tc-v850.c (md_assemble): Restore input_line_pointer upon 901218822Sdim exit. 902218822Sdim 90360484Sobrien * config/tc-v850.c (parse_register_list): Support constant 90460484Sobrien expressions as register lists. 90560484Sobrien 90660484SobrienMon Aug 25 10:19:34 1997 Nick Clifton <nickc@cygnus.com> 90760484Sobrien 90860484Sobrien * doc/c-v850.texi: Change the major node to v850 Machine 909218822Sdim Dependencies. 91060484Sobrien 91160484SobrienFri Aug 22 11:16:14 1997 Nick Clifton <nickc@cygnus.com> 91260484Sobrien 91360484Sobrien * doc/as.texinfo: Add inclusion of c-v850.texi 91460484Sobrien 91560484Sobrien * doc/c-v850.texi: New file. 91660484Sobrien 91760484Sobrien * read.c (is_end_of_line): Make NUL character be considered to be 91860484Sobrien a line terminator. 91960484Sobrien 92060484SobrienFri Aug 22 10:45:33 1997 Nick Clifton <nickc@cygnus.com> 92160484Sobrien 92260484Sobrien * config/tc-v850.c (parse_register_list): Add support for curly 92360484Sobrien brace syntax. 92460484Sobrien (cc_names): Add "e" and "ne" conditions. 92560484Sobrien 92660484SobrienThu Aug 21 11:00:36 1997 Nick Clifton <nickc@cygnus.com> 92760484Sobrien 92860484Sobrien * app.c (do_scrub_chars): Support a double dash as starting a 92960484Sobrien comment that extends to end of line. 93060484Sobrien 93160484SobrienThu Aug 21 10:54:27 1997 Nick Clifton <nickc@cygnus.com> 93260484Sobrien 93360484Sobrien * config/tc-v850.c (v850_section, v850_bss, v850_offset): New 93460484Sobrien functions. 93560484Sobrien (md_pseudo_table): New pseudo ops: .bss, .offset, .section 93660484Sobrien 93760484SobrienThu Aug 21 00:59:53 1997 Doug Evans <dje@canuck.cygnus.com> 93860484Sobrien 93960484Sobrien * config/tc-m32r.c (md_estimate_size_before_relax): Update recorded 94060484Sobrien insn when changing to a different instruction. 94160484Sobrien 94260484SobrienWed Aug 20 00:45:20 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 94360484Sobrien 94489857Sobrien * config/tc-sh.c (parse_reg, get_specific, build_Mytes): Add SH4 94560484Sobrien floating point extensions. 94660484Sobrien (parse_reg): parse sgr and dbr. 94760484Sobrien 94860484SobrienTue Aug 19 17:07:34 1997 Nick Clifton <nickc@cygnus.com> 94960484Sobrien 95060484Sobrien * config/tc-v850.c (system_register_name): Support numbers for 95160484Sobrien system register IDs. 95260484Sobrien 95360484SobrienTue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com> 95460484Sobrien 95560484Sobrien * read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to 95660484Sobrien flag when alignment is in bytes instead of power of 2, and code to 95760484Sobrien use that flag to convert alignment to bytes. 95860484Sobrien (s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal. 95960484Sobrien * read.h (s_lcomm_bytes): Add prototype. 96060484Sobrien * config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is 96160484Sobrien defined, write alignment to alignment bits in section header s_flags 96260484Sobrien rather than the s_align field. 96360484Sobrien * config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80. 96460484Sobrien * config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss 96560484Sobrien pseudo, instead of s_lcomm which wants a power of two for alignment. 96660484Sobrien 96760484SobrienMon Aug 18 20:42:23 1997 Richard Henderson <rth@cygnus.com> 96860484Sobrien 96960484Sobrien * macro.c (check_macro): use alloca instead of xmalloc to plug leak. 97060484Sobrien 97160484SobrienMon Aug 18 20:33:06 1997 Richard Henderson <rth@cygnus.com> 97260484Sobrien 97360484Sobrien * as.c (show_usage): Add -am. 97460484Sobrien * input-scrub.c (input_scrub_include_sb): Don't add leading \n 97560484Sobrien if we've already got one. 97660484Sobrien * listing.c (struct list_info_struct): Add line_contents. 97760484Sobrien (listing_newline): Put unused argument to work: if non-null, save it... 97860484Sobrien (listing_listing): ... and regurgitate during listing instead of line 97960484Sobrien from file. 98060484Sobrien * listing.h (LISTING_MACEXP): New define. 98160484Sobrien (LISTING_NEWLINE): Argument is NULL. 98260484Sobrien * read.c (read_a_source_file): If expanding macros, break up input 98360484Sobrien lines and pass them to listing_newline. 98460484Sobrien * doc/as.texinfo: Document -ac and -am. 98560484Sobrien 98660484Sobrien * cond.c (s_ifc): Add missing demand_empty_rest_of_line. 98760484Sobrien 98860484SobrienMon Aug 18 11:26:36 1997 Nick Clifton <nickc@cygnus.com> 98960484Sobrien 99060484Sobrien * config/tc-v850.c (md_apply_fix3): Add support for new 16 bit PC 99160484Sobrien relative reloc. 99260484Sobrien 99360484SobrienMon Aug 18 11:24:21 1997 Nick Clifton <nickc@cygnus.com> 99460484Sobrien 99560484Sobrien * config/tc-v850.c: Remove support_v850e flag and command line 996218822Sdim option. 997218822Sdim 99860484Sobrien * configure.in (emulations): Add support for v850e target 99960484Sobrien 100060484Sobrien * configure (emulations): Add support for v850e target 100160484Sobrien 100260484SobrienMon Aug 18 11:24:21 1997 Nick Clifton <nickc@cygnus.com> 100360484Sobrien 100460484Sobrien * config/tc-v850.c: Remove support_v850ea flag and command line 1005218822Sdim option. 1006218822Sdim 100760484Sobrien * configure.in (emulations): Add support for v850ea target 100860484Sobrien 100960484Sobrien * configure (emulations): Add support for v850ea target 101060484Sobrien 101160484SobrienFri Aug 15 14:00:13 1997 Ian Lance Taylor <ian@cygnus.com> 101260484Sobrien 101360484Sobrien * Makefile.am (check-DEJAGNU): Don't cd into testsuite until after 101460484Sobrien setting EXPECT and TCL_LIBRARY. 101560484Sobrien * Makefile.in: Rebuild. 101660484Sobrien 101760484Sobrien * as.h (enum debug_info_type): Define. 101860484Sobrien (debug_type): Declare. 101960484Sobrien * as.c (debug_type): New global variable. 102060484Sobrien (show_usage): Add --gstabs. 102160484Sobrien (parse_args): Handle --gstabs. 102260484Sobrien * read.c (generate_asm_lineno): Remove. 102360484Sobrien (read_a_source_file): Output stabs debugging if appropriate. 102460484Sobrien Change checks of generate_asm_lineno to check debug_type. Only 102560484Sobrien generate ECOFF debugging if ECOFF_DEBUGGING is defined. 102660484Sobrien * read.h (generate_asm_lineno): Don't declare. 102760484Sobrien (stabs_generate_asm_lineno): Declare. 102860484Sobrien * stabs.c (stabs_generate_asm_lineno): New function. 102960484Sobrien * ecoff.c (add_file): Use debug_type, not generate_asm_lineno. 103060484Sobrien Don't turn off debugging. 103160484Sobrien (add_file): Remove old #if 0 code. 103260484Sobrien (ecoff_new_file): Set debug_type, not generate_asm_lineno. 103360484Sobrien (ecoff_directive_end): Don't generate stabs line symbols. 103460484Sobrien (ecoff_generate_asm_lineno): Don't check stabs_seen. Don't set 103560484Sobrien generate_asm_lineno. 103660484Sobrien (line_label_cnt): Remove. 103760484Sobrien (ecoff_generate_asm_line_stab): Remove. 103860484Sobrien * ecoff.h (ecoff_generate_asm_line_stab): Don't declare. 103960484Sobrien * doc/as.texinfo, doc/as.1: Document --gstabs. 104060484Sobrien 104160484SobrienWed Aug 13 18:58:56 1997 Nick Clifton <nickc@cygnus.com> 104260484Sobrien 104360484Sobrien * config/tc-v850.c (md_assemble, md_show_usage, md_parse_option): 104460484Sobrien Add support for v850ea instructions. 104560484Sobrien 104660484Sobrien * config/tc-v850.c (md_assemble, md_show_usage, md_parse_option): 104760484Sobrien Add support for v850e instructions. 1048218822Sdim 104960484Sobrien * config/tc-v850.c (md_assemble): Fix error recovery to reload 1050218822Sdim text of entire opcode. 105160484Sobrien 105260484SobrienTue Aug 12 10:27:34 1997 Richard Henderson <rth@cygnus.com> 105360484Sobrien 105460484Sobrien * doc/internals.texi: Document rs_leb128. 105560484Sobrien 105660484SobrienTue Aug 12 12:17:03 1997 Ian Lance Taylor <ian@cygnus.com> 105760484Sobrien 105860484Sobrien * config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE 105960484Sobrien in ABSL case, rather than calling abort. 106060484Sobrien 106160484SobrienMon Aug 11 21:48:00 1997 Richard Henderson <rth@cygnus.com> 106260484Sobrien 106360484Sobrien * as.h (enum _relax_state): Add rs_leb128. 106460484Sobrien * read.c (potable): Add sleb128 and uleb128. 106560484Sobrien (sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New 106660484Sobrien functions. 106760484Sobrien * read.h: Update prototypes. 106860484Sobrien * symbols.c (resolve_symbol_value): Streamline quite a bit. Return 1069218822Sdim the symbol value, add a second FINALIZE argument that prevents 107060484Sobrien changes from being comitted. Update all callers. 107160484Sobrien * write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128. 107260484Sobrien * doc/as.texinfo: Document the new pseudos. 107360484Sobrien 107460484SobrienSun Aug 10 14:51:49 1997 Ian Lance Taylor <ian@cygnus.com> 107560484Sobrien 107660484Sobrien * Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage, 107760484Sobrien stage1, and stage2. 107860484Sobrien (DISTCLEANFILES): Define. 107960484Sobrien * doc/Makefile.am (DISTCLEANFILES): Define. 108060484Sobrien * Makefile.in, doc/Makefile.in: Rebuild. 108160484Sobrien 108260484SobrienWed Aug 6 00:30:30 1997 Ian Lance Taylor <ian@cygnus.com> 108360484Sobrien 108460484Sobrien * configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set. 108560484Sobrien Don't set targ or gas_target. Define SCO_ELF and 108660484Sobrien TARGET_SOLARIS_COMMENT when appropriate. Don't substitute for 108760484Sobrien target_frag. 108860484Sobrien * Makefile.am: Remove @target_frag@. 108960484Sobrien (INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and 109060484Sobrien $(TDEFINES). 109160484Sobrien (dep-am): Mark as phony. 109260484Sobrien * acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT, 109360484Sobrien and SCO_ELF. 109460484Sobrien * config/arm-big.mt, config/arm-lit.mt: Remove. 109560484Sobrien * config/mips-big.mt, config/mips-lit.mt: Remove. 109660484Sobrien * config/ppc-big.mt, config/ppc-lit.mt: Remove. 109760484Sobrien * config/ppc-sol.mt: Remove. 109860484Sobrien * config/i386coff.mt, config/m68kcoff.mt: Remove. 109960484Sobrien * config/m88kcoff.mt: Remove. 110060484Sobrien * config/sco5.mt: Remove. 110160484Sobrien * configure, config.in, Makefile.in: Rebuild. 110260484Sobrien 110360484Sobrien * Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to 110460484Sobrien further try to circumvent the .y.h rule. 110560484Sobrien * Makefile.in: Rebuild. 110660484Sobrien 110760484SobrienTue Aug 5 12:32:07 1997 Ian Lance Taylor <ian@cygnus.com> 110860484Sobrien 110960484Sobrien * Makefile.am: New file, based on old Makefile.in. 111060484Sobrien * acinclude.m4: New file, from old aclocal.m4. 111160484Sobrien * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove 111260484Sobrien shared library handling; now handled by libtool. Replace 111360484Sobrien AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, 111460484Sobrien AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE, 111560484Sobrien AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT. 111660484Sobrien * config.in: New file, created by autoheader. 111760484Sobrien * conf.in: Remove. 111860484Sobrien * acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN. 111960484Sobrien * stamp-h.in: New file. 112060484Sobrien * as.c (print_version_id): Change GAS_VERSION to VERSION. 112160484Sobrien (parse_args): Likewise. 112260484Sobrien * config/obj-vms.c: (Write_VMS_MHD_Records): Likewise. 112360484Sobrien * doc/Makefile.am: New file, based on old doc/Makefile.in. 112460484Sobrien * Makefile.in, doc/Makefile.in: Now built with automake. 112560484Sobrien * aclocal.m4: Now built with aclocal. 112660484Sobrien * configure: Rebuild. 112760484Sobrien 112860484Sobrien * cond.c (s_else): If not listing false conditionals, turn listing 112960484Sobrien off in the false branch of the else. 113060484Sobrien 113160484SobrienMon Aug 4 11:28:35 1997 Ian Lance Taylor <ian@cygnus.com> 113260484Sobrien 113360484Sobrien * config/tc-mips.c (macro): Fix handling of a double load from a 113460484Sobrien symbol plus an offset. 113560484Sobrien 113660484Sobrien * ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which 113760484Sobrien has an associated external symbol. 113860484Sobrien 113960484SobrienSun Aug 3 23:23:59 1997 Richard Henderson <rth@cygnus.com> 114060484Sobrien 1141218822Sdim * config/tc-alpha.c (s_alpha_ucons): New function. 1142218822Sdim (md_pseudo_table): Add unaligned data pseudos for DWARF. 1143218822Sdim 114460484SobrienThu Jul 31 15:13:43 1997 Jeffrey A Law (law@cygnus.com) 114560484Sobrien 114660484Sobrien * config/tc-v850.c (md_assemble): Ignore the rest of the current 114760484Sobrien line if we encounter an error. 114860484Sobrien 114960484Sobrien * config/tc-v850.c (md_assemble): Sign extend constants value 115060484Sobrien for hi and hi0 expressions. 115160484Sobrien (v850_insert_operand): Enable range checking for generic 16bit 115260484Sobrien operands. 115360484Sobrien 115460484SobrienTue Jul 29 14:20:43 1997 Jeffrey A Law (law@cygnus.com) 115560484Sobrien 115660484Sobrien * config/tc-v850.c (md_assemble): Turn on fx_no_overflow for 115760484Sobrien LO16, HI16 and HI16_S relocs. 115860484Sobrien 115960484SobrienMon Jul 28 18:41:41 1997 Rob Savoye <rob@chinadoll.cygnus.com> 116060484Sobrien 1161218822Sdim * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for 1162218822Sdim win32 dependencies. 1163218822Sdim * configure: Regenerated with autoconf 2.12. 1164218822Sdim * Makefile.in: Add $(EXEEXT) to all executables. 116560484Sobrien 116660484SobrienFri Jul 25 10:54:43 1997 Jeffrey A Law (law@cygnus.com) 116760484Sobrien 116889857Sobrien * config/tc-hppa.c (md_apply_fix): Improve warnings for out of range 116960484Sobrien unconditional branches. 117060484Sobrien (hppa_fix_adjustable): Don't adjust anything with a RR% or LR% 117160484Sobrien field selector. 117260484Sobrien 117360484SobrienThu Jul 24 15:21:49 1997 Doug Evans <dje@canuck.cygnus.com> 117460484Sobrien 117589857Sobrien * config/tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert. 117660484Sobrien 117760484SobrienThu Jul 24 17:51:29 1997 Ian Lance Taylor <ian@cygnus.com> 117860484Sobrien 117960484Sobrien * macro.c (define_macro): Make sure the index is in range before 118060484Sobrien checking for '('. 118160484Sobrien 118260484SobrienThu Jul 24 12:13:19 1997 Fred Fish <fnf@cygnus.com> 118360484Sobrien 118460484Sobrien * config/tc-tic80.c (build_insn): Remove "extended" and replace with 1185218822Sdim "fx" and "fxfrag". Add "ffrag". Change code to initialize and use 118660484Sobrien the right f/ffrag and fx/fxfrag pairs since instruction may be split 1187218822Sdim across frags. 118860484Sobrien 118960484SobrienTue Jul 22 18:38:56 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> 119060484Sobrien 119160484Sobrien * config/te-go32.h (USE_ALIGN_PTWO): Define. 119260484Sobrien * config/tc-i386.c (md_pseudo_table): If USE_ALIGN_PTWO is 119360484Sobrien defined, use s_align_ptwo for .align. 119460484Sobrien * configure.in (i386-*-msdosdjgpp*): New target. 119560484Sobrien (i386-*-go32*): Set em to go32 and targ to coffgo32. 119660484Sobrien * configure: Rebuild. 119760484Sobrien 119860484SobrienTue Jul 22 12:41:40 1997 Doug Evans <dje@canuck.cygnus.com> 119960484Sobrien 120060484Sobrien * config/tc-sparc.c (last_opcode): New static local. 120160484Sobrien (md_assemble): Don't issue "FP branch in delay slot" warning if 120260484Sobrien the delay slot has been annulled. 120360484Sobrien 120460484SobrienTue Jul 22 13:25:13 1997 Ian Lance Taylor <ian@cygnus.com> 120560484Sobrien 120660484Sobrien * config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc 120760484Sobrien code if BFD_ASSEMBLER. 120860484Sobrien 120960484SobrienMon Jul 21 08:57:17 1997 Jeffrey A Law (law@cygnus.com) 121060484Sobrien 121160484Sobrien * config/tc-v850.c (system_registers): Fix ordering of registers. 121260484Sobrien 121360484SobrienTue Jul 15 16:29:54 1997 Fred Fish <fnf@cygnus.com> 121460484Sobrien 121560484Sobrien * config/tc-tic80.c (build_insn): Initialize extended word to zero 121660484Sobrien when it will be filled in later by relocation information. 121760484Sobrien 121860484SobrienMon Jul 14 23:10:58 1997 Ian Lance Taylor <ian@cygnus.com> 121960484Sobrien 122060484Sobrien * config/tc-mips.c (macro_build): Restore check of fmt argument. 122160484Sobrien (mips_ip): Fix ISA checks. 122260484Sobrien 122360484SobrienMon Jul 14 19:30:55 1997 Fred Fish <fnf@cygnus.com> 122460484Sobrien 122560484Sobrien * config/tc-tic80.c (build_insn): Fix endianness problem with 122660484Sobrien O_big operands. 122760484Sobrien 122860484SobrienSun Jul 13 20:43:46 1997 Ian Lance Taylor <ian@cygnus.com> 122960484Sobrien 123060484Sobrien * config/tc-mips.c (check_absolute_expr): Change warning to 123160484Sobrien error. 123260484Sobrien 123360484SobrienFri Jul 11 10:18:47 1997 Jeffrey A Law (law@cygnus.com) 123460484Sobrien 123560484Sobrien * config/tc-mips.c (macro_build): Refine code to check if an 123660484Sobrien instruction is available on a particular cpu variant. 123760484Sobrien (mips_ip): Likewise. 123860484Sobrien 123960484SobrienMon Jul 7 22:53:08 1997 Ian Lance Taylor <ian@cygnus.com> 124060484Sobrien 124160484Sobrien * config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef 124260484Sobrien OBJ_AOUT to ifdef OBJ_ELF. 124360484Sobrien (md_apply_fix3): When mangling 32 bit PC relative reloc for 124460484Sobrien BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE 124560484Sobrien case. 124660484Sobrien * write.c (fixup_segment): Change special case for i386-coff to 1247218822Sdim not apply for i386-pe. 124860484Sobrien * config/obj-coff.c (coff_adjust_section_syms): Only count fixups 124960484Sobrien which were not done. 125060484Sobrien (coff_frob_file_after_relocs): Rename from coff_frob_file. 125160484Sobrien (coff_format_ops): Initialize frob_file_after_relocs field rather 125260484Sobrien than frob_file field. 125360484Sobrien * config/obj-coff.h (coff_frob_file): Don't declare. 125460484Sobrien (coff_frob_file_after_relocs): Declare. 125560484Sobrien (obj_frob_file): Don't define. 125660484Sobrien (obj_frob_file_after_relocs): Define. 125760484Sobrien * configure.in: Set bfd_gas to yes for i386-*-cygwin32. 125860484Sobrien * configure: Rebuild. 125960484Sobrien 126060484SobrienWed Jul 2 12:05:00 1997 Ian Lance Taylor <ian@cygnus.com> 126160484Sobrien 126260484Sobrien * config/obj-coff.c (fixup_segment): Never subtract section 126360484Sobrien address from PC relative reloc which will be fully resolved. 126460484Sobrien 126560484SobrienTue Jul 1 15:23:07 1997 Jeffrey A Law (law@cygnus.com) 126660484Sobrien 126760484Sobrien * ecoff.c (page_type): Renamed from page_t to avoid conflict 126860484Sobrien with hpux10 header files. 126960484Sobrien 127060484SobrienMon Jun 30 12:27:28 1997 Ian Lance Taylor <ian@cygnus.com> 127160484Sobrien 127260484Sobrien From Jason Merrill <jason@cygnus.com>: 127360484Sobrien * read.c (do_align): If BFD_ASSEMBLER, only use NOP_OPCODE if 127460484Sobrien SEC_CODE is set. 127560484Sobrien * config/tc-i386.h (md_maybe_text): Define. 127660484Sobrien (md_do_align): Use md_maybe_text. 127760484Sobrien 127860484SobrienFri Jun 27 19:15:27 1997 Michael Meissner <meissner@cygnus.com> 127960484Sobrien 128060484Sobrien * config/tc-ppc.h (tc_fix_adjustable): Only check for GOT type 128160484Sobrien relocations, don't check for symbol being external, weak, etc. 128260484Sobrien 128360484SobrienMon Jun 16 19:12:51 1997 Geoff Keating <geoffk@ozemail.com.au> 128460484Sobrien 128560484Sobrien * config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler 128660484Sobrien calculate relocations to any external symbol, because we might be 128760484Sobrien linking a shared object and the symbol might be overriden or moved 128860484Sobrien (for instance, moved into a static executable's .bss section). 128960484Sobrien (GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness. 129060484Sobrien 129160484Sobrien * config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't 129260484Sobrien be calculated by the assembler. 129360484Sobrien 129460484Sobrien * config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch 129560484Sobrien whose destination lies in the same file, by ignoring the @plt or 129660484Sobrien @local and aiming the branch at its destination. 129760484Sobrien 129860484SobrienMon Jun 16 13:59:18 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 129960484Sobrien 130060484Sobrien * symbols.c (copy_symbol_attributes): Copy BSF_OBJECT flag. 130160484Sobrien * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy size 130260484Sobrien expression. 130360484Sobrien 130460484Sobrien * config/obj-multi.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define instead 130560484Sobrien of obj_copy_symbol_attributes. 130660484Sobrien 130760484SobrienMon Jun 16 12:45:56 1997 Ian Lance Taylor <ian@cygnus.com> 130860484Sobrien 130960484Sobrien * config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a 131060484Sobrien signed operand, sign extend a 32 bit value to the host size. 131160484Sobrien 131260484Sobrien * Makefile.in (CFLAGS): Subsitute from configure script. From 131360484Sobrien Jeff Makey <jeff@cts.com>. 131460484Sobrien 131560484Sobrien * config/tc-i386.c (i386_operand): Use alloca rather than a fixed 131660484Sobrien buffer size to make a copy of the symbol. 131760484Sobrien 131860484Sobrien * Makefile.in (OBJS): Put @extra_objects@ on the same line as 131960484Sobrien macro.o. 132060484Sobrien 132160484SobrienThu Jun 12 12:16:20 1997 Ian Lance Taylor <ian@cygnus.com> 132260484Sobrien 132360484Sobrien * write.c (write_object_file): In non BFD_ASSEMBLER code, as we 132460484Sobrien step through the frags calling cvt_frag_to_fill, switch to 132560484Sobrien SEG_DATA when we reach data_frag_root. 132660484Sobrien 132760484SobrienTue Jun 10 17:08:34 1997 Jeffrey A Law (law@cygnus.com) 132860484Sobrien 132960484Sobrien * config/tc-mn10300.c (md_assemble): Allow an empty register 133060484Sobrien list for instructions which use register lists. 133160484Sobrien 133260484SobrienTue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 133360484Sobrien 133460484Sobrien * config/tc-arm.c (md_apply_fix3): Make temp unsigned long. 133560484Sobrien 133660484Sobrien * config/tc-arm.c (arm_adjust_symtab): Only set storage classes if 133760484Sobrien OBJ_COFF. 133860484Sobrien 133960484Sobrien * config/tc-arm.c: Add prototypes for many static functions. 134060484Sobrien (struct asm_opcode ): Add prototypes for parms field. 134160484Sobrien (struct thumb_opcode ): Likewise. 134260484Sobrien (fp_op2): Remove unused flags parameter. 134360484Sobrien (output_inst): Make static. 134460484Sobrien (arm_after_pass_hook): Remove unused ignore parameter. 134560484Sobrien * config/tc-arm.h (arm_after_pass_hook): Declare. 134660484Sobrien (arm_start_line_hook): Declare. 134760484Sobrien (arm_frob_label): Declare. 134860484Sobrien 134960484SobrienMon Jun 9 12:55:45 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 135060484Sobrien 135160484Sobrien * depend.c (wrap_output): new prototype. 135260484Sobrien 135360484SobrienMon Jun 9 12:52:44 1997 Ian Lance Taylor <ian@cygnus.com> 135460484Sobrien 135560484Sobrien * config/tc-sh.c (md_apply_fix): Check for overflow. 135660484Sobrien 135760484Sobrien * config/tc-m68k.c (md_section_align): If a.out and BFD, force 135860484Sobrien section size to be aligned. 135960484Sobrien 136060484SobrienFri Jun 6 17:15:55 1997 Ian Lance Taylor <ian@cygnus.com> 136160484Sobrien 136260484Sobrien * config/tc-sh.h (md_cons_align): Define. 136360484Sobrien (sh_cons_align): Declare. 136460484Sobrien * config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong. 136560484Sobrien (sh_no_align_cons): New static variable. 136660484Sobrien (s_uacons): New static function. 136760484Sobrien (sh_cons_align): New function. 136860484Sobrien (sh_handle_align): Warn about misaligned data. 136960484Sobrien * doc/c-sh.texi: Document .uaword and .ualong. 137060484Sobrien 137160484SobrienThu Jun 5 15:38:17 1997 Ian Lance Taylor <ian@cygnus.com> 137260484Sobrien 137360484Sobrien * macro.c (macro_expand): In MRI mode, treat single quote as a 137460484Sobrien separator character when checking for a positional argument. 137560484Sobrien 137660484SobrienTue Jun 3 16:15:13 1997 Nick Clifton <nickc@cygnus.com> 137760484Sobrien 137860484Sobrien * config/tc-arm.c (md_parse_option): Merge in changes from 137960484Sobrien armT-970328-branch. 138060484Sobrien 138160484Sobrien * config/tc-arm.h: Merge in changes from armT-970328-branch. 138260484Sobrien 138360484Sobrien * configure.in (emulations): Add Thumb architecture support from 138460484Sobrien armT-9703-28-branch. 138560484Sobrien 138660484SobrienMon Jun 2 16:25:07 1997 Nick Clifton <nickc@cygnus.com> 138760484Sobrien 138860484Sobrien * doc/all.texi: Add enabling of ARM documentation. 138960484Sobrien 139060484Sobrien * doc/as.texinfo: Add ARM documentation from armT-970328-branch. 139160484Sobrien 139260484SobrienMon Jun 2 11:55:12 1997 Gavin Koch <gavin@cygnus.com> 139360484Sobrien 139460484Sobrien * config/tc-mips.c: Added r3900 support. 139560484Sobrien 139660484SobrienThu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu> 139760484Sobrien 139860484Sobrien * as.c: (parse_args) `-t' option requires an argument. 139960484Sobrien 140060484SobrienWed May 28 15:45:07 1997 Nick Clifton <nickc@cygnus.com> 140160484Sobrien 140260484Sobrien * config/tc-arm.c (md_begin): Change call to 140360484Sobrien coff_arm_bfd_set_private_flags() to a call to 1404218822Sdim bfd_set_private_flags(). 140560484Sobrien 140660484SobrienWed May 28 16:17:34 1997 Ian Lance Taylor <ian@cygnus.com> 140760484Sobrien 140860484Sobrien * Makefile.in: Rebuild dependencies. 140960484Sobrien 141060484Sobrien * config/tc-i386.c (tc_gen_reloc): Don't try to convert the type 1411218822Sdim of a BFD_RELOC_RVA reloc. 141260484Sobrien 141360484SobrienWed May 28 10:48:14 1997 Jeffrey A Law (law@cygnus.com) 141460484Sobrien 141560484Sobrien * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps. 141660484Sobrien (hppa_force_relocation): Force a relocation for an absolute 141760484Sobrien call/jump. 141860484Sobrien 141960484SobrienMon May 26 13:24:25 1997 Ian Lance Taylor <ian@cygnus.com> 142060484Sobrien 142160484Sobrien * doc/as.texinfo: Don't use @value in section names or index 142260484Sobrien entries; it confuses texinfo.tex. 142360484Sobrien 142460484SobrienFri May 23 00:09:35 1997 Tom Tromey <tromey@cygnus.com> 142560484Sobrien 142660484Sobrien * doc/as.texinfo: Updated for -MD option. 142760484Sobrien * Makefile.in (CFILES): Added depend.c. 142860484Sobrien (OBJS): Added depend.o. 142960484Sobrien * as.h (start_dependencies, register_dependency, 143060484Sobrien print_dependencies): New declarations. 143160484Sobrien * depend.c: New file. 143260484Sobrien * as.c (parse_args): Added -MD option. 143360484Sobrien (main): Call print_dependencies. 143460484Sobrien (show_usage): Added help for -MD. 143560484Sobrien * read.c (s_app_file): Call register_dependency. 143660484Sobrien (s_include): Call register_dependency when file is found. 143760484Sobrien (read_a_source_file): Call register_dependency. 143860484Sobrien 143960484SobrienWed May 21 17:39:28 1997 Ian Lance Taylor <ian@cygnus.com> 144060484Sobrien 144160484Sobrien * config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the 144260484Sobrien section address to the symbol value. 144360484Sobrien 144460484SobrienTue May 20 11:23:31 1997 Gavin Koch <gavin@cygnus.com> 144560484Sobrien 144660484Sobrien * config/tc-mips.c (macro_build,mips_ip): Move the INSN_ISA field 144760484Sobrien into the new membership field. 144860484Sobrien 144960484SobrienThu May 15 10:00:53 1997 Nick Clifton <nickc@cygnus.com> 145060484Sobrien 145160484Sobrien * config/tc-arm.c (md_begin): If no cpu type is specified on the 145260484Sobrien command line then the ARM7 is now chosen by default when setting 145360484Sobrien the BFD machine and architecture. 145460484Sobrien 145560484SobrienWed May 14 09:54:53 1997 Nick Clifton <nickc@cygnus.com> 145660484Sobrien 145760484Sobrien * config/tc-arm.c (global variables): Added 'uses_apcs_26' flag to 145860484Sobrien hold APCS selection. 1459218822Sdim (md_begin): Added code to generate flags to be set into the COFF 146060484Sobrien header and the calls to the BFD functions to do this. 1461218822Sdim (md_parse_option, md_show_usage): Added new command line 146260484Sobrien options -mapcs-32, -mapcs-26, -marmv2, -marmv2a, -marmv3, 1463218822Sdim -marmv3m, -marmv4, -marmv4t. 146460484Sobrien 146589857Sobrien * config/tc-arm.h (LOCAL_LABEL): Removed the definition of this macro 146660484Sobrien as it is never used. 146760484Sobrien 146860484SobrienTue May 13 22:26:14 1997 Jeffrey A Law (law@cygnus.com) 146960484Sobrien 147060484Sobrien * config/tc-mn10200.c (md_convert_frag): Prefix temporary 147160484Sobrien label name with ".". 147260484Sobrien * config/tc-mn10300.c (md_convert_frag): Likewise. 147360484Sobrien 147460484SobrienTue May 13 14:44:39 1997 Ian Lance Taylor <ian@cygnus.com> 147560484Sobrien 147660484Sobrien * config/tc-mips.c (set_at): Check for bignum. 147760484Sobrien (check_absolute_expr, macro, mips16_macro): Likewise. 147860484Sobrien 147960484SobrienTue May 13 10:45:56 1997 Fred Fish <fnf@cygnus.com> 148060484Sobrien 148160484Sobrien * config/tc-tic80.c (md_apply_fix): Check PC relative relocations 148260484Sobrien for overflow/underflow, only insert lower 15 bits into instruction. 148360484Sobrien 148460484SobrienMon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 148560484Sobrien 148660484Sobrien * config/tc-i386.c (pi): Check for RegMMX. 148760484Sobrien 148860484SobrienThu May 8 11:10:15 1997 Ian Lance Taylor <ian@cygnus.com> 148960484Sobrien 149060484Sobrien * expr.c (expr): When subtracting values in the same frag, 149160484Sobrien subtract X_add_number rather than adding it. 149260484Sobrien 149360484SobrienWed May 7 15:39:48 1997 Ian Lance Taylor <ian@cygnus.com> 149460484Sobrien 149560484Sobrien * config/obj-coff.c (write_object_file): Just pass NULL to 1496218822Sdim md_do_align, not the address of a char holding NOP_OPCODE. 149760484Sobrien 149860484Sobrien * config/tc-mips.c (macro): Handle constants for M_LI_D and 149960484Sobrien M_LI_DD. 150060484Sobrien (mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather 150160484Sobrien than an address if the floating point value looks sufficiently 150260484Sobrien simple. 150360484Sobrien 150460484SobrienTue May 6 12:18:09 1997 Ian Lance Taylor <ian@cygnus.com> 150560484Sobrien 150660484Sobrien * config/tc-i386.c (md_section_align): If a.out and BFD, force 150760484Sobrien section size to be aligned. 150860484Sobrien 150960484SobrienMon May 5 17:16:55 1997 Ian Lance Taylor <ian@cygnus.com> 151060484Sobrien 151160484Sobrien * cond.c: Include "macro.h". 151260484Sobrien (struct conditional_frame): Add macro_nest field. 151360484Sobrien (initialize_cframe): Initialize macro_nest. 151460484Sobrien (cond_finish_check): Add nest parameter. Change all callers. 151560484Sobrien (cond_exit_macro): New function. 151660484Sobrien * as.h (cond_finish_check): Update declaration. 151760484Sobrien (cond_exit_macro): Declare. 151860484Sobrien * input-scrub.c (macro_nest): Make globally visible. 151960484Sobrien (input_scrub_next_buffer): Call cond_finish_check. 152060484Sobrien * macro.h (macro_nest): Declare. 152160484Sobrien * read.c (s_mexit): Call cond_exit_macro. 152260484Sobrien 152360484Sobrien * config/tc-i386.h (RegMMX): Define. 152460484Sobrien * config/tc-i386.c (pi): Check for all register types. 152560484Sobrien (type_names): Add RegMMX. 152660484Sobrien (md_assemble): Handle RegMMX. 152760484Sobrien 152860484SobrienWed Apr 30 12:47:00 1997 Manfred Hollstein <manfred@s-direktnet.de> 152960484Sobrien 153060484Sobrien * config/obj-coff.c (c_section_symbol): Clear the LOCAL bit #ifdef 153160484Sobrien TE_DELTA. 153260484Sobrien 153360484SobrienTue Apr 29 20:23:10 1997 Jim Wilson <wilson@cygnus.com> 153460484Sobrien 153560484Sobrien * config/tc-mips.c (nopic_need_relax): Add new parameter 153660484Sobrien before_relaxing. Use it when testing ecoff_extern_size. 153760484Sobrien (load_address, macro, md_estimate_size_before_relax): Fix all 153860484Sobrien callers. 153960484Sobrien 154060484SobrienTue Apr 29 19:54:36 1997 Richard Henderson <rth@tamu.edu> 154160484Sobrien 154260484Sobrien * config/obj-elf.c (elf_pseudo_table): Add "subsection". 1543218822Sdim (obj_elf_subsection): New static function. 154460484Sobrien 154560484SobrienTue Apr 29 19:52:47 1997 Ian Lance Taylor <ian@cygnus.com> 154660484Sobrien 154760484Sobrien * config/obj-coff.c (coff_header_append): Don't reset string_size 154860484Sobrien each time through the loop. 154960484Sobrien 155060484SobrienFri Apr 25 14:17:46 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 155160484Sobrien 155260484Sobrien * Makefile.in (DISTSTUFF): Add itbl-parse.h. 155360484Sobrien 155460484SobrienFri Apr 25 12:03:15 1997 Ian Lance Taylor <ian@cygnus.com> 155560484Sobrien 155660484Sobrien * doc/internals.texi (Porting GAS): Correct documentation for 155760484Sobrien current configure handling of targ-cpu.h, et. al. 155860484Sobrien (CPU backend): Document listing macros. 155960484Sobrien 156060484Sobrien * listing.c (data_buffer): Set size based on other listing macros, 156160484Sobrien rather than always using 100. 156260484Sobrien (data_buffer_size): Remove static variable. 156360484Sobrien (calc_hex): Make data_buffer_size a local variable. Don't leave 156460484Sobrien any slop when filling data_buffer. 156560484Sobrien 156660484SobrienMon Apr 21 15:33:19 1997 Ian Lance Taylor <ian@cygnus.com> 156760484Sobrien 156860484Sobrien * doc/c-mips.texi: Document .set autoextend. 156960484Sobrien 157060484SobrienSat Apr 19 23:09:25 1997 Niklas Hallqvist <niklas@petra.appli.se> 157160484Sobrien 157260484Sobrien * configure.in (i386-*-openbsd*, m68k-*-openbsd*, 157360484Sobrien mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*, 157460484Sobrien sparc-*-openbsd*): New targets. 157560484Sobrien * configure: Rebuild. 157660484Sobrien 157760484SobrienSat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com> 157860484Sobrien 157960484Sobrien * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT 158060484Sobrien for all undefined symbols. 158160484Sobrien 158260484SobrienFri Apr 18 13:37:35 1997 Ian Lance Taylor <ian@cygnus.com> 158360484Sobrien 158460484Sobrien * config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects 158560484Sobrien correctly. 158660484Sobrien 158760484SobrienFri Apr 18 11:51:35 1997 Niklas Hallqvist <niklas@appli.se> 158860484Sobrien 158960484Sobrien * configure.in (alpha*-*-openbsd*): New target. 159060484Sobrien * configure: Rebuild. 159160484Sobrien 159260484SobrienThu Apr 17 13:59:47 1997 Per Fogelstrom <pefo@openbsd.org> 159360484Sobrien 159460484Sobrien * configure.in (mips-*-openbsd*): New target. 159560484Sobrien * configure: Rebuild. 159660484Sobrien 159760484SobrienWed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com> 159860484Sobrien 159960484Sobrien * config/tc-d30v.c (parallel_ok): Fix parallel checking 160060484Sobrien for instructions using conditional execution. 160160484Sobrien 160260484SobrienTue Apr 15 18:11:44 1997 Gavin Koch <gavin@cygnus.com> 160360484Sobrien 160460484Sobrien * config/tc-mips.c (insn_uses_reg): Correct test for fpr pairs. 160560484Sobrien 160660484SobrienTue Apr 15 13:04:47 1997 Ian Lance Taylor <ian@cygnus.com> 160760484Sobrien 160860484Sobrien * Makefile.in (srcroot): Remove. 1609218822Sdim (INSTALL): Set to @INSTALL@. 161060484Sobrien (INSTALL_XFORM, INSTALL_XFORM1): Remove. 161160484Sobrien (all, dvi): Don't set srcroot. 161260484Sobrien (install): Depend upon as.new, gasp.new, and installdirs. Use 161360484Sobrien $(program_transform_name) directly, rather than using 161460484Sobrien $(INSTALL_XFORM) and $(INSTALL_XFORM1). 161560484Sobrien (installdirs): New target. 161660484Sobrien * doc/Makefile.in (INSTALL_XFORM1): Remove. 161760484Sobrien (install): Depend upon installdirs. Use $(program_transform_name) 161860484Sobrien directly, rather than using $(INSTALL_XFORM) and 161960484Sobrien $(INSTALL_XFORM1). 162060484Sobrien (installdirs): New target. 162160484Sobrien (install-info-as): Run mkinstalldirs. 162260484Sobrien (install-info-gasp): Likewise. 162360484Sobrien 162460484SobrienMon Apr 14 11:59:08 1997 Ian Lance Taylor <ian@cygnus.com> 162560484Sobrien 162660484Sobrien * Makefile.in (INSTALL): Change install.sh to install-sh. 162760484Sobrien 162860484Sobrien * symbols.c (resolve_symbol_value): Check for division by zero. 162960484Sobrien 163060484Sobrien From Thomas Graichen <graichen@rzpd.de>: 163160484Sobrien * Makefile.in: Always use $(SHELL) when running move-if-change. 163260484Sobrien * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. 163360484Sobrien * configure: Rebuild. 163460484Sobrien 163560484SobrienThu Apr 10 14:40:00 1997 Doug Evans <dje@canuck.cygnus.com> 163660484Sobrien 163760484Sobrien * cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand. 163860484Sobrien New argument `want'. Update enum cgen_parse_operand_result values. 163960484Sobrien Initialize if CGEN_PARSE_OPERAND_INIT. 164060484Sobrien * config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn. 164160484Sobrien (md_assemble): Call cgen_asm_init_parse. 164260484Sobrien Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed. 164360484Sobrien 164460484SobrienWed Apr 9 11:49:41 1997 Ian Lance Taylor <ian@cygnus.com> 164560484Sobrien 164660484Sobrien * config/tc-m68k.c (m68k_ip): Handle #j. 164760484Sobrien 164860484SobrienTue Apr 8 16:37:57 1997 Jeffrey A Law (law@cygnus.com) 164960484Sobrien 165060484Sobrien * config/tc-mn10300.c (md_convert_frag): Create fixup at the 165160484Sobrien right address for call label:32,regs,imm. 165260484Sobrien 165360484SobrienMon Apr 7 14:58:22 1997 Jeffrey A Law (law@cygnus.com) 165460484Sobrien 165560484Sobrien * config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return 165660484Sobrien zero. 165760484Sobrien * config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the 165860484Sobrien symbol for OBJ_ELF anymore. 165960484Sobrien 166060484SobrienMon Apr 7 10:54:59 1997 Doug Evans <dje@canuck.cygnus.com> 166160484Sobrien 166260484Sobrien * Makefile.in: Regenerate dependencies. 1663218822Sdim (TARG_CPU): New variable. 166460484Sobrien (cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h. 166560484Sobrien (.dep1): Delete creating of cgen-opc.h. 166660484Sobrien (.tcdep): Put proper contents in cgen-opc.h. 166760484Sobrien * configure.in (m32r): Delete setting of extra_files, extra_links. 166860484Sobrien (AC_OUTPUT): Create cgen-opc.h. 166960484Sobrien * configure: Regenerated. 167060484Sobrien 167160484SobrienSat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de> 167260484Sobrien 167360484Sobrien * makefile.vms: Update to build gasp.exe. 167460484Sobrien 167560484SobrienFri Apr 4 16:10:02 1997 Doug Evans <dje@canuck.cygnus.com> 167660484Sobrien 167760484Sobrien * write.c (relax_frag): Make non-static. 167860484Sobrien * write.h (relax_frag): Add prototype for. 167960484Sobrien * config/tc-m32r.h (md_do_align): New arg `max'. 168060484Sobrien * config/tc-m32r.c (m32r_do_align): Likewise. 168160484Sobrien Update calls to frag_align, frag_align_pattern. 168260484Sobrien (fill_insn): Update call to m32r_do_align. 168360484Sobrien (m32r_scomm): Update call to frag_align. 168460484Sobrien 168560484Sobrien * config/tc-m32r.[ch]: New files. 168660484Sobrien * cgen.c: New file. 168760484Sobrien * Makefile.in (CPU_TYPES): Add m32r. 168860484Sobrien (TARGET_CPU_CFILES): Add tc-m32r.c. 168960484Sobrien (TARGET_CPU_HFILES): Add tc-m32r.h. 169060484Sobrien (DISTCLEAN_HERE): Add cgen-opc.h. 169160484Sobrien (.dep1,.tcdep): Create empty cgen-opc.h. 169260484Sobrien (cgen.o): Add dependencies. 169360484Sobrien (dependencies): Regenerate. 169460484Sobrien * as.h (struct frag): New member fr_targ. 169560484Sobrien (fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k. 169660484Sobrien * conf.in (USING_CGEN): New macro. 169760484Sobrien * configure.in (m32r-*-*): Add entry for. 169860484Sobrien Add cgen.o to extra_objects. 169960484Sobrien * configure: Regenerate. 170060484Sobrien * frags.c (frag_var): fr_pcrel_adjust renamed to 170160484Sobrien fr_targ.ns32k.pcrel_adjust. fr_bsr renamed to fr_targ.ns32k.bsr. 170260484Sobrien (frag_variant): Likewise. 170360484Sobrien * write.c (relax_frag): Likewise. 170460484Sobrien * config/tc-ns32k.c (*): Likewise. 170560484Sobrien 170660484SobrienFri Apr 4 13:26:10 1997 Ian Lance Taylor <ian@cygnus.com> 170760484Sobrien 170860484Sobrien * config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!', 170960484Sobrien rather than for any end of line character. 171060484Sobrien 171160484Sobrien * config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails, 171260484Sobrien call abort (i.e., as_abort) rather than crashing. 171360484Sobrien 171460484Sobrien * config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of 171560484Sobrien OBJ_ELF, rather than of S_GET_OTHER. 171660484Sobrien 171760484Sobrien * Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak. 171860484Sobrien 171960484SobrienThu Apr 3 13:16:18 1997 Ian Lance Taylor <ian@cygnus.com> 172060484Sobrien 172160484Sobrien * Makefile.in (VERSION): Set to 2.8.1. 172260484Sobrien 172360484Sobrien * Branched binutils 2.8. 172460484Sobrien 172560484SobrienWed Apr 2 12:24:10 1997 Ian Lance Taylor <ian@cygnus.com> 172660484Sobrien 172760484Sobrien * COPYING: Update FSF address. 172860484Sobrien 172960484Sobrien * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL. 173060484Sobrien 173160484SobrienTue Apr 1 18:29:47 1997 Jim Wilson <wilson@cygnus.com> 173260484Sobrien 173360484Sobrien * config/tc-mips.c (md_begin): Don't set interlocks for 4100. 173460484Sobrien 173560484SobrienTue Apr 1 16:24:28 1997 Klaus Kaempf <kkaempf@progis.de> 173660484Sobrien 173760484Sobrien * config-gas.com: Update to handle both vax and alpha. 173860484Sobrien * makefile.vms: Update to use config-gas. 173960484Sobrien * conf-a-gas.com: Remove file. 174060484Sobrien 174160484SobrienTue Apr 1 16:08:21 1997 Ian Lance Taylor <ian@cygnus.com> 174260484Sobrien 174360484Sobrien * Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and 174460484Sobrien itbl-lex.c dependencies. Remove rules for itbl-lex.o, 174560484Sobrien itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule. 174660484Sobrien 174760484SobrienTue Apr 1 11:25:56 1997 Michael Meissner <meissner@cygnus.com> 174860484Sobrien 174960484Sobrien * config/tc-tic80.c (line_comment_char): Make '#' start comments 175060484Sobrien at the beginning of a line for compatibility with .S files where 175160484Sobrien cpp leaves the filename transitions beginning with '#'. 175260484Sobrien 175360484SobrienTue Apr 1 00:07:30 1997 Ian Lance Taylor <ian@cygnus.com> 175460484Sobrien 175560484Sobrien * config/tc-m68k.c: Only compile tc_coff_symbol_emit_hook and 175660484Sobrien tc_coff_sizemachdep if OBJ_COFF. 175760484Sobrien 175860484SobrienMon Mar 31 23:53:44 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 175960484Sobrien 176060484Sobrien * config/tc-ppc.c (register_name): Declare. 176160484Sobrien 176260484SobrienMon Mar 31 16:31:04 1997 Joel Sherrill <joel@oarcorp.com> 176360484Sobrien 1764218822Sdim * configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*. 176560484Sobrien * configure: Rebuild. 176660484Sobrien 176760484SobrienMon Mar 31 14:15:19 1997 Ian Lance Taylor <ian@cygnus.com> 176860484Sobrien 176960484Sobrien * config/tc-mips.c (mips_pseudo_table): Add "stabn". 177060484Sobrien (mips16_mark_labels): New static function. 177160484Sobrien (append_insn): Call mips16_mark_labels. 177260484Sobrien (mips_emit_delays): Likewise. 177360484Sobrien (s_insn): Likewise. Don't call mips_clear_insn_labels. 177460484Sobrien (s_mips_stab): New static function. 177560484Sobrien 177660484Sobrien * configure.in: Use ELF for mips-*-gnu*. 177760484Sobrien * configure: Rebuild. 177860484Sobrien 177960484SobrienMon Mar 31 14:01:40 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 178060484Sobrien 178160484Sobrien * config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if 178260484Sobrien TE_DELTA. 178360484Sobrien 178460484SobrienFri Mar 28 18:03:19 1997 Alan Modra <alan@spri.levels.unisa.edu.au> 178560484Sobrien 178660484Sobrien * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set, 178760484Sobrien set OPCODES_LIB to empty. 178860484Sobrien * configure: Rebuild. 178960484Sobrien 179060484SobrienFri Mar 28 15:25:24 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 179160484Sobrien 179260484Sobrien * configure.in (sparc-*-linux*aout*, sparc-*-linux*): New 179360484Sobrien targets. 179460484Sobrien * configure: Rebuild. 179560484Sobrien 179660484SobrienFri Mar 28 13:08:33 1997 Ian Lance Taylor <ian@cygnus.com> 179760484Sobrien 179860484Sobrien * itbl-parse.y (yyerror): Make static. Declare. 179960484Sobrien 180060484Sobrien From Ralf Baechle <ralf@gnu.ai.mit.edu>: 180160484Sobrien * configure.in: Set emulations for mips-*-linux*-*. 180260484Sobrien * configure: Rebuild. 180360484Sobrien 180460484Sobrien * config/tc-mips.c (struct mips_set_options): Define. 180560484Sobrien (mips_opts): New static variable. 180660484Sobrien (mips_isa): Remove. Now a field in mips_opts. Change all 180760484Sobrien references. 180860484Sobrien (mips16, mips16_autoextend, mips_warn_about_macros): Likewise. 180960484Sobrien (mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise. 181060484Sobrien (struct mips_option_stack): Define. 181160484Sobrien (mips_opts_stack): New static variable. 181260484Sobrien (s_mipsset): Add support for .set push and .set pop. 181360484Sobrien * doc/c-mips.texi: Document .set push and .set pop. 181460484Sobrien 181560484Sobrien * config/obj-elf.c (obj_elf_section_change_hook): New function. 181660484Sobrien * config/obj-elf.h (obj_elf_section_change_hook): Declare it. 181760484Sobrien * config/tc-mips.c (s_change_sec): Call it if OBJ_ELF. 181860484Sobrien 181960484SobrienThu Mar 27 12:23:56 1997 Ian Lance Taylor <ian@cygnus.com> 182060484Sobrien 182160484Sobrien * as.c (parse_args): Update copyright date in version message. 182260484Sobrien 182360484Sobrien * Makefile.in (clean-here): Remove dependency files. 182460484Sobrien 182560484Sobrien * read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED. 182660484Sobrien (s_mri_common): Check S_IS_COMMON unconditionally. 182760484Sobrien * symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED. 182860484Sobrien * config/tc-alpha.c (s_alpha_comm): Likewise. 182960484Sobrien * config/tc-mips.c (nopic_need_relax): Likewise. 183060484Sobrien * config/tc-ppc.c (ppc_elf_lcomm): Likewise. 183160484Sobrien (ppc_pe_comm): Likewise. 183260484Sobrien * config/obj-elf.c (obj_elf_common): Likewise. Set segment of 183360484Sobrien common symbol to bfd_com_section_ptr. 183460484Sobrien * config/tc-sparc.c (s_common): Likewise. 183560484Sobrien (tc_gen_reloc): Likewise. 183660484Sobrien 183760484SobrienThu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 183860484Sobrien 183960484Sobrien * config/tc-d30v.c (md_apply_fix3): Get the relocs right. 184060484Sobrien 184160484SobrienWed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org> 184260484Sobrien 184360484Sobrien * config/tc-i386.c (tc_i386_fix_adjustable): Only define if 184460484Sobrien BFD_ASSEMBLER. 184560484Sobrien 184660484SobrienWed Mar 26 11:32:51 1997 Ian Lance Taylor <ian@cygnus.com> 184760484Sobrien 184860484Sobrien * input-scrub.c (input_scrub_next_buffer): Handle very long input 184960484Sobrien lines correctly. 185060484Sobrien 185160484Sobrien * listing.c (print_lines): Add lineno parameter. Change all 185260484Sobrien callers. 185360484Sobrien (listing_listing): Only call calc_hex for the right line. 185460484Sobrien (listing_list): Set the new edict based on the current edict, in 185560484Sobrien order to handle listing commands in macros correctly. 185660484Sobrien 185760484Sobrien * config/tc-mips.c (insn_uses_reg): Map register numbers in mips16 185860484Sobrien instructions. 185960484Sobrien 186060484Sobrien * cond.c (cond_finish_check): New function. 186160484Sobrien * as.h (cond_finish_check): Declare. 186260484Sobrien * as.c (main): Call cond_finish_check. 186360484Sobrien 186460484SobrienTue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 186560484Sobrien 186660484Sobrien * config/tc-d30v.c (md_assemble): If two instructions 186760484Sobrien are supposed to be assembled in parallel and the first one is 186860484Sobrien long, print an error and stop. 186960484Sobrien (md_apply_fix3): Don't calculate absolute relocs. Just write 187060484Sobrien them out. 187160484Sobrien 187260484SobrienMon Mar 24 12:11:18 1997 Ian Lance Taylor <ian@cygnus.com> 187360484Sobrien 187460484Sobrien * config/tc-i386.h (iclrKludge): Define. 187560484Sobrien * config/tc-i386.c (md_assemble): Handle iclrKludge. 187660484Sobrien 187760484Sobrien * config/tc-alpha.h (tc_frob_file_before_adjust): Define if 187860484Sobrien OBJ_ECOFF. 187960484Sobrien (alpha_frob_file_before_adjust): Declare if OBJ_ECOFF. 188060484Sobrien * config/tc-alpha.c (alpha_debug): New static variable. 188160484Sobrien (md_parse_option): Set alpha_debug if -g is seen. 1882218822Sdim (alpha_frob_file_before_adjust): New function if OBJ_ECOFF. 188360484Sobrien 188460484SobrienSun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 188560484Sobrien 188660484Sobrien * config/tc-d30v.c (build_insn): Enable range-checking code. 188760484Sobrien (postfix): Stop at space or comma. 188860484Sobrien (md_assemble): Change error message. 188960484Sobrien 189060484SobrienSat Mar 22 13:44:28 1997 Ian Lance Taylor <ian@cygnus.com> 189160484Sobrien 189260484Sobrien * Makefile.in: Added automatic dependency building. 189360484Sobrien * dep-in.sed: New file. 189460484Sobrien 189560484SobrienFri Mar 21 15:42:37 1997 Ian Lance Taylor <ian@cygnus.com> 189660484Sobrien 189760484Sobrien * config/obj-ieee.c (segment_name): Don't define function if this 189860484Sobrien is a macro. 189960484Sobrien 190060484Sobrien * config/obj-coff.h (DO_STRIP): Don't define. 190160484Sobrien * config/tc-h8300.h (DO_STRIP): Don't define. 190260484Sobrien * config/tc-h8500.h (DO_STRIP): Don't define. 190360484Sobrien * config/tc-w65.h (DO_STRIP): Don't define. 190460484Sobrien * config/tc-z8k.h (DO_STRIP): Don't define. 190560484Sobrien 190660484Sobrien * symbols.c (colon): Call obj_frob_label if it is defined. 190760484Sobrien * config/obj-vms.h (obj_frob_label): Rename from tc_frob_label. 190860484Sobrien 190960484Sobrien * configure.in: Don't set files and links. Don't call 191060484Sobrien AC_LINK_FILES. Substitute te_file. Create targ-cpu.h, 191160484Sobrien obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT. 191260484Sobrien * configure: Rebuild. 191360484Sobrien * Makefile.in (TARG_CPU_C): New variable. 191460484Sobrien (TARG_CPU_O, TARG_CPU_H): New variables. 191560484Sobrien (OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables. 191660484Sobrien (TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables. 191760484Sobrien (SOURCES): Rename from REAL_SOURCES. Delete old definition. 191860484Sobrien (LINKED_SOURCES): Remove. 191960484Sobrien (HEADERS): Rename from REAL_HEADERS. Delete old definition. 192060484Sobrien (LINKED_HEADERS): Remove. 192160484Sobrien (OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc. 192260484Sobrien ($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than 192360484Sobrien targ-cpu.h, etc. 192460484Sobrien ($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets. 192560484Sobrien (targ-cpu.o, obj-format.o, atof-targ.o): Remove targets. 192660484Sobrien (itbl-cpu.h): Remove target. 192760484Sobrien (DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c, 192860484Sobrien atof-targ.h. 192960484Sobrien 193060484SobrienThu Mar 20 19:18:58 1997 Ian Lance Taylor <ian@cygnus.com> 193160484Sobrien 193260484Sobrien * doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro. 193360484Sobrien 193460484SobrienThu Mar 20 16:49:14 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 193560484Sobrien 193660484Sobrien * config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by 193760484Sobrien open coded loop that does not require the name to start with a 193860484Sobrien name beginner. 193960484Sobrien 194060484SobrienThu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org> 194160484Sobrien 194260484Sobrien * frags.c (frag_var): Change offset parameter to offsetT. 194360484Sobrien (frag_variant): Likewise. 194460484Sobrien * frags.h (frag_variant, frag_var): Update declarations. 194560484Sobrien * config/tc-m68k.c (struct m68k_it): Change foff field to 194660484Sobrien offsetT. 194760484Sobrien (add_frag): Change off parameter to offsetT. 194860484Sobrien * Several files: Add casts to calls to frag_var. 194960484Sobrien 195060484Sobrien * Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to 195160484Sobrien serialize a parallel make. 195260484Sobrien (itbl-parse.h): Split target out from itbl-parse.c. 195360484Sobrien 195460484SobrienThu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 195560484Sobrien 195660484Sobrien * config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR). 195760484Sobrien 195860484Sobrien * config/te-delta.h (COFF_COMMON_ADDEND): Define. 195960484Sobrien * config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when 196060484Sobrien storing the value of a common symbol. 196160484Sobrien 196260484SobrienWed Mar 19 11:37:57 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 196360484Sobrien 196460484Sobrien * config/obj-coff.c (glue_symbols): Unused variable symbolP 196560484Sobrien removed. 196660484Sobrien (crawl_symbols): Do not modify symbol_rootP and symbol_lastP here; 196760484Sobrien that is done by symbol_remove and symbol_insert. 196860484Sobrien 196960484Sobrien * config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging 197060484Sobrien symbol. 197160484Sobrien 197260484SobrienWed Mar 19 11:06:29 1997 Ian Lance Taylor <ian@cygnus.com> 197360484Sobrien 197460484Sobrien * config/tc-mips.c (load_register): In 32 bit mode, when not 197560484Sobrien dealing with a 64 bit number, permit the upper 32 bits to be set 197660484Sobrien even if bit 31 is not set. 197760484Sobrien 197860484SobrienTue Mar 18 23:30:14 1997 Ian Lance Taylor <ian@cygnus.com> 197960484Sobrien 198060484Sobrien * read.c (potable): Add "equiv". 198160484Sobrien (s_set): Handle .equiv based on argument. 198260484Sobrien * doc/as.texinfo (Equiv): New node to document .equiv. 198360484Sobrien (Err): New node to document .err. 198460484Sobrien 198560484SobrienTue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org> 198660484Sobrien 198760484Sobrien * Many files: Add function prototypes. 198860484Sobrien * as.c (show_usage, parse_args): Make static. 198960484Sobrien * frags.h (frag_alloc): Declare. 199060484Sobrien * subsegs.c (subseg_set_rest): Don't declare frag_alloc. 199160484Sobrien * symbols.c (dollar_label_instance): Change return type to long. 199260484Sobrien * symbols.h (print_symbol_value): Declare. 199360484Sobrien (print_expr, print_expr_1, print_symbol_value_1): Declare. 199460484Sobrien * write.c (fix_new_exp): Don't declare make_expr_symbol. 199560484Sobrien (remove_subsegs, relax_frag): Make static. 199660484Sobrien * config/atof-vax.c (atof_vax_sizeof): Change letter to int. 199760484Sobrien (what_kind_of_float): Likewise. 199860484Sobrien (atof_vax): Make static. Change what_kind to int. 199960484Sobrien (md_atof): Change what_statement_type to int. 200060484Sobrien * config/obj-ecoff.h (obj_ecoff_set_ext): Declare. 200160484Sobrien * config/tc-alpha.c (vax_md_atof): Declare. 200260484Sobrien (md_atof): Don't declare atof_ieee and vax_md_atof. 200360484Sobrien * config/tc-i386.c (set_16bit_code_flag): Make static. 200460484Sobrien * config/tc-i386.h (tc_i386_fix_adjustable): Declare. 200560484Sobrien * config/tc-m68k.c (add_fix): Change width to int. 200660484Sobrien (insert_reg): Change regname to const. 200760484Sobrien (md_atof): Don't declare atof_ieee. 200860484Sobrien (demand_empty_rest_of_line): Don't declare. 200960484Sobrien * config/tc-m88k.c (md_atof): Don't declare atof_ieee. 201060484Sobrien * config/tc-sparc.c (cmp_reg_entry): Change args to const PTR. 201160484Sobrien (parse_keyword_arg): Change lookup_fn to take const arg. 201260484Sobrien (md_atof): Don't declare atof_ieee. 201360484Sobrien * config/tc-sparc.h: Add ifdef for multiple inclusion. 201460484Sobrien (tc_aout_pre_write_hook): Don't declare. 201560484Sobrien 201660484SobrienMon Mar 17 11:21:09 1997 Ian Lance Taylor <ian@cygnus.com> 201760484Sobrien 201860484Sobrien * as.h (bfd_alloc_by_size_t): Don't declare. 201960484Sobrien * Many files: Use xmalloc rather than bfd_alloc_by_size_t. 202060484Sobrien 202160484SobrienSun Mar 16 13:49:21 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 202260484Sobrien 202360484Sobrien * symbols.c (symbol_new): Don't call debug_verify_symchain. 202460484Sobrien (symbol_append): Set sy_next and sy_previous when adding a single 202560484Sobrien symbol to an empty list. Call debug_verify_symchain. 202660484Sobrien (verify_symbol_chain): Use assert, not know. 202760484Sobrien 202860484SobrienSat Mar 15 20:27:12 1997 Fred Fish <fnf@cygnus.com> 202960484Sobrien 203060484Sobrien * NEWS: Note BeOS support. 203160484Sobrien * configure.in: (ppc-*-beos): New target, use coff as object format. 203260484Sobrien * configure: Regenerate with autoconf. 2033218822Sdim 203460484SobrienSat Mar 15 19:14:02 1997 Ian Lance Taylor <ian@cygnus.com> 203560484Sobrien 203660484Sobrien * config/tc-mips.c (md_apply_fix): Improve error message for out 203760484Sobrien of range branch. 203860484Sobrien 203960484Sobrien * Makefile.in: Add dependencies on obstack.h where needed. 204060484Sobrien 204160484SobrienFri Mar 14 15:33:38 1997 Ian Lance Taylor <ian@cygnus.com> 204260484Sobrien 204360484Sobrien * config/tc-mips.c (md_estimate_size_before_relax): Handle the 204460484Sobrien case of a symbol equated to another symbol when using SVR4_PIC. 204560484Sobrien 204660484Sobrien * Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h. 204760484Sobrien 204860484SobrienThu Mar 13 11:20:51 1997 Ian Lance Taylor <ian@cygnus.com> 204960484Sobrien 205060484Sobrien * read.c (read_a_source_file): Call LISTING_NEWLINE before 205160484Sobrien HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label. 205260484Sobrien 205360484Sobrien * config/obj-elf.c (obj_elf_data): Call md_flush_pending_output 205460484Sobrien and md_elf_section_change_hook if they are defined. 205560484Sobrien (obj_elf_text, obj_elf_previous): Likewise. 205660484Sobrien 205760484SobrienWed Mar 12 11:40:20 1997 Ian Lance Taylor <ian@cygnus.com> 205860484Sobrien 205960484Sobrien * config/obj-multi.h (struct elf_obj_sy): Define if 206060484Sobrien OBJ_MAYBE_ELF. 206160484Sobrien (OBJ_SYMFIELD_TYPE): Define as struct elf_obj_sy if 206260484Sobrien OBJ_MAYBE_ELF. 206360484Sobrien * config/obj-elf.h (struct elf_obj_sy): Don't define if 206460484Sobrien OBJ_SYMFIELD_TYPE is defined. 206560484Sobrien 206660484Sobrien * doc/as.texinfo (bss): Improve description of .bss section. In 206760484Sobrien ELF or COFF, you are permitted to switch into the section. 206860484Sobrien (Comm): Rewrite description of common symbols. 206960484Sobrien (Lcomm): Mention that some targets permit a third argument. 207060484Sobrien 207160484SobrienTue Mar 11 01:13:31 1997 Ian Lance Taylor <ian@cygnus.com> 207260484Sobrien 207360484Sobrien * config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL. 207460484Sobrien 207560484Sobrien * symbols.c (colon): Change type of local to int. From Alan Modra 207660484Sobrien <alan@spri.levels.unisa.edu.au>. 207760484Sobrien 207860484Sobrien * config/tc-m88k.c (m88k_do_align): Don't use a special nop 207960484Sobrien alignment if a zero fill pattern was explicitly specified. 208060484Sobrien * config/tc-sh.c (sh_do_align): Likewise. 208160484Sobrien 208260484Sobrien * read.c (equals): Always permit register names to be redefined. 208360484Sobrien 208460484Sobrien * config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a 208560484Sobrien mips16 symbol to be adjusted if a symbol is being subtracted from 208660484Sobrien it. 208760484Sobrien 208860484Sobrien From Eric Youngdale <eric@andante.jic.com>: 208960484Sobrien * config/obj-elf.c (obj_elf_symver): Check for duplicate or 209060484Sobrien illegal symbol version names. 209160484Sobrien (elf_frob_symbol): Check for external default versions. 209260484Sobrien 209360484SobrienSun Mar 9 23:49:12 1997 Ian Lance Taylor <ian@cygnus.com> 209460484Sobrien 209560484Sobrien From Eric Youngdale <eric@andante.jic.com>: 209660484Sobrien * config/obj-elf.h (struct elf_obj_sy): Define. 209760484Sobrien (OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct. Change all 209860484Sobrien users. 209960484Sobrien * config/obj-elf.c (obj_elf_symver): Just record the name. 210060484Sobrien (obj_symbol_new_hook): Initialized versioned_name field. 210160484Sobrien (elf_frob_symbol): If there is a versioned_name, either rename the 210260484Sobrien symbol, or add an alias with that name. 210360484Sobrien 210460484SobrienThu Mar 6 13:55:32 1997 Jeffrey A Law (law@cygnus.com) 210560484Sobrien 210660484Sobrien * config/tc-mn10300.c (md_relax_table): Define. 210760484Sobrien (md_convert_frag): Implement. 210860484Sobrien (md_assemble): Handle relaxable operands/instructions correctly. 210960484Sobrien (md_estimate_size_before_relax): Implement. 211060484Sobrien * config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define. 211160484Sobrien 211260484Sobrien * config/tc-mn10200.c (md_relax_table): Fix typos. 211360484Sobrien 211460484Sobrien * config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific 211560484Sobrien relocs anymore. Tweak fx_offset for pc-relative relocs. 211660484Sobrien 211760484SobrienWed Mar 5 15:46:16 1997 Ian Lance Taylor <ian@cygnus.com> 211860484Sobrien 211960484Sobrien * cond.c (s_ifc): Call mri_comment_field and mri_comment_end when 212060484Sobrien in MRI mode. 212160484Sobrien 212260484SobrienTue Mar 4 19:34:21 1997 Fred Fish <fnf@cygnus.com> 212360484Sobrien 212460484Sobrien * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section" 212560484Sobrien pseudo-ops. 212660484Sobrien * config/tc-tic80.c (md_begin): Declare external variable 212760484Sobrien coff_flags and insert an F_AR32WR bit into it. 212860484Sobrien 212960484SobrienTue Mar 4 10:01:04 1997 Ian Lance Taylor <ian@cygnus.com> 213060484Sobrien 213160484Sobrien * read.c (equals): Add reassign parameter. Change all callers. 213260484Sobrien * read.h (equals): Update declaration. 213360484Sobrien 213460484SobrienSat Mar 1 01:04:04 1997 Ian Lance Taylor <ian@cygnus.com> 213560484Sobrien 213660484Sobrien * config/tc-mips.c (mips16_extended_frag): Don't assume that we 213760484Sobrien can rely on the frag address to determine whether a frag is 213860484Sobrien earlier or later. 213960484Sobrien 214060484SobrienFri Feb 28 14:40:00 1997 Ian Lance Taylor <ian@cygnus.com> 214160484Sobrien 214260484Sobrien * write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER. 214360484Sobrien (S_LOCAL_NAME): Likewise. 214460484Sobrien (FAKE_LABEL_NAME): Define unconditionally. 214560484Sobrien * symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if 214660484Sobrien BFD_ASSEMBLER. 214760484Sobrien (S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL. 214860484Sobrien * config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER. 214960484Sobrien Don't define FAKE_LABEL_NAME. 215060484Sobrien * config/te-ic960.h: Likewise. 215160484Sobrien * config/tc-mips.h (tc_frob_file_before_adjust): Define. 215260484Sobrien (mips_frob_file_before_adjust): Declare. 215360484Sobrien * config/tc-mips.c (mips_frob_file_before_adjust): New function. 215460484Sobrien (mips_local_label): Remove. 215560484Sobrien 215660484Sobrien * config/te-sco386.h: Remove; not used. 215760484Sobrien 215860484SobrienThu Feb 27 15:39:16 1997 Fred Fish <fnf@cygnus.com> 215960484Sobrien 216060484Sobrien * config/tc-tic80 (md_pseudo_table): Add align pseudo op to do 216160484Sobrien byte alignment rather than power-of-two alignment that is the 216260484Sobrien GAS default. 216360484Sobrien 216460484SobrienThu Feb 27 13:29:04 1997 Ian Lance Taylor <ian@cygnus.com> 216560484Sobrien 216660484Sobrien * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'. 216760484Sobrien 216860484Sobrien * gasp.c (hash_add_to_string_table): Correct misspelling in error 216960484Sobrien message, and add newline. 217060484Sobrien (process_file): Don't process assignments in the label if this is 217160484Sobrien a equ or assign pseudo-op. 217260484Sobrien (process_pseudo_op): Swap first argument to do_assign for K_ASSIGN 217360484Sobrien and K_EQU, to match documentation. 217460484Sobrien 217560484SobrienThu Feb 27 12:00:03 1997 Michael Meissner <meissner@cygnus.com> 217660484Sobrien 217760484Sobrien * config/obj-coff.c (obj_coff_section): Add 'r' section attribute 217860484Sobrien to denote read-only data sections. 217960484Sobrien 218060484SobrienThu Feb 27 00:26:33 1997 Ian Lance Taylor <ian@cygnus.com> 218160484Sobrien 218260484Sobrien * config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags. 218360484Sobrien * config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER. 218460484Sobrien 218560484Sobrien * expr.c (operand): Simplify 0b handling. Don't treat 0b as a 218660484Sobrien binary number if the next character is '+' or '-'. 218760484Sobrien 218860484SobrienWed Feb 26 20:47:12 1997 Fred Fish <fnf@cygnus.com> 218960484Sobrien 219060484Sobrien * config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF". 219160484Sobrien (find_opcode): Match operands that can be floats. 219260484Sobrien (build_insn): Handle O_big (float) expressions and build 219360484Sobrien correct opcode. 219460484Sobrien 219560484SobrienWed Feb 26 18:19:00 1997 Stan Shebs <shebs@andros.cygnus.com> 219660484Sobrien 219760484Sobrien * configure.in (mips*-*-lnews*): New target, also make empty 219860484Sobrien emulation list for this target. 219960484Sobrien * configure: Update. 220089857Sobrien * config/tc-mips.c (ECOFF_LITTLE_FORMAT): Define. 220160484Sobrien (mips_target_format): Use. 220289857Sobrien * config/te-lnews.h: New file. 220360484Sobrien 220460484SobrienWed Feb 26 15:33:46 1997 Fred Fish <fnf@cygnus.com> 220560484Sobrien 220660484Sobrien * config/tc-tic80.c (find_opcode, build_insn): Changes to match 220760484Sobrien operands with :m or :s modifiers and generate the right opcodes 220860484Sobrien for them. 220960484Sobrien 221060484SobrienWed Feb 26 11:56:11 1997 Ian Lance Taylor <ian@cygnus.com> 221160484Sobrien 221260484Sobrien * Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and 221360484Sobrien $(BISONFLAGS), not $(YACC) and $(YACCFLAGS). 221460484Sobrien 221560484SobrienTue Feb 25 22:02:23 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 221660484Sobrien 221760484Sobrien * config/tc-m68k.c (instring): Useless local declaration of 221860484Sobrien crack_operand removed. 221960484Sobrien * expr.h (expressionS): Changed type of X_op field to operatorT if 222060484Sobrien __GNUC__. 222160484Sobrien 222260484SobrienTue Feb 25 13:17:27 1997 Ian Lance Taylor <ian@cygnus.com> 222360484Sobrien 222460484Sobrien Based on patches from Robert Lipe <robertl@dgii.com>: 222560484Sobrien * configure.in: Add i386coff and i386elf to emulation list. 222660484Sobrien * configure: Rebuild. 222760484Sobrien * as.c (i386coff, i386elf): Declare. 222860484Sobrien * obj.h (coff_format_ops): Declare. 222960484Sobrien * config/obj-coff.c (OBJ_HEADER): Define. 223060484Sobrien (coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook. 223160484Sobrien (coff_obj_read_begin_hook): Rename from obj_read_begin_hook. 223260484Sobrien (obj_pseudo_table): Add "version". 223360484Sobrien (coff_pop_insert): New static function. 223460484Sobrien (coff_sec_sym_ok_for_reloc): New static function. 223560484Sobrien (no_func): New static function. 223660484Sobrien (coff_format_ops): New variable. 223760484Sobrien * config/obj-coff.h (coff_obj_symbol_new_hook): Declare. 223860484Sobrien (obj_symbol_new_hook): Define. 223960484Sobrien (coff_obj_read_begin_hook): Declare. 224060484Sobrien (obj_read_begin_hook): Define. 224160484Sobrien * config/tc-i386.h (i386_target_format): Declare. 224260484Sobrien * config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check 224360484Sobrien OUTPUT_FLAVOR when appropriate. 224460484Sobrien (i386_target_format): New function. 224560484Sobrien * Makefile.in (obj-coff.o): New target. 224660484Sobrien (e-i386coff.o, e-i386elf.o): New targets. 224760484Sobrien 224860484Sobrien From Stephen Williams <steve@icarus.icarus.com>: 224960484Sobrien * config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF. 225060484Sobrien (_tc_get_bal_of_call): Don't declare. 225160484Sobrien (tc_get_bal_of_call): Declare as function, don't define as macro. 225260484Sobrien * config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP 225360484Sobrien in sy_tc field, not x_balntry field. 225460484Sobrien (tc_get_bal_of_call): Rename from _tc_get_bal_of_call. Change 225560484Sobrien return type to symbolS *. If OBJ_COFF, retrieve value from sy_tc 225660484Sobrien field, not x_balntry field. 225760484Sobrien 225860484Sobrien * config/obj-elf.c (obj_elf_section): Permit a .note section to 225960484Sobrien have the SHF_ALLOC attribute. 226060484Sobrien 226160484Sobrien * Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS). 226260484Sobrien (TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h. 226360484Sobrien (itbl-lex.o): Depend upon itbl-parse.h. 226460484Sobrien 226560484Sobrien * itbl-parse.y (yyerror): Change return type to int. Change to 226660484Sobrien use old style function declaration. 226760484Sobrien 226860484Sobrien * Makefile.in (itbl-lex.o): Remove -Wall. 226960484Sobrien (itbl-parse.o): Likewise. 227060484Sobrien 227160484Sobrien * cond.c (s_ifdef): If we should omit conditionals from listings, 227260484Sobrien call listing_list. 227360484Sobrien (s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise. 227460484Sobrien * listing.c (list_info_struct): Add EDICT_NOLIST_NEXT. 227560484Sobrien (listing_listing): Handle EDICT_NOLIST_NEXT. 227660484Sobrien (listing_list): An argument of 2 means EDICT_NOLIST_NEXT. 227760484Sobrien * listing.h (LISTING_NOCOND): Define. 227860484Sobrien (LISTING_SKIP_COND): Define. 227960484Sobrien * as.c (show_usage): Mention c as a suboption of -a. 228060484Sobrien (parse_args): Handle c as a suboption of -a. 228160484Sobrien * doc/as.texinfo: Document -alc. 228260484Sobrien 228360484SobrienMon Feb 24 23:34:14 1997 Fred Fish <fnf@cygnus.com> 228460484Sobrien 228560484Sobrien * config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups. 228660484Sobrien 228760484SobrienMon Feb 24 18:27:43 1997 Eric Youngdale <eric@andante.jic.com> 228860484Sobrien 228960484Sobrien * doc/as.texinfo: Document .symver. 229060484Sobrien 229160484SobrienMon Feb 24 15:19:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 229260484Sobrien 2293218822Sdim * config/tc-d10v.c: Change pre_defined_registers to 229460484Sobrien d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt. 229560484Sobrien 229660484SobrienMon Feb 24 10:40:45 1997 Fred Fish <fnf@cygnus.com> 229760484Sobrien 229860484Sobrien * config/obj-coff.c: Fix typo in comment section. 229960484Sobrien * config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes 2300218822Sdim an additional alignment argument. 230160484Sobrien (find_opcode): Allow O_symbol relocs for any 32 bit field, not just 2302218822Sdim base relative ones. 230360484Sobrien (build_insn): Handle O_symbol relocs for any 32 bit field, not just 2304218822Sdim base relative ones. 230560484Sobrien 230660484SobrienMon Feb 24 02:23:00 1997 Dawn Perchik <dawn@cygnus.com> 230760484Sobrien 230860484Sobrien * Makefile.in: Remove dependancies on itbl-cpu.h. 2309218822Sdim * as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU 231060484Sobrien is not defined. 231160484Sobrien 231260484SobrienMon Feb 24 02:03:00 1997 Dawn Perchik <dawn@cygnus.com> 231360484Sobrien 231460484Sobrien * itbl-ops.h: Include as.h. 231560484Sobrien 231660484SobrienMon Feb 24 01:04:00 1997 Dawn Perchik <dawn@cygnus.com> 231760484Sobrien 231860484Sobrien * as.c: Remove -t option. 231960484Sobrien * configure, configure.in: Move itbl-cpu.h to mips specific configure. 232060484Sobrien * itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined. 232160484Sobrien * config/tc-mips.h: Define HAVE_ITBL_CPU. 232260484Sobrien 232360484SobrienSun Feb 23 18:01:00 1997 Dawn Perchik <dawn@cygnus.com> 232460484Sobrien 232560484Sobrien * itbl-ops.c: Don't define DEBUG. 232660484Sobrien 232760484SobrienSun Feb 23 17:49:00 1997 Dawn Perchik <dawn@cygnus.com> 232860484Sobrien 232960484Sobrien * Makefile.in: Update itbl-test.c to reflect its new location. 233060484Sobrien 233160484SobrienSun Feb 23 15:50:00 1997 Dawn Perchik <dawn@cygnus.com> 233260484Sobrien 233360484Sobrien * itbl-ops.c: Add test for itbl_have_entries. 233460484Sobrien * config/tc-mips.c: Remove test for itbl_have_entries. 233560484Sobrien * config/tc-mips.h: Define tc_init_after_args to mips_init_after_args. 233660484Sobrien 233760484SobrienSun Feb 23 18:13:19 1997 Ian Lance Taylor <ian@cygnus.com> 233860484Sobrien 233960484Sobrien * Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and 234060484Sobrien itbl-ops.c. Add itbl-parse.c and itbl-lex.c. 234160484Sobrien (LEX, LEXFLAGS): Define. 234260484Sobrien * itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT. 234360484Sobrien 234460484SobrienSat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com> 234560484Sobrien 234660484Sobrien * itbl-parse.y: Fix indentation mistakes from indent program. 234760484Sobrien * itbl-lex.l: Fix indentation mistakes from indent program. 234860484Sobrien * itbl-ops.h: Add include for ansidecl.h. 234960484Sobrien Add PARAMS around function arguments. 235060484Sobrien Add declaration for itbl_have_entries. 235160484Sobrien * itbl-ops.c: Add PARAMS around function arguments. 235260484Sobrien * Makefile.in: Add itbl build rules. 235360484Sobrien Add dependancies for itbl files to mips target. 235460484Sobrien * as.c: Add itbl support. 235560484Sobrien Add new option "--insttbl" for dynamically extending instruction set. 235660484Sobrien * as.h: Declare insttbl_file_name; 2357218822Sdim the name of file defining extensions to the basic instruction set 2358218822Sdim * configure.in, configure: Add itbl-parse.o, itbl-lex.o, and 235960484Sobrien itbl-ops.o to extra_objects for mips configuration. 2360218822Sdim Add include file link from itbl-cpu.h to 236160484Sobrien config/itbl-${target_cpu_type}.h. 236260484Sobrien * config/tc-mips.c: Allow copz instructions. 236360484Sobrien Add notes for future additions to the itbl support. 236460484Sobrien Add debug macros. 236560484Sobrien (macro): Call itbl_assemble to assemble itbl instructions. 236660484Sobrien See if an unknown register is specified in an itbl entry. 236760484Sobrien 236860484SobrienSat Feb 22 20:53:01 1997 Fred Fish <fnf@cygnus.com> 236960484Sobrien * doc/internals.texi (CPU backend): Fix typo in md_section_align 237060484Sobrien description. 237160484Sobrien * config/tc-tic80.h (NEED_FX_R_TYPE): Define. 237260484Sobrien * config/tc-tic80.c (find_opcode): Add code to support O_symbol 237360484Sobrien operands. 237460484Sobrien (build_insn): Grab a frag early so we can use the address in 2375218822Sdim fixups. Take one's complement of BITNUM values before insertion 2376218822Sdim in opcode. Add code to support O_symbol operands. 237760484Sobrien (md_apply_fix): Replace unimplemented warning with implementation. 237860484Sobrien (md_pcrel_from): Ditto. 237960484Sobrien (tc_coff_fix2rtype): Ditto. 238060484Sobrien 238160484SobrienFri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 238260484Sobrien 2383218822Sdim * config/tc-d30v.c (parallel_ok): New function. 238460484Sobrien * config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN. 238560484Sobrien * config/tc-d10v.c (md_pcrel_from_section): Return 0 if 2386218822Sdim relocation is in different section. 238760484Sobrien 238860484SobrienFri Feb 21 10:08:25 1997 Jim Wilson <wilson@cygnus.com> 238960484Sobrien 239089857Sobrien * config/tc-mips.c (mips_ip): If configured for an embedded ELF system, 239160484Sobrien don't set the section alignment to 2**4. 239260484Sobrien 239360484SobrienFri Feb 21 11:55:03 1997 Ian Lance Taylor <ian@cygnus.com> 239460484Sobrien 239560484Sobrien * config/tc-m68k.c (line_comment_chars): Add '*'. 239660484Sobrien 239760484Sobrien * app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define. 239860484Sobrien (do_scrub_begin): Don't set lex['*']. 239960484Sobrien (do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't 2400218822Sdim check for LEX_IS_TWOCHAR_COMMENT_2ND. Instead, just check for 240160484Sobrien a literal '*'. 240260484Sobrien 240360484Sobrien * configure.in: Set em=svr4 for m68k-*-sysv4*. 240460484Sobrien * configure: Rebuild. 240560484Sobrien * config/te-svr4.h: New file. 240660484Sobrien * config/tc-m68k.c (m68k_comment_chars): Only include `#' if 240760484Sobrien TE_SVR4 or TE_DELTA. 240860484Sobrien 240960484SobrienThu Feb 20 22:24:39 1997 Jeffrey A Law (law@cygnus.com) 241060484Sobrien 241160484Sobrien * config/tc-mn10200.c (md_convert_frag): Create a fixup for the 241260484Sobrien short conditional branch around a long unconditional branch. 241360484Sobrien 241460484SobrienThu Feb 20 13:56:00 1997 Ian Lance Taylor <ian@cygnus.com> 241560484Sobrien 241660484Sobrien * config/obj-coff.c (obj_coff_ln [both versions]): Call 241760484Sobrien new_logical_line. 241860484Sobrien 241960484Sobrien * config/tc-arm.c (fix_new_arm): Use make_expr_symbol to handle a 242060484Sobrien complex expression. 242160484Sobrien 242260484Sobrien * symbols.c (resolve_symbol_value): If both left and right 242360484Sobrien operands are undefined, warn about both of them. 242460484Sobrien 242560484SobrienWed Feb 19 00:53:28 1997 Ian Lance Taylor <ian@cygnus.com> 242660484Sobrien 242760484Sobrien Based on patches from Eric Youngdale <eric@andante.jic.com>: 242860484Sobrien * config/obj-elf.c (elf_pseudo_table): Add "symver". 242960484Sobrien (obj_elf_symver): New static function. 243060484Sobrien * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other 243160484Sobrien field. 243260484Sobrien 243360484Sobrien * write.c (relax_segment): Make type and printf format agree. 243460484Sobrien 243560484Sobrien * read.c (get_line_sb): Don't end the line on a semicolon inside a 243660484Sobrien string. 243760484Sobrien 243860484SobrienTue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 243960484Sobrien 244060484Sobrien * config/tc-d30v.c, config/tc-d30v.h: New files. 244160484Sobrien 2442218822Sdim * configure: Rebuilt. 2443218822Sdim 244460484Sobrien * configure.in: Add case for d30v. 244560484Sobrien 244660484SobrienSun Feb 16 17:47:29 1997 Fred Fish <fnf@cygnus.com> 244760484Sobrien 244860484Sobrien * config/tc-alpha.h (md_operand): Define with a null expansion, 244960484Sobrien like all the other targets. 2450218822Sdim * doc/internals.texi (CPU backend): Add missing word in 245160484Sobrien md_flush_pending_output description. Fix typo in md_convert_frag 245260484Sobrien description. 245360484Sobrien * config/tc-tic80: Minor comment additions/changes. 2454218822Sdim 245560484SobrienFri Feb 14 18:09:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 245660484Sobrien 245760484Sobrien * config/tc-m68k.c (LOCAL_LABEL): Macro redefined if TE_DELTA. 245860484Sobrien (tc_canonicalize_symbol_name): Macro defined if TE_DELTA. 2459218822Sdim * config/obj-coff.c (obj_coff_def): Use 246060484Sobrien tc_canonicalize_symbol_name if defined. 246160484Sobrien (obj_coff_tag, obj_coff_val): Likewise. 246260484Sobrien * expr.c (operand): Reject '~' as operator if is_name_beginner. 246360484Sobrien 246460484SobrienFri Feb 14 17:24:48 1997 Ian Lance Taylor <ian@cygnus.com> 246560484Sobrien 246660484Sobrien Based on notes from Peter Eriksson <peter@ifm.liu.se>. The target 246760484Sobrien does not actually work, though: 246860484Sobrien * configure.in (i386-sequent-bsd*): New target. 246960484Sobrien * configure: Rebuild. 247060484Sobrien * config/tc-dynix.h: New file. 247160484Sobrien * config/tc-i386.h: Define TARGET_FORMAT if TE_DYNIX. 247260484Sobrien 247360484Sobrien * read.c (do_align): Add max parameter. Change all callers. 247460484Sobrien Remove useless static variables. 247560484Sobrien (s_align): New static function. Do common portion of 247660484Sobrien s_align_bytes and s_align_ptwo. 247760484Sobrien (s_align_bytes, s_align_ptwo): Just call s_align. 247860484Sobrien * frags.c (frag_align): Add max parameter. Change all callers. 247960484Sobrien (frag_align_pattern): Likewise. 248060484Sobrien * frags.h (frag_align, frag_align_pattern): Update declarations. 248160484Sobrien * write.c (relax_segment): Limit alignment change to fr_subtype. 248260484Sobrien Fix some types to be addressT. 248360484Sobrien * config/obj-coff.c (size_section): Likewise. 248460484Sobrien * config/obj-ieee.c (size_section): Likewise. 248560484Sobrien * config/tc-d10v.h (md_do_align): Add max parameter. 248660484Sobrien * config/tc-i386.h (md_do_align): Likewise. 248760484Sobrien * config/tc-m88k.h (md_do_align): Likewise. 248860484Sobrien * config/tc-m88k.c (m88k_do_align): Likewise. 248960484Sobrien * config/tc-sh.h (md_do_align): Likewise. 249060484Sobrien * config/tc-sh.c (sh_do_align): Likewise. 249160484Sobrien * as.h: Improve comments on rs_align and rs_align_code. 249260484Sobrien * doc/as.texinfo: Document new alignment arguments. 249360484Sobrien * doc/internals.texi (Frags): Document use of fr_subtype field for 249460484Sobrien rs_align and rs_align_code. 249560484Sobrien 249660484SobrienFri Feb 14 15:56:06 1997 Gavin Koch <gavin@cygnus.com> 249760484Sobrien 249860484Sobrien * config/tc-mips.c: Changed opcode parsing. 249960484Sobrien 250060484SobrienThu Feb 13 20:02:16 1997 Fred Fish <fnf@cygnus.com> 250160484Sobrien 250260484Sobrien * config/{tc-alpha.h, tc-d10v.h, tc-generic.h, tc-i960.h, 250360484Sobrien tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-vax.h, tc-w65.h}: 250460484Sobrien Add default definition of zero for TARGET_BYTES_BIG_ENDIAN. 250560484Sobrien * config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h, 2506218822Sdim tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN 250760484Sobrien to a location consistent with the rest of the target include files. 250860484Sobrien * config/tc-i386.c: Remove misleading comment. 250960484Sobrien * doc/internals.texi (CPU backend): Add description of function 251060484Sobrien md_undefined_symbol. 251160484Sobrien * config/tc-tic80.c: Add code to insert predefined symbols into the 251260484Sobrien symbol table so they can be parsed by the standard expression parser. 251360484Sobrien Remove custom code that use to parse them. 251460484Sobrien * config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN 251560484Sobrien to a location consistent with the rest of the target include files. 2516218822Sdim 251760484SobrienThu Feb 13 21:44:18 1997 Klaus Kaempf <kkaempf@progis.de> 251860484Sobrien 251960484Sobrien * as.h: GNU c provides unlink() function. 252060484Sobrien 252160484Sobrien Unify section handling on openVMS/Alpha: 252260484Sobrien * config/tc-alpha.c(s_alpha_link): Remove. 252360484Sobrien (s_alpha_section): New function. 252460484Sobrien Remove case-hacking of symbols 252560484Sobrien Add .code_address pseudo-op. 252660484Sobrien (BFD_RELOC_ALPHA_CODEADDR): New relocation. 252760484Sobrien (s_alpha_code_address): New function. 252860484Sobrien (alpha_ctors_section, alpha_dtors_section): New sections for C++ 252960484Sobrien static constructors/destructors. 253060484Sobrien Add debug code for crash debugs, to be removed when traceback code 253160484Sobrien is added to object code. 253260484Sobrien (s_alpha_name): New function for .name pseudo-op. 253360484Sobrien (alpha_print_token): New function to print token expressions with 253460484Sobrien alpha specific extensions. 253560484Sobrien 253660484Sobrien * makefile.vms: Allow compilation with current gcc snapshot. 253760484Sobrien 253860484SobrienThu Feb 13 16:29:04 1997 Fred Fish <fnf@cygnus.com> 253960484Sobrien 254060484Sobrien * doc/Makefile.in (TEXI2DVI): Set to just name of program. 254160484Sobrien (DVIPS): Set to dvips. 254260484Sobrien (ps, as.ps, gasp.ps): New targets. 254360484Sobrien (internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS 2544218822Sdim and MAKEINFO env variables. 254560484Sobrien (internals.ps): Use DVIPS macro. 254660484Sobrien (clean): Remove core and backup files. 254760484Sobrien (distclean): Remove temporary files from building internals. 254860484Sobrien (clean-dvi): Ditto. 254960484Sobrien * doc/internals.texi (Frags): Fix typo. 255060484Sobrien (GAS processing): Ditto. 255160484Sobrien (CPU backend): Ditto. 255260484Sobrien * ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly. 255360484Sobrien * mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1. 255460484Sobrien * read.c: Remove ugly hack that dealt with config files not 255560484Sobrien correctly defining TARGET_BYTES_BIG_ENDIAN. 255660484Sobrien (target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly. 255760484Sobrien * config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1. 255860484Sobrien * config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0. 255960484Sobrien * config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1. 256060484Sobrien * config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0. 256160484Sobrien * config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1. 256260484Sobrien * config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN 256360484Sobrien with TARGET_BYTES_BIG_ENDIAN defined to 0. 256460484Sobrien * config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN 256560484Sobrien and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just 256660484Sobrien whether it is defined or not. 256760484Sobrien * config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN. 256860484Sobrien * config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN 256960484Sobrien and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just 257060484Sobrien whether it is defined or not. 257160484Sobrien * config/tic80.h (TARGET_FORMAT): Define to coff-tic80. 257260484Sobrien (TARGET_BYTES_BIG_ENDIAN): Define to 0. 257360484Sobrien 257460484SobrienThu Feb 13 14:40:16 1997 Doug Evans <dje@canuck.cygnus.com> 257560484Sobrien 257660484Sobrien * write.c (write_relocs): Correct text in as_fatal error message, 257760484Sobrien bfd_perform_relocation -> bfd_install_relocation. 257860484Sobrien 257960484SobrienThu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 258060484Sobrien 258160484Sobrien * config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA. 258260484Sobrien * read.c (LEX_TILDE): Define if not defined. 258360484Sobrien (lex_type): Use LEX_TILDE. 258460484Sobrien * expr.c (get_symbol_end): Check first char with is_name_beginner, 258560484Sobrien not is_part_of_name. 258660484Sobrien 258760484SobrienThu Feb 13 11:40:58 1997 Ian Lance Taylor <ian@cygnus.com> 258860484Sobrien 258960484Sobrien * config/tc-sparc.c (md_show_usage): Add missing backslash at end 259060484Sobrien of continued line. 259160484Sobrien 259260484Sobrien * config/tc-mips.c (mips16_extended_frag): Correct base address 259360484Sobrien for an extended PC relative instruction. 259460484Sobrien (md_convert_frag): Likewise. 259560484Sobrien 259660484Sobrien * config/tc-mips.c (prev_nop_frag): New static variable. 259760484Sobrien (prev_nop_frag_holds): New static variable. 259860484Sobrien (prev_nop_frag_required): New static variable. 259960484Sobrien (prev_nop_frag_since): New static variable. 260060484Sobrien (append_insn): If we aren't reordering, and prev_nop_frag is not 260160484Sobrien NULL, and we don't need any nops, then decrease the size of 260260484Sobrien prev_nop_frag. Don't insert nops because of instructions in 260360484Sobrien noreorder sections. Remember whether the previous instructions 260460484Sobrien where in noreorder sections even when not reordering. 260560484Sobrien (mips_no_prev_insn): Add preserver parameter. Change all 260660484Sobrien callers. Refer prev_nop_frag variables when appropriate. 260760484Sobrien (mips_emit_delays): Set up prev_nop_frag. 260860484Sobrien (s_mipsset): Clear prev_nop_frag if reordering. 260960484Sobrien 261060484SobrienWed Feb 12 14:36:29 1997 Ian Lance Taylor <ian@cygnus.com> 261160484Sobrien 261260484Sobrien * config/tc-mips.c (append_insn): Remove useless code which 261360484Sobrien handled swapping a mips16 jump with a mips16 instruction with a 261460484Sobrien reloc. 261560484Sobrien 261660484Sobrien * config/tc-mips.c (md_parse_option): When debugging, set 261760484Sobrien mips_optimize to 1, not 0. 261860484Sobrien 261960484Sobrien * config/tc-mips.c (mips16_ip): Handle an extend operand. 262060484Sobrien 262160484Sobrien * config/tc-mips.c (my_getExpression): In mips16 mode, if it looks 262260484Sobrien like the expression was based on `.', adjust the value of the 262360484Sobrien symbol. 262460484Sobrien 262560484Sobrien * config/tc-mips.c (append_insn): Warn about an attempt to put an 2626218822Sdim extended instruction in a delay slot when not reordering. 262760484Sobrien (md_convert_frag): Warn if an extended instruction appears in a 262860484Sobrien delay slot. 262960484Sobrien 263060484Sobrien * config/tc-mips.c (mips_pseudo_table): Add "insn". 263160484Sobrien (s_insn): New static function. 263260484Sobrien * doc/c-mips.texi: Document .insn. 263360484Sobrien 263460484Sobrien * config/tc-mips.c (md_begin): Add the general registers to the 263560484Sobrien symbol table. 263660484Sobrien (mips16_ip): First parse the expression, and then see whether it 263760484Sobrien came up with a register, rather than trying to first see whether 263860484Sobrien we are looking at a register. 263960484Sobrien 264060484SobrienTue Feb 11 15:13:39 1997 Fred Fish <fnf@cygnus.com> 264160484Sobrien 264260484Sobrien * config/tc-tic80.c: Numerous changes and additions to flesh 264360484Sobrien out functions that were previously just stubs, and fix some 264460484Sobrien problems found using the new TIc80 testsuite cases. 264560484Sobrien 264660484SobrienTue Feb 11 15:52:22 1997 Ian Lance Taylor <ian@cygnus.com> 264760484Sobrien 264860484Sobrien * config/tc-mips.c (mips16_ip): Handle %gprel modifier. 264960484Sobrien (md_apply_fix): Handle BFD_RELOC_MIPS16_GPREL. 265060484Sobrien 265160484Sobrien * config/tc-mips.c (append_insn): Output jump instruction as a 265260484Sobrien pair of 2 byte instructions, rather than as a single 4 byte 265360484Sobrien instruction. 265460484Sobrien 265560484SobrienMon Feb 10 22:06:00 1997 Dawn Perchik (dawn@cygnus.com) 265660484Sobrien 265760484Sobrien * itbl-ops.c, itbl-lex.l, itbl-parse.y, itbl-ops.h, 265860484Sobrien config/itbl-mips.h: Add copyright message and fix indentation. 265960484Sobrien 266060484SobrienMon Feb 10 18:09:00 1997 Dawn Perchik (dawn@cygnus.com) 266160484Sobrien 2662218822Sdim * itbl-ops.c: New file. Add support for dynamically read 2663218822Sdim instruction registers, opcodes and formats. Build internal table 2664218822Sdim for new instructions and provide callbacks for assembler and 266560484Sobrien disassembler. 2666218822Sdim * itbl-lex.l, itbl-parse.y: Lex and yacc parsers for instruction 266760484Sobrien spec table. 266860484Sobrien * itbl-ops.h: New file. Header file for itbl support. 266960484Sobrien * config/itbl-mips.h: New file. Mips specific definitions for 267060484Sobrien itbl support. 267160484Sobrien 267260484SobrienFri Feb 7 09:52:34 1997 Jeffrey A Law (law@cygnus.com) 267360484Sobrien 267460484Sobrien * config/tc-mn10200.c (md_assemble): If a constant operand won't 267560484Sobrien fit into the constant field of a relaxable operand, then it does 267660484Sobrien not match. 267760484Sobrien 267860484SobrienThu Feb 6 20:08:12 1997 Jeffrey A Law (law@cygnus.com) 267960484Sobrien 268060484Sobrien * config/tc-mn10200.c (md_estimate_size_before_relax): Treat 268160484Sobrien a jsr target in a different section just like a jsr to 268260484Sobrien an undefined target. 268360484Sobrien 268460484SobrienThu Feb 6 16:52:57 1997 Ian Lance Taylor <ian@cygnus.com> 268560484Sobrien 268660484Sobrien * config/tc-mips.c (mips_fix_adjustable): Don't adjust relocations 268760484Sobrien against any mips16 symbols, not just externally visible ones. 268860484Sobrien (md_apply_fix): Corresponding change. 268960484Sobrien 269060484SobrienWed Feb 5 11:11:06 1997 Ian Lance Taylor <ian@cygnus.com> 269160484Sobrien 269260484Sobrien * config/tc-mips.c (mips16_ip): Accept floating point registers in 269360484Sobrien the operand of the exit instruction. 269460484Sobrien 269560484SobrienTue Feb 4 14:12:39 1997 Ian Lance Taylor <ian@cygnus.com> 269660484Sobrien 269760484Sobrien * symbols.c (resolve_symbol_value): If we leave an equated symbol 269860484Sobrien as O_symbol, copy over the segment. 269960484Sobrien 270060484SobrienMon Feb 3 12:35:54 1997 Ian Lance Taylor <ian@cygnus.com> 270160484Sobrien 270260484Sobrien * config/tc-mips.c (md_apply_fix): If we aren't adjusting this 270360484Sobrien fixup to be against the section symbol, adjust the value 270460484Sobrien accordingly. 270560484Sobrien 270660484Sobrien * symbols.c (resolve_symbol_value): Don't change X_add_number for 270760484Sobrien an equated symbol. 270860484Sobrien * write.c (write_relocs): Avoid looping on equated symbols. 270960484Sobrien Adjust fx_offset by X_add_number for each symbol. 271060484Sobrien * config/obj-coff.c (do_relocs_for): Avoid looping on equated 271160484Sobrien symbols. 271260484Sobrien (fixup_segment): Add a loop to track down equated symbols and 271360484Sobrien adjust fx_offset appropriately. 271460484Sobrien 271560484SobrienFri Jan 31 15:21:02 1997 Jeffrey A Law (law@cygnus.com) 271660484Sobrien 271760484Sobrien * config/tc-mn10200.c (md_relax_table): Add entries to allow 271860484Sobrien jmp -> bra relaxing. 271960484Sobrien (md_convert_frag): Handle jmp->bra relaxing. 272060484Sobrien (md_assemble): Handle jmp->bra relaxing. 272160484Sobrien (md_estimate_size_before_relax): Likewise. 272260484Sobrien 272360484SobrienFri Jan 31 13:15:05 1997 Alan Modra <alan@spri.levels.unisa.edu.au> 272460484Sobrien 272560484Sobrien * config/tc-i386.c (i386_align_code): Add comments explaining the 272660484Sobrien nop instructions. 272760484Sobrien 272860484SobrienFri Jan 31 10:46:14 1997 Ian Lance Taylor <ian@cygnus.com> 272960484Sobrien 273060484Sobrien * config/tc-sparc.c (enforce_aligned_data): New static variable. 273160484Sobrien (sparc_cons_align): Don't do anything unless enforce_aligned_data 273260484Sobrien is set. 273360484Sobrien (md_longopts): Add "enforce-aligned-data". 273460484Sobrien (md_show_usage): Mention --enforce-aligned-data. 273560484Sobrien * doc/c-sparc.texi (Sparc-Aligned-Data): New node; document 273660484Sobrien enforce-aligned-data. 273760484Sobrien 273860484Sobrien * config/tc-ppc.c (md_pseudo_table): If OBJ_XCOFF, add "long", 2739218822Sdim "word", and "short". 274060484Sobrien (ppc_xcoff_cons): New static function. 274160484Sobrien 274260484Sobrien * write.c (relax_segment): Give an error if a .space symbol is 274360484Sobrien common or undefined. 274460484Sobrien 274560484Sobrien * read.c (read_a_source_file): Don't handle mri_pending_align if 274660484Sobrien the handler is s_globl or s_ignore. 274760484Sobrien 274860484SobrienThu Jan 30 11:46:59 1997 Fred Fish <fnf@cygnus.com> 274960484Sobrien 275060484Sobrien * config/tc-d10v.c (find_opcode): Remove unused variable "numops". 275160484Sobrien * config/tc-tic80.c: Many additions to previous placeholder file. 275260484Sobrien * config/tc-tic80.h: Ditto. 275360484Sobrien 275460484SobrienThu Jan 30 12:28:18 1997 Alan Modra <alan@spri.levels.unisa.edu.au> 275560484Sobrien 275660484Sobrien * config/tc-i386.c (i386_align_code): Improve the nop patterns. 275760484Sobrien 275860484SobrienThu Jan 30 12:08:40 1997 Ian Lance Taylor <ian@cygnus.com> 275960484Sobrien 276060484Sobrien * config/tc-mips.c (mips_fix_adjustable): New function. 276160484Sobrien * config/tc-mips.h (tc_fix_adjustable): Call mips_fix_adjustable. 276260484Sobrien (mips_fix_adjustable): Declare. 276360484Sobrien 276460484Sobrien Ideas from Srinivas Addagarla <srinivas@cdotd.ernet.in>: 276560484Sobrien * read.c (read_a_source_file): After doing an mri_pending_align, 276660484Sobrien adjust the line_label if there is one. 276760484Sobrien (s_space): Set mri_pending_align if an odd number of bytes were 276860484Sobrien output. 276960484Sobrien 277060484SobrienWed Jan 29 15:31:12 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 277160484Sobrien 277260484Sobrien * config/tc-d10v.h (md_do_align): Add this hook to call 277360484Sobrien d10v_cleanup() when a ".align" is detected. 277460484Sobrien 277560484Sobrien * config/tc-d10v.c (find_opcode): Correctly calculate 277660484Sobrien branch displacement when .aligns are present. 277760484Sobrien 277860484SobrienWed Jan 29 09:42:11 1997 Jeffrey A Law (law@cygnus.com) 277960484Sobrien 278060484Sobrien * config/tc-mn10200.c (md_relax_table): Define. 278160484Sobrien (md_convert_frag): Implement. 278260484Sobrien (md_assemble): Handle relaxable operands/instructions correctly. 278360484Sobrien (md_estimate_size_before_relax): Implement. 278460484Sobrien * config/tc-mn10200.h (TC_GENERIC_RELAX_TABLE): Define. 278560484Sobrien 278660484SobrienTue Jan 28 15:27:28 1997 Ian Lance Taylor <ian@cygnus.com> 278760484Sobrien 278860484Sobrien * config/tc-mips.c (append_insn): Give an error for jumps to a 278960484Sobrien misaligned address. 279060484Sobrien (md_apply_fix): Make a branch to an odd address an error rather 279160484Sobrien than a warning. 279260484Sobrien 279360484Sobrien * config/tc-mips.c (md_convert_frag): If the user explicitly 279460484Sobrien requested an extended opcode, pass warn as true to mips16_immed. 279560484Sobrien 279660484Sobrien * config/tc-mips.c (mips16_ip): Handle a missing expression like 279760484Sobrien an explicit 0, so that explicitly extended instructions work 279860484Sobrien correctly. 279960484Sobrien 280060484SobrienMon Jan 27 17:41:20 1997 Ian Lance Taylor <ian@cygnus.com> 280160484Sobrien 280260484Sobrien * ecoff.c (ecoff_build_symbols): Don't generate a local ECOFF 280360484Sobrien symbol for a common symbol. 280460484Sobrien 280560484SobrienWed Jan 22 10:39:39 1997 Doug Evans <dje@canuck.cygnus.com> 280660484Sobrien 280760484Sobrien Patch presumed to have been checked in awhile ago but wasn't. 280860484Sobrien Mon Nov 25 10:45:14 1996 Doug Evans <dje@seba.cygnus.com> 280960484Sobrien * write.c: Delete "ifndef md_relax_frag" around is_dnrange. 281060484Sobrien (relax_segment, case rs_org): Move code inside braces. Move locals 281160484Sobrien target,after inside too. 281260484Sobrien (relax_segment, case rs_machine_dependent): Guts moved to ... 281360484Sobrien (relax_frag): New function. 281460484Sobrien Call md_prepare_relax_scan if defined. 281560484Sobrien 281660484SobrienMon Jan 20 10:56:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 281760484Sobrien 281860484Sobrien * config/tc-m68k.c (m68k_ip): Reject pc-relative addresses for the 2819218822Sdim 'p' operand specifier. 282060484Sobrien 282160484SobrienMon Jan 20 10:39:36 1997 J.T. Conklin <jtc@cygnus.com> 282260484Sobrien 282360484Sobrien * config/tc-m68k.c (HAVE_LONG_BRANCH): New macro, returns true for 2824218822Sdim m68k family cpus which support long branch addressing modes. 282560484Sobrien (m68k_ip, md_convert_frag_1, md_estimate_size_before_relax, 2826218822Sdim md_create_long_jump): Use it. 282760484Sobrien 282860484SobrienMon Jan 20 12:42:06 1997 Ian Lance Taylor <ian@cygnus.com> 282960484Sobrien 283060484Sobrien * config/tc-mips.c (md_begin): Don't set SEC_ALLOC or SEC_LOAD for 283160484Sobrien the .reginfo or .MIPS.options section if configured for an 283260484Sobrien embedded target. 283360484Sobrien 283460484Sobrien * config/tc-mips.c (md_begin): Don't set interlocks for 283560484Sobrien mips_4650. 283660484Sobrien 283760484SobrienWed Jan 15 13:51:50 1997 Ian Lance Taylor <ian@cygnus.com> 283860484Sobrien 283960484Sobrien * read.c (read_a_source_file): Make sure the symbol ends with 284060484Sobrien whitespace before checking whether the next character is '='. 284160484Sobrien 284260484SobrienTue Jan 14 15:07:27 1997 Robert Lipe <robertl@dgii.com> 284360484Sobrien 284460484Sobrien * config/tc-i386.c (sco_id): Moved from here... 284560484Sobrien * config/obj-elf.c (sco_id): ...to here. Adding the identifier 284660484Sobrien really is an SCO ELF specific thing, not just a SCO x86 specific 284760484Sobrien thing. 284860484Sobrien 284960484SobrienMon Jan 13 22:43:01 1997 Michael Meissner <meissner@tiktok.cygnus.com> 285060484Sobrien 285160484Sobrien * configure.in (tic80-*-*): Don't require 'coff'. 285260484Sobrien * configure: Regenerate. 285360484Sobrien 285460484SobrienThu Jan 9 09:08:43 1997 Ian Lance Taylor <ian@cygnus.com> 285560484Sobrien 285660484Sobrien * read.c (emit_expr): Check for overflow of a negative value 285760484Sobrien correctly. 285860484Sobrien * write.c (fixup_segment): Likewise. 285960484Sobrien * config/obj-coff.c (fixup_segment): Likewise. 286060484Sobrien 286160484Sobrien * config/tc-m68k.c (struct label_line): Define. 286260484Sobrien (labels, current_label): New static variables. 286360484Sobrien (md_assemble): Mark current_label as text, and clear it. 286460484Sobrien (m68k_frob_label): New function. 286560484Sobrien (m68k_flush_pending_output): New function. 286660484Sobrien (m68k_frob_symbol): New function. 286760484Sobrien * config/tc-m68k.h (tc_frob_label): Define. 286860484Sobrien (md_flush_pending_output): Define. 286960484Sobrien (tc_frob_symbol): Don't warn, just call m68k_frob_symbol. 287060484Sobrien (tc_frob_coff_symbol): Likewise. 287160484Sobrien 287260484Sobrien * read.c (read_a_source_file): When defining a macro in MRI mode, 287360484Sobrien don't add the symbol to the symbol table. 287460484Sobrien 287560484SobrienTue Jan 7 11:21:42 1997 Jeffrey A Law (law@cygnus.com) 287660484Sobrien 287760484Sobrien * config/tc-mn10300.c (tc_gen_reloc): Handle sym1-sym2 fixups 287860484Sobrien here since fixup_segment doesn't (linkrelax is set). 287960484Sobrien * config/tc-mn10200.c (tc_gen_reloc): Likewise. 288060484Sobrien 288160484SobrienMon Jan 6 15:19:32 1997 Jeffrey A Law (law@cygnus.com) 288260484Sobrien 288360484Sobrien * config/tc-mn10200.c (md_assemble): Tweak fx_offset for pc-relative 288460484Sobrien relocs. 288560484Sobrien 288660484SobrienFri Jan 3 16:47:08 1997 Jeffrey A Law (law@cygnus.com) 288760484Sobrien 288860484Sobrien * config/tc-hppa.c (struct hppa_fix_struct): Tweak fx_r_field's type 288960484Sobrien to avoid warnings with the native HP compiler. 289060484Sobrien (fix_new_hppa): Similarly for the r_type argument. 289160484Sobrien (pa_build_unwind_subspace, hppa_elf_mark_end_of_function): Enclose 289260484Sobrien in an #if OBJ_ELF to keep gcc -Wall quiet. 289360484Sobrien (md_apply_fix): Always initialize "result". 289460484Sobrien 289560484Sobrien * config/tc-mn10200.c (md_assemble): Generate relocations. 289660484Sobrien 289760484SobrienFri Jan 3 18:17:23 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 289860484Sobrien 289960484Sobrien * config/tc-m68k.c (s_even): Adjust the alignment of the current 290060484Sobrien section. 290160484Sobrien 290260484SobrienFri Jan 3 17:10:33 1997 Richard Henderson <rth@tamu.edu> 290360484Sobrien 290460484Sobrien * config/obj-elf.c (elf_file_symbol): When using ECOFF debugging, 290560484Sobrien pass on the new file hook. 290660484Sobrien 290760484Sobrien * config/tc-alpha.c (alpha_fix_adjustable): Not quite the same as 290860484Sobrien !alpha_force_relocation, as local LITERALs can be adjusted to be 290960484Sobrien relative to the section. 291060484Sobrien 291160484SobrienFri Jan 3 12:09:24 1997 Ian Lance Taylor <ian@cygnus.com> 291260484Sobrien 291360484Sobrien * config/obj-coff.c (yank_symbols): If tc_frob_coff_symbol is 291460484Sobrien defined, call it. 291560484Sobrien * config/tc-m68k.h (tc_frob_symbol): Check whether text label is 291660484Sobrien aligned to odd boundary. 291760484Sobrien (tc_frob_coff_symbol): Define. 291860484Sobrien 291960484Sobrien * doc/as.texinfo (Set): Change parenthesized @xref to @pxref. 292060484Sobrien 292160484Sobrien * macro.c (macro_expand_body): In MRI mode, just copy a single &. 292260484Sobrien 292360484Sobrien * config/tc-m68k.c (m68k_ip): Call frag_grow before adding a 292460484Sobrien PCINDEX frag. From Ronald F. Guilmette <rfg@monkeys.com>. 292560484Sobrien 292660484Sobrien * config/tc-m68k.c (m68k_ip): Accept 'B' as a size for an 292760484Sobrien immediate value. 292860484Sobrien (md_assemble): If the size is 'B', set fx_signed. 292960484Sobrien (md_apply_fix_2): Use fx_signed when checking for overflow. 293060484Sobrien 293160484Sobrien * write.h (struct fix): Add fx_signed field. 293260484Sobrien * write.c (fix_new_internal): Initialize fx_no_overflow and 293360484Sobrien fx_signed fields. 293460484Sobrien (fixup_segment): Use fx_signed when checking for overflow. 293560484Sobrien * config/obj-coff.c (fixup_segment): Check fx_no_overflow and 293660484Sobrien fx_signed when checking for overflow. 293760484Sobrien 293860484SobrienThu Jan 2 13:37:29 1997 Ian Lance Taylor <ian@cygnus.com> 293960484Sobrien 294060484Sobrien * NOTES, NOTES.config: Removed. These are rarely, if ever, 294160484Sobrien updated, and all the useful information is in doc/internals.texi. 294260484Sobrien 294360484Sobrien Based on patch from Ronald F. Guilmette <rfg@monkeys.com>: 294460484Sobrien * read.c (read_a_source_file): Check for conditional operators 294560484Sobrien before doing an MRI pending alignment. 294660484Sobrien * config/tc-m68k.h (m68k_conditional_pseudoop): Declare. 294760484Sobrien (tc_conditional_pseudop): Define. 294860484Sobrien * config/tc-m68k.c (m68k_conditional_pseudop): New function. 294960484Sobrien * doc/internals.texi (CPU backend): Describe 295060484Sobrien tc_conditional_pseudoop. 295160484Sobrien 295260484Sobrien Based on patch from Ronald F. Guilmette <rfg@monkeys.com>: 295360484Sobrien * config/tc-m68k.c (m68k_rel32_from_cmdline): New static 295460484Sobrien variable. 295560484Sobrien (md_begin): Check m68k_rel32_from_cmdline before setting 295660484Sobrien m68k_rel32. 295760484Sobrien (m68k_mri_mode_change): Likewise. 295860484Sobrien (md_longopts): Add --disp-size-default-16 and 295960484Sobrien --disp-size-default-32. 296060484Sobrien (md_parse_option): Handle new options. 296160484Sobrien (md_show_usage): Mention new options. 296260484Sobrien * doc/c-m68k.texi (M68K-Opts): Document new options. 296360484Sobrien 296460484Sobrien Based on patch from Ronald F. Guilmette <rfg@monkeys.com>: 296560484Sobrien * config/tc-m68k.c (m68k_index_width_default): New static 296660484Sobrien variable. 296760484Sobrien (m68k_ip): Use m68k_index_width_default to set the size of a base 296860484Sobrien register whose size was not given. 296960484Sobrien (md_longopts): Add --base-size-default-16 and 297060484Sobrien --base-size-default-32. 297160484Sobrien (md_parse_option): Handle new options. 297260484Sobrien (md_show_usage): Mention new options. 297360484Sobrien * doc/c-m68k.texi (M68K-Opts): Document new options. 297460484Sobrien 297560484Sobrien * doc/c-mips.texi: Mention ISA level 4, and the -mips16 option. 297660484Sobrien 297760484Sobrien * configure.in: Recognize mips-*-linux* target. 297860484Sobrien * configure: Rebuild. 297960484Sobrien 298060484Sobrien * config/tc-mips.c (load_register): Rewrite 64 bit handling to 298160484Sobrien work if valueT is only 32 bits. 298260484Sobrien 298360484Sobrien * config/tc-mips.c: Throughout, check target_big_endian rather 2984218822Sdim than byte_order. 2985218822Sdim (byte_order): Remove. 298660484Sobrien (mips_init_after_args): Remove. 298760484Sobrien * config/tc-mips.h (LITTLE_ENDIAN, BIG_ENDIAN): Don't define. 298860484Sobrien (mips_init_after_args): Don't declare. 298960484Sobrien (tc_init_after_args): Don't define. 299060484Sobrien 299160484Sobrien * config/tc-mips.h (tc_frob_after_relocs): Define if 299260484Sobrien OBJ_MAYBE_ELF. 299360484Sobrien (mips_elf_final_processing): Likewise. 299460484Sobrien (ELF_TC_SPECIAL_SECTIONS): Likewise. 299560484Sobrien 299660484SobrienTue Dec 31 15:12:35 1996 Michael Meissner <meissner@tiktok.cygnus.com> 299760484Sobrien 299860484Sobrien * config/tc-v850.c (md_assemble): If this is sst.{h,w} or 299960484Sobrien sld.{h,w} and the operand is relocatable, adjust the adend by 300060484Sobrien shifting it right one bit. 300160484Sobrien 300260484SobrienTue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com> 300360484Sobrien 300460484Sobrien * read.c (read_a_source_file): Check mri_pending_align after 300560484Sobrien checking for a macro. From Ronald F. Guilmette 300660484Sobrien <rfg@monkeys.com>. 300760484Sobrien 300860484Sobrien * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. 300960484Sobrien 301060484Sobrien * config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and 3011218822Sdim add segment argument. If OBJ_ELF, treat a relocation against a 3012218822Sdim symbol in a linkonce section like a relocation against an external 3013218822Sdim symbol. 301460484Sobrien * config/tc-sparc.h (MD_APPLY_FIX3): Define. 301560484Sobrien 301660484SobrienMon Dec 30 11:35:40 1996 Ian Lance Taylor <ian@cygnus.com> 301760484Sobrien 301860484Sobrien * config/tc-mips.c (mips16_macro): Add case for M_ABS. 301960484Sobrien 302060484SobrienFri Dec 27 22:51:51 1996 Fred Fish <fnf@cygnus.com> 302160484Sobrien 302260484Sobrien * NOTES.config (Implementation): as.h #define's "GAS" not "gas", 302360484Sobrien includes config.h instead of host.h, tc.h instead of tp.h, and 302460484Sobrien targ-env.h instead of target-environment.h. 302560484Sobrien Also, obj-format.h includes targ-cpu.h instead of 3026218822Sdim target-processor.h. 302760484Sobrien * configure.in (case ${generic_target}): Add tic80-*-coff entry. 302860484Sobrien * configure: Rebuild with autoconf. 302960484Sobrien * config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined. 303060484Sobrien (TARGET_FORMAT): Define to "coff-tic80". 303160484Sobrien * config/tc-tic80.c: New file for TIc80 support. 303260484Sobrien * config/tc-tic80.h: New file for TIc80 support. 3033218822Sdim 303460484SobrienFri Dec 27 11:42:29 1996 Ian Lance Taylor <ian@cygnus.com> 303560484Sobrien 303660484Sobrien * doc/as.texinfo (M): Mention explicitly that -M changes macro 303760484Sobrien handling. 303860484Sobrien 303960484SobrienThu Dec 19 12:06:08 1996 Ian Lance Taylor <ian@cygnus.com> 304060484Sobrien 304160484Sobrien * write.c (adjust_reloc_syms): If the fixup symbol has been 304260484Sobrien equated to an undefined symbol, convert the fixup to being against 304360484Sobrien the target symbol. Remove obsolete code handling a special case 304460484Sobrien for i386 PIC. 304560484Sobrien 304660484SobrienWed Dec 18 22:54:39 1996 Stan Shebs <shebs@andros.cygnus.com> 304760484Sobrien 304860484Sobrien * mpw-make.sed: Use NewFolderRecursive for installation. 304960484Sobrien 305060484SobrienWed Dec 18 16:00:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 305160484Sobrien 305260484Sobrien * config/tc-d10v.c (do_assemble): Correct previous bug fix. 305360484Sobrien 305460484SobrienWed Dec 18 15:27:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 305560484Sobrien 305660484Sobrien * config/tc-d10v.c (md_assemble): Fix bug which caused 305760484Sobrien second instruction in a line to be case sensitize. 305860484Sobrien 305960484SobrienWed Dec 18 10:08:46 1996 Jeffrey A Law (law@cygnus.com) 306060484Sobrien 306160484Sobrien * config/tc-mn10200.c (mn10200_insert_operand): Don't 306260484Sobrien range check operands with MN10200_OPERAND_NOCHECK set. 306360484Sobrien (check_operand): Likewise. 306460484Sobrien 306560484SobrienTue Dec 17 10:59:32 1996 Ian Lance Taylor <ian@cygnus.com> 306660484Sobrien 306760484Sobrien * config/tc-mips.c: Undo part of last Friday's alignment changes. 3068218822Sdim (md_begin): Always align the text section to a four byte 306960484Sobrien boundary. 307060484Sobrien (append_insn): Remove call to record_align. 307160484Sobrien 307260484Sobrien * config/tc-mips.c (insn_label): Remove. 307360484Sobrien (struct insn_label_list): Define. 307460484Sobrien (insn_labels, free_insn_labels): New static variables. 307560484Sobrien (mips_clear_insn_labels): New static function. 307660484Sobrien (append_insn): Mark all mips16 text labels, and make them odd. 307760484Sobrien Handle all labels after emitting a nop, not just one. Call 307860484Sobrien mips_clear_insn_labels rather than just clearing insn_label. 307960484Sobrien (mips_emit_delays): Add insns parameter, and use it to decide 308060484Sobrien whether to mark mips16 labels. Handle all labels, not just one. 308160484Sobrien Force mips16 labels to be odd. Change all callers. 308260484Sobrien (mips16_immed): Don't check for an odd branch target. 308360484Sobrien (md_apply_fix): Don't check mips16 mode for a branch reloc. 308460484Sobrien (mips16_extended_frag): Ignore the low bit in a branch target. 308560484Sobrien (md_convert_frag): Likewise. 308660484Sobrien (mips_no_prev_insn): Call mips_clear_insn_labels rather than just 308760484Sobrien clearing insn_label. 308860484Sobrien (mips_align, mips_flush_pending_output, s_cons): Likewise. 308960484Sobrien (s_float_cons, s_gpword): Likewise. 309060484Sobrien (s_align): Use insn_labels rather than insn_label. 309160484Sobrien (s_cons, s_float_cons, s_gpword): Likewise. 309260484Sobrien (mips_frob_file_after_relocs): New function. 309360484Sobrien (mips_define_label): Rewrite to add to insn_labels list. 309460484Sobrien * config/tc-mips.h (tc_frob_file_after_relocs): Define. 309560484Sobrien * ecoff.c (ecoff_build_symbols): If the size of a function comes 309660484Sobrien out odd, increment it. 309760484Sobrien 309860484Sobrien * config/tc-mips.c (append_insn): Only update prev_insn when not 309960484Sobrien reordering if place is NULL. 310060484Sobrien 310160484Sobrien * config/tc-mips.c (mips16_ip): Check for a missing expression 310260484Sobrien when using the register indirect addressing mode. 310360484Sobrien 310460484SobrienMon Dec 16 10:08:46 1996 Jeffrey A Law (law@cygnus.com) 310560484Sobrien 310660484Sobrien * config/tc-mn10200.c (mn10200_insert_operand): Don't 310760484Sobrien check 24bit operands for overflow. 310860484Sobrien (check_operand): Likewise. 310960484Sobrien 311060484SobrienMon Dec 16 11:50:40 1996 Ian Lance Taylor <ian@cygnus.com> 311160484Sobrien 311260484Sobrien * doc/as.texinfo (Section): Document how to use the .section 311360484Sobrien pseudo-op for COFF and ELF. 311460484Sobrien 311560484SobrienSun Dec 15 15:26:37 1996 Ian Lance Taylor <ian@cygnus.com> 311660484Sobrien 311760484Sobrien * write.c (adjust_reloc_syms): Fix linkonce check for ELF. 311860484Sobrien 311960484SobrienSat Dec 14 22:37:27 1996 Ian Lance Taylor <ian@cygnus.com> 312060484Sobrien 312160484Sobrien * config/tc-mips.c (prev_insn_reloc_type): New static variable. 312260484Sobrien (RELAX_MIPS16_ENCODE): Add dslot and jal_dslot arguments, and 312360484Sobrien store them. Adjust other RELAX_MIPS16 macros. 312460484Sobrien (RELAX_MIPS16_DSLOT): Define. 312560484Sobrien (RELAX_MIPS16_JAL_DSLOT): Define. 312660484Sobrien (append_insn): Pass new arguments to RELAX_MIPS16_ENCODE. Correct 312760484Sobrien handling of whether previous instruction has a fixup. Set 312860484Sobrien prev_insn_reloc_type. 312960484Sobrien (mips_no_prev_insn): Clear prev_insn_reloc_type. 313060484Sobrien (mips16_extended_frag): Use the right base address for a PC 313160484Sobrien relative add or load. 313260484Sobrien (md_convert_frag): Likewise. If a PC relative add or load is 313360484Sobrien used, record the alignment for the section. 313460484Sobrien 313560484SobrienFri Dec 13 13:00:33 1996 Ian Lance Taylor <ian@cygnus.com> 313660484Sobrien 313760484Sobrien * write.c (adjust_reloc_syms): Don't reduce a reloc against a 313860484Sobrien linkonce section into a reloc against the section symbol. 313960484Sobrien 314060484Sobrien * config/tc-mips.c (mips16_macro): Remove nop instructions after 314160484Sobrien branch instructions. 314260484Sobrien 314360484Sobrien * config/tc-mips.c (md_begin): If configured for an embedded ELF 314460484Sobrien system, don't set the section alignment to 2**4. 314560484Sobrien (s_change_sec): Likewise. 314660484Sobrien (append_insn): Call record_alignment for the section. 314760484Sobrien (md_section_align): Don't align the section size for an embedded 314860484Sobrien ELF system. 314960484Sobrien 315060484SobrienThu Dec 12 16:40:47 1996 Ian Lance Taylor <ian@cygnus.com> 315160484Sobrien 315260484Sobrien * write.c (adjust_reloc_syms): Make sure that symbols are 315360484Sobrien resolved; expression symbols may have been skipped. 315460484Sobrien * config/obj-coff.c (fixup_segment): Likewise. 315560484Sobrien 315660484SobrienThu Dec 12 15:18:21 1996 Michael Meissner <meissner@tiktok.cygnus.com> 315760484Sobrien 315860484Sobrien * config/tc-ppc.c (ppc_elf_suffix): Move @plt to 315960484Sobrien BFD_RELOC_24_PLT_PCREL relocation. 316060484Sobrien (md_apply_fix3): Support BFD_RELOC_24_PLT_PCREL. 316160484Sobrien 316260484SobrienTue Dec 10 13:51:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 316360484Sobrien 316460484Sobrien * config/tc-d10v.c (write_2_short): Remove code that called 316560484Sobrien parallel_ok() when the programmer specified parallel instructions. 316660484Sobrien 316760484SobrienTue Dec 10 12:23:19 1996 Jeffrey A Law (law@cygnus.com) 316860484Sobrien 316960484Sobrien * config/tc-mn10300.c (md_assemble): Update to handle endianness 317060484Sobrien issues correctly. 317160484Sobrien 317260484Sobrien * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid! 317360484Sobrien * config/tc-mn10300.c (md_assemble): Likewise. 317460484Sobrien 317560484SobrienTue Dec 10 11:37:14 1996 Ian Lance Taylor <ian@cygnus.com> 317660484Sobrien 317760484Sobrien * config/tc-mips.c (append_insn): Make sure there is enough room 317860484Sobrien in a frag after a mips16 instruction to switch it with a jump 317960484Sobrien instruction. 318060484Sobrien 318160484Sobrien * config/tc-mips.c (mips16_extended_frag): Give an error for an 318260484Sobrien attempt to use a non absolute symbol in an extending frag. 318360484Sobrien 318460484SobrienMon Dec 9 16:48:20 1996 Jeffrey A Law (law@cygnus.com) 318560484Sobrien 318660484Sobrien * config/tc-mn10200.c: Flesh out assembler support for MN10200. 318760484Sobrien * config/tc-mn10200.h: Likewise. 318860484Sobrien 318960484SobrienMon Dec 9 17:09:42 1996 Ian Lance Taylor <ian@cygnus.com> 319060484Sobrien 319160484Sobrien * app.c (do_scrub_chars): At the end of a C comment, pass space to 319260484Sobrien UNGET rather than PUT. Set old_state before setting state to -2. 319360484Sobrien 319460484Sobrien * config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop 319560484Sobrien when extending because the value is exactly maxtiny + 1. 319660484Sobrien 319760484Sobrien * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext 319860484Sobrien arguments, and store them. Adjust other RELAX_MIPS16 macros. 319960484Sobrien (RELAX_MIPS16_USER_SMALL): Define. 320060484Sobrien (RELAX_MIPS16_USER_EXT): Define. 320160484Sobrien (mips16_small, mips16_ext): New static variables. 320260484Sobrien (append_insn): Pass mips16_small and mips16_ext to 320360484Sobrien RELAX_MIPS16_ENCODE. 320460484Sobrien (mips16_ip): Set mips16_small and mips16_ext. 320560484Sobrien (mips16_immed): Don't check mips16_autoextend. 320660484Sobrien (mips16_extended_frag): Check USER_SMALL and USER_EXT. 320760484Sobrien 320860484Sobrien * write.c (write_relocs): Print an error for an out of range 320960484Sobrien fixup, rather than calling abort. 321060484Sobrien 321160484Sobrien * as.c (main): Unlink the output file if there are errors while 321260484Sobrien generating the fixups. 321360484Sobrien 321460484SobrienFri Dec 6 18:48:13 1996 Ian Lance Taylor <ian@cygnus.com> 321560484Sobrien 321660484Sobrien * config/tc-mips.c (mips16_extended_frag): Don't call 321760484Sobrien S_GET_VALUE. 321860484Sobrien (md_convert_frag): Call resolve_symbol_value before calling 321960484Sobrien S_GET_VALUE, and don't add in the frag address. 322060484Sobrien 322160484Sobrien * config/tc-mips.c (mips16_immed): Add file and line parameters, 322260484Sobrien and use them when reporting errors. Change all callers. 322360484Sobrien 322460484SobrienFri Dec 6 15:36:32 1996 Jeffrey A Law (law@cygnus.com) 322560484Sobrien 322660484Sobrien * config/tc-mn10300.c: Fix various gcc -Wall warnings. 322760484Sobrien Remove '$' prefixing for registers. 322860484Sobrien 322960484SobrienFri Dec 6 00:55:48 1996 Martin <hunt@cygnus.com> 323060484Sobrien 323160484Sobrien * config/tc-d10v.c (md_assemble): Check to see if prev_seg 323260484Sobrien is initialized before using it. 323360484Sobrien (d10v_cleanup): No longer uses its argument, so make it void. 323460484Sobrien 323560484Sobrien * config/tc-d10v.h (d10v_cleanup): Change prototype. 3236218822Sdim 323760484SobrienThu Dec 5 11:03:31 1996 Ian Lance Taylor <ian@cygnus.com> 323860484Sobrien 323960484Sobrien * write.c (fixup_segment): Don't discard the symbol for a PC 324060484Sobrien relative fixup to an absolute symbol. 324160484Sobrien 324260484SobrienWed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 324360484Sobrien 324460484Sobrien * config/tc-d10v.c (md_assemble, d10v_cleanup): Fix bug 324560484Sobrien with multiple sections. 324660484Sobrien 324760484SobrienWed Dec 4 13:00:07 1996 Ian Lance Taylor <ian@cygnus.com> 324860484Sobrien 324960484Sobrien * config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and 325060484Sobrien no-mips-16 to no-mips16. 325160484Sobrien (s_mipsset): Accept .set mips16 and .set nomips16. 325260484Sobrien 325360484SobrienWed Dec 4 10:35:33 1996 Michael Meissner <meissner@tiktok.cygnus.com> 325460484Sobrien 325560484Sobrien * config/tc-ppc.c (ppc_elf_suffix): Take expressionS pointer 325660484Sobrien argument, and check for +/- constant following the suffix, folding 325760484Sobrien it into the expression. 325860484Sobrien (ppc_elf_cons): Change ppc_elf_suffix calls. 325960484Sobrien (md_assemble): Ditto. 326060484Sobrien (shlib): Replace boolean mrelocatable with enumeration shlib. 326160484Sobrien (md_parse_option): Discriminate between PIC style shared libraries 326260484Sobrien and -mrelocatable. 326360484Sobrien (ppc_elf_validate_fix): Don't report warnings for PIC style shared 326460484Sobrien libraries. 326560484Sobrien 326660484SobrienTue Dec 3 23:18:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> 326760484Sobrien 326860484Sobrien * config/tc-ppc.h ({tc,ppc}_comment_chars): Define, so that we can 326960484Sobrien change the comment characters. 327060484Sobrien 327160484Sobrien * config/tc-ppc.c (comment_chars): Delete in favor of 327260484Sobrien tc_comment_chars. 327360484Sobrien (ppc_{eabi,solaris}_comment_chars): Eabi and Solaris versions of 327460484Sobrien comment chars. 327560484Sobrien (ppc_comment_chars): Select appropriate comment chars by default. 327660484Sobrien (msolaris): New flag for -m{,no-}solaris. 327760484Sobrien (md_parse_option): Recognize -K pic. Add support for 327860484Sobrien -m{,no-}solaris. 327960484Sobrien (md_show_usage): Update. 328060484Sobrien (md_begin): Do not set ELF flags if Solaris. 328160484Sobrien (ppc_elf_suffix): @local sets R_PPC_LOCAL24PC relocation. 328260484Sobrien (md_apply_fix3): Add support for R_PPC_LOCAL24PC. 328360484Sobrien 328460484SobrienMon Dec 2 13:48:57 1996 Ian Lance Taylor <ian@cygnus.com> 328560484Sobrien 328660484Sobrien * as.c (main): Correct handling of flag_always_generate_output. 328760484Sobrien 328860484SobrienSun Dec 1 21:46:05 1996 Jeffrey A Law (law@cygnus.com) 328960484Sobrien 329060484Sobrien * config/tc-mn10300.c (tc_gen_reloc): Get the addend from 329160484Sobrien fx_offset, not fx_addnumber. 329260484Sobrien 329360484Sobrien * config/tc-mn10300.h (tc_fix_adjustable): Don't do any 329460484Sobrien reloc adjustments. 329560484Sobrien 329660484SobrienSat Nov 30 17:34:48 1996 Eliot Dresselhaus <eliot@wally.edc.com> 329760484Sobrien 329860484Sobrien * config/tc-i386.c: Correct misspelling: balenced to balanced. 329960484Sobrien 330060484SobrienWed Nov 27 13:25:39 1996 Ian Lance Taylor <ian@cygnus.com> 330160484Sobrien 330260484Sobrien * config/tc-mips.c (md_section_align): Check for an alignment of 330360484Sobrien 4, not an alignment of 16. Corrects August 7 patch. 330460484Sobrien 330560484SobrienTue Nov 26 10:33:16 1996 Ian Lance Taylor <ian@cygnus.com> 330660484Sobrien 330760484Sobrien * configure, conf.in: Rebuild with autoconf 2.12. 330860484Sobrien 330960484Sobrien * config/tc-ppc.c (ppc_elf_lcomm): Don't give an error if no 331060484Sobrien alignment is specified. 331160484Sobrien 331260484Sobrien Add support for mips16 (16 bit MIPS implementation): 331360484Sobrien * config/tc-mips.c: Extensive additions for mips16 support, not 331460484Sobrien listed here. 331560484Sobrien (RELAX_OLD, RELAX_NEW): Use only 7 bits each. 331660484Sobrien (insn_uses_reg): Change last parameter to an enum. 331760484Sobrien * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Define as 0. 331860484Sobrien (md_relax_frag): Define as mips_relax_frag. 331960484Sobrien (mips_relax_frag): Declare. 332060484Sobrien (struct mips_cl_insn): Add use_extend and extend fields. 332160484Sobrien (tc_fix_adjustable): Define. 332260484Sobrien * config/obj-elf.h (S_GET_OTHER): Define. 332360484Sobrien (S_SET_OTHER): Define. 332460484Sobrien 332560484SobrienMon Nov 25 18:02:29 1996 J.T. Conklin <jtc@beauty.cygnus.com> 332660484Sobrien 332760484Sobrien * config/tc-m68k.c (m68k_ip): Implement cases for new <, >, m, n, 3328218822Sdim o and p operand specifiers. 332960484Sobrien 333060484SobrienMon Nov 25 10:45:14 1996 Doug Evans <dje@seba.cygnus.com> 333160484Sobrien 333260484Sobrien * write.c: Delete "ifndef md_relax_frag" around is_dnrange. 333360484Sobrien (relax_segment, case rs_org): Move code inside braces. Move locals 333460484Sobrien target,after inside too. 333560484Sobrien (relax_segment, case rs_machine_dependent): Guts moved to ... 333660484Sobrien (relax_frag): New function. 333760484Sobrien Call md_prepare_relax_scan if defined. 333860484Sobrien * config/tc-m68k.h (md_prepare_relax_scan): Renamed from 333960484Sobrien M68K_AIM_KLUDGE. 334060484Sobrien 334160484SobrienMon Nov 25 08:49:36 1996 Jeffrey A Law (law@cygnus.com) 334260484Sobrien 334360484Sobrien * config/tc-mn10300.c (address_registers): Use '$' as register 334460484Sobrien prefix instead of '%'. 334560484Sobrien (data_registers, other_registers, md_assemble): Likewise. 334660484Sobrien 334760484Sobrien * config/tc-mn10300.c (address_registers): Use '%' prefix for regs. 334860484Sobrien (data_registers, other_registers, md_assemble): Likewise. 334960484Sobrien 335060484Sobrien * config/tc-mn10300.c (md_assemble): Correctly determine the 335160484Sobrien correct location and type for each relocation. 335260484Sobrien (md_pcrel_from): Simplify. 335360484Sobrien 335460484SobrienFri Nov 22 15:42:26 1996 Ian Lance Taylor <ian@cygnus.com> 335560484Sobrien 335660484Sobrien * config/tc-sh.c (md_convert_frag): Improve warning when branch is 335760484Sobrien converted into branch around branch. 335860484Sobrien 335960484SobrienThu Nov 21 11:56:11 1996 Jeffrey A Law (law@cygnus.com) 336060484Sobrien 336160484Sobrien * config/tc-mn10300.h (DIFF_EXPR_OK): Don't define this. 3362218822Sdim (tc_fix_adjustable): Don't adjust relocs against weak symbols or 336360484Sobrien pc-relative relocs. 336460484Sobrien * config/tc-mn10300.c (md_begin): Set linkrelax. 336560484Sobrien (md_assemble): Create fixups as needed. 336660484Sobrien (md_apply_fix3): Gut. It shouldn't ever get called anymore. 336760484Sobrien 336860484SobrienTue Nov 19 17:48:06 1996 Michael Meissner <meissner@tiktok.cygnus.com> 336960484Sobrien 337060484Sobrien * config/tc-d10v.c (parallel_ok): When automatically converting 337160484Sobrien serial ops to parallel, do not consider a branch as the first 337260484Sobrien instruction. 337360484Sobrien 337460484SobrienTue Nov 19 13:35:22 1996 Jeffrey A Law (law@cygnus.com) 337560484Sobrien 337660484Sobrien * config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST. 337760484Sobrien 337860484SobrienMon Nov 18 15:26:55 1996 Jeffrey A Law (law@cygnus.com) 337960484Sobrien 338060484Sobrien * config/tc-mn10300.c (mn10300_insert_operand): Provide prototype 338160484Sobrien via PARAMS. 338260484Sobrien (check_operand): Likewise. 338360484Sobrien 338460484SobrienMon Nov 18 15:22:28 1996 Michael Meissner <meissner@tiktok.cygnus.com> 338560484Sobrien 338660484Sobrien * config/tc-d10v.c (parallel_ok): Branch and link instructions 338760484Sobrien modify r13. 338860484Sobrien (write_2_short): Call parallel_ok to check whether two short 338960484Sobrien instructions the user requested execute in parallel, can be 339060484Sobrien executed that way. 339160484Sobrien 339260484SobrienThu Nov 14 11:17:49 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 339360484Sobrien 339460484Sobrien * config/tc-d10v.c (write_2_short): Fix bug that wouldn't 339560484Sobrien allow a branch and link in parallel with an exe instruction. 339660484Sobrien 339760484SobrienFri Nov 8 13:55:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 339860484Sobrien 339960484Sobrien * doc/c-d10v.texi: Add info on @word modifier. 340060484Sobrien 340160484SobrienWed Nov 6 13:46:07 1996 Jeffrey A Law (law@cygnus.com) 3402218822Sdim 340360484Sobrien * config/tc-mn10300.c (mn10300_insert_operand): MN10300_OPERAND_SPLIT 340460484Sobrien operands are assumed to be 32bits. Use "bits" field to hold the 340560484Sobrien number of bits in the main instruction word for MN10300_OPERAND_SPLIT. 340660484Sobrien (mn10300_check_operand): MN10300_OPERAND_SPLIT operands are assumed 340760484Sobrien to be 32bits. 340860484Sobrien 340960484Sobrien * config/tc-mn10300.c (mn10300_insert_operand): Shift low part 341060484Sobrien of a MN10300_OPERAND_SPLIT operand by operand->shift. 341160484Sobrien 341260484Sobrien * config/tc-mn10300.c (mn10300_insert_operand): Handle 341360484Sobrien MN10300_OPERAND_SPLIT. 341460484Sobrien 341560484SobrienTue Nov 5 13:30:40 1996 Jeffrey A Law (law@cygnus.com) 341660484Sobrien 341760484Sobrien * config/tc-mn10300.c (md_assemble): Insert operands into 341860484Sobrien the extension part of the instruction if necessary. 341960484Sobrien (mn10300_insert_operand): Accept pointer to extension word 342060484Sobrien argument. Make insn a pointer argument too. Return type 342160484Sobrien is now void. All callers changed. 342260484Sobrien 342360484SobrienMon Nov 4 12:53:40 1996 Jeffrey A Law (law@cygnus.com) 342460484Sobrien 342560484Sobrien * config/tc-mn10300.c (mn10300_insert_operand): Handle 342660484Sobrien repeated register operands. 342760484Sobrien 342860484SobrienFri Nov 1 10:42:49 1996 Ian Lance Taylor <ian@cygnus.com> 342960484Sobrien 343060484Sobrien * doc/as.texinfo: Added section on reporting bugs. 343160484Sobrien 343260484Sobrien * config/tc-alpha.c: Change uses of void * to PTR. Change the 343360484Sobrien alpha_macro emit field to expect a const argument, and change the 343460484Sobrien arg field to be const. Fix some spacing to follow the GNU 343560484Sobrien standard. 343660484Sobrien 343760484SobrienFri Nov 1 10:32:03 1996 Richard Henderson <rth@tamu.edu> 343860484Sobrien 343960484Sobrien * config/tc-alpha.c (md_parse_option): Add knowledge of 21164pc 344060484Sobrien (pca56) and 21264 (ev6) cpus. 344160484Sobrien (md_apply_fix): Private relocation types are now negative. 344260484Sobrien (alpha_force_relocation): Likewise. 344360484Sobrien (tc_gen_reloc): Likewise. 344460484Sobrien (emit_insn): Likewise. 344560484Sobrien (emit_ldXu): Do the right thing when the hardware can do byte insns. 344660484Sobrien (emit_stX): Likewise. 344760484Sobrien (emit_sextX): Likewise. 344860484Sobrien 344960484SobrienThu Oct 31 16:33:21 1996 Ian Lance Taylor <ian@cygnus.com> 345060484Sobrien 345160484Sobrien * config/obj-coff.c (do_relocs_for): Call resolve_symbol_value on 345260484Sobrien a symbol found in a reloc. 345360484Sobrien 345460484Sobrien * symbols.c (resolve_symbol_value): Improve the error message if 345560484Sobrien an undefined symbol is used in an expression. 345660484Sobrien 345760484SobrienWed Oct 30 20:15:35 1996 Ian Lance Taylor <ian@cygnus.com> 345860484Sobrien 345960484Sobrien * doc/internals.texi: Rewrite, and add a lot of documentation. 346060484Sobrien * doc/Makefile.in (internals.info): New target. 346160484Sobrien 346260484SobrienWed Oct 30 14:55:57 1996 Jeffrey A Law (law@cygnus.com) 346360484Sobrien 346460484Sobrien * config/tc-v850.h (tc_fix_adjustable): Don't adjust relocs 346560484Sobrien against weak symbols. 346660484Sobrien 346760484SobrienTue Oct 29 12:28:16 1996 Jeffrey A Law (law@cygnus.com) 346860484Sobrien 346960484Sobrien * config/tc-v850.c (md_assemble): Don't lose for relaxable 347060484Sobrien addresses like .+6. 347160484Sobrien 347260484Sobrien * config/tc-v850.c (md_convert_frag): Make sure we insert the 347360484Sobrien fixup at the right address within the frag. 347460484Sobrien 347560484Sobrien * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix 347660484Sobrien to an absolute value, instead increment it as needed. 347760484Sobrien 347860484Sobrien * config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define. 347960484Sobrien * config/tc-v850.c: Fix some indention problems. 348060484Sobrien (md_relax_table): Define for D9->D99 branch displacement 348160484Sobrien relaxing. 348260484Sobrien (md_convert_frag): Do something useful instead of aborting. 348360484Sobrien (md_estimate_size_before_relax): Likewise. 348460484Sobrien (md_assemble): Note if the matching instruction has a relaxable 348560484Sobrien operand. If it does, allocate frag with frag_var and don't 348660484Sobrien do any fixups. 348760484Sobrien 348860484SobrienMon Oct 28 10:48:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 348960484Sobrien 349060484Sobrien * config/tc-d10v.h (md_cleanup): New function. This is needed to 349160484Sobrien write out any buffered instructions when a ".end" is found. 349260484Sobrien 349360484SobrienMon Oct 28 10:43:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 349460484Sobrien 349560484Sobrien * read.c (read_a_source_file): New hook md_cleanup(). 349660484Sobrien 349760484SobrienFri Oct 25 00:01:00 1996 Ian Lance Taylor <ian@cygnus.com> 349860484Sobrien 349960484Sobrien * write.c (fix_new_exp): Use make_expr_symbol to build an 350060484Sobrien expression symbol for a complex fixup. 350160484Sobrien 350260484SobrienThu Oct 24 14:31:04 1996 Jeffrey A Law (law@cygnus.com) 350360484Sobrien 350460484Sobrien * config/tc-v850.c (v850_reloc_prefix): Several disgusting 350560484Sobrien hacks to improve parsing of complex hi, lo, zda, etc 350660484Sobrien expressions. 350760484Sobrien (md_assemble): Don't demand and eat a trailing ')' after finding 350860484Sobrien a v850 relocation prefix. Sign extend the constant in a 350960484Sobrien BFD_RELOC_LO16 expression. Do eat a trailing ')' after a complete 351060484Sobrien operand. 351160484Sobrien (parse_cons_expression_v850): Don't eat a trailing ')' after 351260484Sobrien finding a v850 relocation prefix. 351360484Sobrien 351460484Sobrien * config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define. 351560484Sobrien (TC_CONS_FIX_NEW): Likewise. 351660484Sobrien * config/tc-v850.c (parse_cons_expression_v850): New function. 351760484Sobrien (cons_fix_new_v850): Likewise. 351860484Sobrien 351960484Sobrien * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs. 352060484Sobrien 352160484SobrienWed Oct 23 18:20:29 1996 Ian Lance Taylor <ian@cygnus.com> 352260484Sobrien 352360484Sobrien * config/tc-ppc.c (md_apply_fix3): Give a better warning message 352460484Sobrien for an unknown relocation type. 352560484Sobrien 352660484SobrienWed Oct 23 16:21:28 1996 Jeffrey A Law (law@cygnus.com) 352760484Sobrien 352860484Sobrien * config/tc-v850.c (md_pseudo_table): Add .word; allocates 352960484Sobrien 4 bytes of space. 353060484Sobrien 353160484SobrienTue Oct 22 22:01:25 1996 Jeffrey A Law (law@cygnus.com) 353260484Sobrien 353360484Sobrien * config/tc-v850.c (md_assemble): Handle TDAOFF relocs 353460484Sobrien differently for movea & sst/sld insns. 353560484Sobrien 353660484SobrienTue Oct 22 17:09:32 1996 Michael Meissner <meissner@tiktok.cygnus.com> 353760484Sobrien 353860484Sobrien * config/tc-d10v.c (parallel_ok): Don't allow illegal combinations 353960484Sobrien of instructions. 354060484Sobrien 354160484SobrienTue Oct 22 11:28:39 1996 Ian Lance Taylor <ian@cygnus.com> 354260484Sobrien 354360484Sobrien * obj.h (struct format_ops): Add frob_file_after_relocs field. 354460484Sobrien * config/obj-multi.h (obj_frob_file_after_relocs): Define. 354560484Sobrien * config/obj-ecoff.c (ecoff_format_ops): Initialize new 354660484Sobrien frob_file_after_relocs field. 354760484Sobrien * config/obj-elf.c (elf_format_ops): Likewise. 354860484Sobrien * config/tc-mips.c: Undefine obj_frob_file_after_relocs before 354960484Sobrien including obj-elf.h. 355060484Sobrien 355160484SobrienMon Oct 21 11:38:30 1996 Ian Lance Taylor <ian@cygnus.com> 355260484Sobrien 355360484Sobrien * config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc 355460484Sobrien specially if not ELF. 355560484Sobrien (md_apply_fix): Handle BFD_RELOC_64. 355660484Sobrien (tc_gen_reloc): Handle BFD_RELOC_64. 355760484Sobrien 355860484Sobrien * config/tc-i386.c (md_apply_fix3): Don't increment value for a PC 3559218822Sdim relative reloc when BFD_ASSEMBLER and OBJ_AOUT (more ugly gas 3560218822Sdim reloc hacking). 356160484Sobrien 356260484Sobrien * config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version: 356360484Sobrien Don't check S_GET_OTHER. 356460484Sobrien 356560484SobrienFri Oct 18 14:06:26 1996 Ian Lance Taylor <ian@cygnus.com> 356660484Sobrien 356760484Sobrien * config/tc-mips.c (mips_ip): Accept an odd floating point 356860484Sobrien register with l.s or s.s. 356960484Sobrien 357060484Sobrien * config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for 357160484Sobrien .type pseudo-op. 357260484Sobrien (obj_aout_type): New static function. 357360484Sobrien 357460484SobrienThu Oct 17 17:55:17 1996 Ian Lance Taylor <ian@cygnus.com> 357560484Sobrien 357660484Sobrien * Makefile.in ($(OBJS)): Depend upon libiberty.h. 357760484Sobrien 357860484SobrienWed Oct 16 11:28:31 1996 Jeffrey A Law (law@cygnus.com) 357960484Sobrien 358060484Sobrien * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff 358160484Sobrien and sdaoff expressions. 358260484Sobrien 358360484Sobrien * write.c (fixup_segment): Don't add symbol value to addend if 358460484Sobrien TC_V850 and OBJ_ELF. 358560484Sobrien * config/tc-v850.h (tc_fix_adjustable): Don't adjust any 358660484Sobrien pc-relative fixups. 358760484Sobrien 358860484Sobrien * config/tc-v850.c (md_pcrel_from): Undo yesterday's changes. 358960484Sobrien (md_pcrel_from_section): Likewise. 359060484Sobrien * config/tc-v850.h (MD_PCREL_FROM_SECTION): Likewise. 359160484Sobrien 359260484SobrienTue Oct 15 23:19:00 1996 Jeffrey A Law (law@cygnus.com) 359360484Sobrien 359460484Sobrien * config/tc-v850.c (md_pcrel_from): Delete unused function. 359560484Sobrien (md_pcrel_from_section): New function. 359660484Sobrien * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define. 359760484Sobrien 359860484SobrienMon Oct 14 13:59:12 1996 Ian Lance Taylor <ian@cygnus.com> 359960484Sobrien 360060484Sobrien * config/tc-mips.c (load_register): Add cast to offsetT when using 360160484Sobrien a constant with &~. 360260484Sobrien 360360484SobrienMon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu> 360460484Sobrien 360560484Sobrien * config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ... 360660484Sobrien (elf_frob_file_after_relocs): ... here. New function. 360760484Sobrien * config/obj-elf.h (obj_from_file_after_relocs): New macro. 360860484Sobrien * write.c (write_object_file): Call *frob_after_relocs after the 360960484Sobrien call to write_relocs. 361060484Sobrien 361160484Sobrien * config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc. 361260484Sobrien 361360484Sobrien * config/tc-alpha.c (load_expression): Don't SET_VALUE on the section 361460484Sobrien symbol, as this messes up linking. Instead, expand the recursive call 361560484Sobrien inline and change up the appropriate bits to get the 0x8000 offset 361660484Sobrien in the reloc addend. 361760484Sobrien 361860484SobrienThu Oct 10 17:30:31 1996 Ian Lance Taylor <ian@cygnus.com> 361960484Sobrien 362060484Sobrien * config/tc-sparc.h (tc_fix_adjustable): Permit the difference of 362160484Sobrien two symbols in the same segment to be adjusted. 362260484Sobrien 362360484Sobrien * configure.in: Don't get confused by CPU-VENDOR-linux-gnu. 362460484Sobrien * configure: Rebuild. 362560484Sobrien 362660484SobrienThu Oct 10 17:22:18 1996 Michael Meissner <meissner@tiktok.cygnus.com> 362760484Sobrien 362860484Sobrien * config/tc-ppc.c (ppc_insert_operand): Change most warnings into 362960484Sobrien errors. 363060484Sobrien (ppc_elf_validate_fix): Ditto. 363160484Sobrien (md_assemble): Ditto. 363260484Sobrien (ppc_tc): Ditto. 363360484Sobrien (ppc_pe_section): Ditto. 363460484Sobrien (ppc_frob_symbol): Ditto. 363560484Sobrien 363660484SobrienThu Oct 10 12:05:45 1996 Jeffrey A Law (law@cygnus.com) 363760484Sobrien 363860484Sobrien * config/mn10300.c (md_assemble): Pass an extra shift count 363960484Sobrien to mn10300_insert_operand based on the opcode format. 364060484Sobrien (mn10300_insert_operand): Accept and use extra shift count 364160484Sobrien parameter. 364260484Sobrien 364360484Sobrien * config/tc-mn10300.c (md_assemble): Use FMT_* macros for 364460484Sobrien formats rather than hard-coded constants. 364560484Sobrien 364660484Sobrien * config/tc-mn10300.c (md_assemble): Format D5 instructions 364760484Sobrien are 7 bytes long. Write out instructions in big-endian format. 364860484Sobrien 364960484SobrienTue Oct 8 14:56:15 1996 Jeffrey A Law (law@cygnus.com) 365060484Sobrien 365160484Sobrien * config/tc-mn10300.c (md_assemble): Tweak further so 365260484Sobrien that all instructions are parsed correctly. 365360484Sobrien 365460484SobrienTue Oct 8 13:02:21 1996 Ian Lance Taylor <ian@cygnus.com> 365560484Sobrien 365660484Sobrien * as.h: Include libiberty.h. 365760484Sobrien (xmalloc, xrealloc): Don't declare. 365860484Sobrien * as.c: Don't include libiberty.h. 365960484Sobrien * expr.c, read.c, stabs.c, config/obj-coff.c: Likewise. 366060484Sobrien * config/tc-mips.c: Likewise. 366160484Sobrien * messages.c: Likewise. 366260484Sobrien (xstrerror): Don't declare. 366360484Sobrien * xmalloc.c: Remove. 366460484Sobrien 366560484SobrienMon Oct 7 16:53:23 1996 Jeffrey A Law (law@cygnus.com) 366660484Sobrien 366760484Sobrien * config/tc-mn10300.h (pre_defined_registers) Remove. 366860484Sobrien (system_registers, cc_names): Likewise. 366960484Sobrien (address_registers, data_registers, other_registers): New register 367060484Sobrien arrays. 367160484Sobrien (register_name, system_register_name, cc_name): Remove. 367260484Sobrien (mn10300_reloc_prefix): Likewise. 367360484Sobrien (data_register_name): New function. 367460484Sobrien (address_register_name, other_register_name): Likewise. 367560484Sobrien (md_assemble): Rough cut at parsing operands. Remove lots of 367660484Sobrien unwanted code. 367760484Sobrien (md_apply_fix3): Disable for now. 367860484Sobrien 367960484SobrienMon Oct 7 11:38:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 368060484Sobrien 368160484Sobrien * config/tc-m68k.c (select_control_regs): New function, extracted 368260484Sobrien out of m68k_init_after_args. 368360484Sobrien (m68k_init_after_args): Use it. 368460484Sobrien (mri_chip): Use it here as well to update set of allowed control 368560484Sobrien regs for movec. 368660484Sobrien 368760484SobrienMon Oct 7 11:24:29 1996 Ian Lance Taylor <ian@cygnus.com> 368860484Sobrien 368960484Sobrien * config/obj-elf.c (elf_begin): New function. 369060484Sobrien (obj_elf_section): Add the section symbol to the symbol table. 369160484Sobrien * config/obj-elf.h (obj_begin): Define. 369260484Sobrien (elf_begin): Declare. 369360484Sobrien * as.c (perform_an_assembly_pass): Call obj_begin if it is 369460484Sobrien defined. 369560484Sobrien 369660484SobrienFri Oct 4 18:37:32 1996 Ian Lance Taylor <ian@cygnus.com> 369760484Sobrien 369860484Sobrien * config/obj-coff.c (fixup_segment): Subtract the section address 369960484Sobrien from a PC relative reloc if TC_M68K. 370060484Sobrien 370160484SobrienThu Oct 3 15:15:30 1996 Ian Lance Taylor <ian@cygnus.com> 370260484Sobrien 370360484Sobrien * config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and 370460484Sobrien .uaxword available even if not OBJ_ELF. 370560484Sobrien (md_atof): Remove unused local variable wordP. 370660484Sobrien 370760484SobrienThu Oct 3 00:16:50 1996 Jeffrey A Law (law@cygnus.com) 370860484Sobrien 370960484Sobrien * config/tc-mn10x00.c, config/tc-mn10x00.h: New files 371060484Sobrien for Matsushita MN10x00 support. 371160484Sobrien * configure.in: Recognize mn10x00-*-* 371260484Sobrien * configure: Rebuilt. 371360484Sobrien 371460484SobrienWed Oct 2 15:54:03 1996 Klaus Kaempf <kkaempf@progis.de> 371560484Sobrien 371689857Sobrien * config/obj-evax.h: move openvms definitions from here to tc-alpha.c. 371789857Sobrien * config/tc-alpha.c: add support for vms_case_hack like in vax/vms. 371860484Sobrien (load_expression): track clobbering of base reg before jmp/jsr. 371960484Sobrien (s_alpha_file): pass case_hack flags and source filename via 372060484Sobrien symbol table to bfd. 372189857Sobrien * config/tc-alpha.h (TC_CONS_FIX_NEW): define 372260484Sobrien 372360484SobrienTue Oct 1 16:16:01 1996 Joel Sherrill <joel@oarcorp.com> 372460484Sobrien 372560484Sobrien * configure.in (mips-*-rtems*): New target, like mips-*-elf*. 372660484Sobrien * configure: Rebuild. 372760484Sobrien 372860484SobrienTue Oct 1 12:37:48 1996 Ian Lance Taylor <ian@cygnus.com> 372960484Sobrien 373060484Sobrien * read.c (s_macro): Warn if a macro has the same name as a 373160484Sobrien pseudo-op. 373260484Sobrien (s_space): In m68k MRI mode, align to a word boundary. 373360484Sobrien * macro.c (define_macro): Add namep parameter. Change all 373460484Sobrien callers. 373560484Sobrien * macro.h (define_macro): Update declaration. 373660484Sobrien 373760484Sobrien * as.c (show_usage): Print bug report address. 373860484Sobrien (parse_args): Change version printing to match current GNU 373960484Sobrien standards. 374060484Sobrien * gasp.c (show_usage): Print bug report address. 374160484Sobrien (main): Change version printing to match current GNU standards. 374260484Sobrien 374360484Sobrien * config/tc-m68k.c (init_table): Correct access control unit 374460484Sobrien register numbers. From Ken Rose <rose@netcom.com>. 374560484Sobrien 374660484Sobrien * config/tc-alpha.c: Add some static function prototypes. 3747218822Sdim (alpha_macros): Move to top of file. Make static. 374860484Sobrien (alpha_num_macros): Move to top of file. 374960484Sobrien 375060484SobrienTue Oct 1 09:36:19 1996 Stu Grossman (grossman@critters.cygnus.com) 375160484Sobrien 375289857Sobrien * config/tc-v850.h: Define LOCAL_LABEL to recognise _.L_* symbols 375360484Sobrien generated by DWARF. 375460484Sobrien 375560484SobrienSat Sep 28 03:38:08 1996 Ian Lance Taylor <ian@cygnus.com> 375660484Sobrien 375760484Sobrien * listing.c (list_symbol_table): Remove bogus code in BFD64 case, 375860484Sobrien and just call sprintf_vma. 375960484Sobrien 376060484SobrienThu Sep 26 16:04:11 1996 Ian Lance Taylor <ian@cygnus.com> 376160484Sobrien 376260484Sobrien * expr.c (expr): Change >>= to >> (fix typo). (From meissner). 376360484Sobrien 376460484SobrienTue Sep 24 19:05:08 1996 Ian Lance Taylor <ian@cygnus.com> 376560484Sobrien 376660484Sobrien * read.c (float_cons): Call md_flush_pending_output if it is 376760484Sobrien defined. 376860484Sobrien 376960484SobrienTue Sep 24 12:22:18 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 377060484Sobrien 3771218822Sdim * config/tc-d10v.c (md_operand): Created. Allows operands to 377260484Sobrien start with '#'. 377360484Sobrien * config/tc-d10v.h (md_operand): Undefined. 377460484Sobrien 377560484SobrienMon Sep 23 12:13:18 1996 Ian Lance Taylor <ian@cygnus.com> 377660484Sobrien 377760484Sobrien * config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'. 377860484Sobrien (md_assemble): A fixup width of '3' means a 1 byte reloc. 377960484Sobrien 378060484SobrienThu Sep 19 12:21:24 1996 Ian Lance Taylor <ian@cygnus.com> 378160484Sobrien 378260484Sobrien * config/obj-coff.c (fixup_segment): Don't adjust PC relative 378360484Sobrien reloc for the i960 for a reloc in the same section. This undoes 378460484Sobrien one of the two changes made Aug 19. 378560484Sobrien 378660484SobrienWed Sep 18 12:11:58 1996 Ian Lance Taylor <ian@cygnus.com> 378760484Sobrien 378860484Sobrien * config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT 378960484Sobrien symbols to the position of the debugging information. 379060484Sobrien 379160484SobrienMon Sep 16 11:41:40 1996 Ian Lance Taylor <ian@cygnus.com> 379260484Sobrien 379360484Sobrien * expr.c (expr): Always use unsigned right shifts for >>. 379460484Sobrien 379560484SobrienThu Sep 12 10:25:45 1996 James G. Smith <jsmith@cygnus.co.uk> 379660484Sobrien 379760484Sobrien * config/tc-arm.c (md_apply_fix3): Update two thumb instruction 3798218822Sdim slots when processing BL fixups. 379960484Sobrien 380060484Sobrien * config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked 3801218822Sdim on the first half of the instruction. 380260484Sobrien 380360484SobrienWed Sep 11 00:09:35 1996 Ian Lance Taylor <ian@cygnus.com> 380460484Sobrien 380560484Sobrien * ecoff.c (ecoff_stab): Create an expression symbol for a complex 380660484Sobrien stabs expression, rather than giving an error. 380760484Sobrien 380860484Sobrien * ecoff.c (ecoff_new_file): Don't do anything if we are still in 380960484Sobrien the same file. 381060484Sobrien 381160484SobrienTue Sep 10 11:45:37 1996 Ian Lance Taylor <ian@cygnus.com> 381260484Sobrien 381360484Sobrien * config/tc-mips.c (append_insn): Fill in the value for a constant 381460484Sobrien jump, rather than creating a reloc. 381560484Sobrien 381660484SobrienMon Sep 9 10:57:42 1996 Ian Lance Taylor <ian@cygnus.com> 381760484Sobrien 381860484Sobrien * config/tc-mips.c (append_insn): Don't swap an instruction which 381960484Sobrien sets a condition code with an instruction which uses a condition 382060484Sobrien code. 382160484Sobrien (mips_ip): In cases 'N' and 'M', look for $fccN rather than an 382260484Sobrien immediate value. 382360484Sobrien 382460484Sobrien * config/tc-mips.c (md_begin): Recognize r5000 for cpu. 382560484Sobrien (mips_ip): Give a better error message if the ISA level is wrong. 382660484Sobrien (md_parse_option): Recognize -mcpu=[v][r]5000. 382760484Sobrien 382860484SobrienSat Sep 7 13:25:55 1996 James G. Smith <jsmith@cygnus.co.uk> 382960484Sobrien 383060484Sobrien * config/tc-mips.c (COUNT_TOP_ZEROES): Added macro to count 3831218822Sdim leading zeroes. 383260484Sobrien (load_register): Ensure hi32 bits are not lost during lo32bit 3833218822Sdim processing. Fix shift offset that was overflowing into the next 3834218822Sdim instruction field. Add code to generate shorter sequences for 3835218822Sdim constants with a single contiguous seqeuence of ones. 383660484Sobrien 383760484SobrienFri Sep 6 17:07:12 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 383860484Sobrien 383960484Sobrien * config/tc-d10v.c (d10v_dot_word): New function to support 384060484Sobrien "@word" with the word pseudo-op. 384160484Sobrien (md_apply_fix3): Cleanup and changes to support correct sizes 384260484Sobrien for 16 and 18-bit relocs. 384360484Sobrien 384460484SobrienFri Sep 6 16:00:29 1996 Doug Evans <dje@canuck.cygnus.com> 384560484Sobrien 384660484Sobrien * configure.in (sparc-*-aout): Set `em'. 384760484Sobrien * configure: Regenerated. 384860484Sobrien * config/te-sparcaout.h: New file. 384960484Sobrien * config/tc-sparc.h (TARGET_BYTES_BIG_ENDIAN): Define. 385060484Sobrien Ifdef TE_SPARCOUT define TARGET_FORMAT and SPARC_BIENDIAN. 385160484Sobrien * config/tc-sparc.c (INSN_BIG_ENDIAN): New macro. 385260484Sobrien (SPECIAL_CASE_{SETSW,SETX}): Define. 385360484Sobrien ({NOP,OR,FMOVS,SETHI,SLLX,SRA}_INSN): Define. 385460484Sobrien (md_begin): Delete setting of `target_big_endian'. 385560484Sobrien (output_insn): New function. 385660484Sobrien (md_assemble): Rewrite. Add `setx' support. 385760484Sobrien (sparc_ip): Handle `0' operand char. Recognize setuw, setsw, setx 385860484Sobrien special cases. 385960484Sobrien (md_atof): Add little endian support. 386060484Sobrien (md_number_to_chars): Likewise. 386160484Sobrien (md_apply_fix): Likewise. 386260484Sobrien (md_longopts): Recognize -EL,-EB ifdef SPARC_BIENDIAN. 386360484Sobrien (md_parse_option): Likewise. 386460484Sobrien (md_show_usage): Print -EL, -EB ifdef SPARC_BIENDIAN. 386560484Sobrien 386660484SobrienThu Sep 5 13:40:29 1996 Ian Lance Taylor <ian@cygnus.com> 386760484Sobrien 386860484Sobrien * ecoff.c (ecoff_new_file): New function. 386960484Sobrien * ecoff.h (ecoff_new_file): Declare. 387060484Sobrien * config/obj-ecoff.h (obj_app_file): Define. 387160484Sobrien 387260484SobrienThu Sep 5 13:39:25 1996 Richard Henderson <rth@tamu.edu> 387360484Sobrien 387460484Sobrien * config/tc-alpha.c (load_expression): Bias the .lit8 section 387560484Sobrien symbol by 32k so that our 16-bit signed offset can address the 387660484Sobrien entire chunk. Reported by <matt@lkg.dec.com>. 387760484Sobrien 387860484SobrienWed Sep 4 10:23:20 1996 Ian Lance Taylor <ian@cygnus.com> 387960484Sobrien 388060484Sobrien * config/tc-mips.c (load_register): Remove unused variable tmp. 388160484Sobrien 388260484SobrienWed Sep 4 11:24:29 1996 James G. Smith <jsmith@cygnus.co.uk> 388360484Sobrien 388460484Sobrien * config/tc-mips.c (load_register): Remove unnecessary code that 3885218822Sdim was causing the high 32bits of 64bit constants to be lost. 3886218822Sdim 388760484SobrienTue Sep 3 13:52:56 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 388860484Sobrien 388960484Sobrien * config/tc-d10v.c: Added changes to support function 389060484Sobrien pointers and "@word" syntax. 389160484Sobrien 389260484SobrienTue Sep 3 11:57:18 1996 Jeffrey A Law (law@cygnus.com) 389360484Sobrien 389460484Sobrien * config/tc-v850.c: Remove commented out and #if 0'd code. 389560484Sobrien (v850_reloc_prefix): Provide prototype. 389660484Sobrien (postfix, get_reloc, build_insn): Remove prototypes for nonexistant 389760484Sobrien functions. 389860484Sobrien (md_begin, md_assemble, md_apply_fix3): Remove unused variables. 389960484Sobrien (md_assemble): Add default to case statement. 390060484Sobrien 390160484SobrienSat Aug 31 16:03:00 1996 Jeffrey A Law (law@cygnus.com) 390260484Sobrien 390360484Sobrien * config/tc-v850.c (md_assemble): Compute size of the instrction 390460484Sobrien from the opcode. 390560484Sobrien 390660484Sobrien * config/tc-v850.c (md_apply_fix3): Do simple byte, short and 390760484Sobrien word fixups too. 390860484Sobrien 390960484SobrienFri Aug 30 23:50:08 1996 Jeffrey A Law (law@cygnus.com) 391060484Sobrien 391160484Sobrien * config/tc-v850.c (md_apply_fix3): Use little endian get/put 391260484Sobrien routines to fetch/store the updated instruction from/to memory. 391360484Sobrien (v850_insert_operand): If the operand has a specialized insert 391460484Sobrien routine, call it. 391560484Sobrien 391660484SobrienFri Aug 30 18:35:26 1996 J.T. Conklin <jtc@hippo.cygnus.com> 391760484Sobrien 391860484Sobrien * config/tc-v850.c (reg_name_search): Align calling convention to 3919218822Sdim be like identical function found in tc-ppc.c. 392060484Sobrien (get_reloc): Removed. 392160484Sobrien (v850_reloc_prefix): New function, parse lo(), hi() and hi0(). 392260484Sobrien (md_assemble): emit fixups. 392360484Sobrien (md_pcrel_from): renamed from md_pcrel_from_section, emit proper 3924218822Sdim displacement. 392560484Sobrien (md_apply_fix3): handle fixups/relocs. 392660484Sobrien * config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition. 3927218822Sdim 392860484SobrienFri Aug 30 18:12:00 1996 Ian Lance Taylor <ian@cygnus.com> 392960484Sobrien 393060484Sobrien Add SH ELF support. 393160484Sobrien * configure.in (sh-*-elf*): New target. 393260484Sobrien * config/tc-sh.h (TARGET_ARCH): Define. 393360484Sobrien (WORKING_DOT_WORD): Define. 3934218822Sdim (TC_COFF_FIX2RTYPE): Only define if OBJ_COFF. 393560484Sobrien (BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise. 393660484Sobrien (TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise. 393760484Sobrien (DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise. 393860484Sobrien (TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise. 393960484Sobrien (SUB_SEGMENT_ALIGN): Likewise. 394060484Sobrien (RELOC_32): Don't define. 394160484Sobrien (tc_frob_file_before_adjust): Define if BFD_ASSEMBLER. 394260484Sobrien (target_big_endian): Declare if OBJ_ELF. 394360484Sobrien (TARGET_FORMAT): Define if OBJ_ELF. 394460484Sobrien * config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc 394560484Sobrien numbers throughout. 394660484Sobrien (tc_crawl_symbol_chain): Only define if OBJ_COFF. 394760484Sobrien (tc_headers_hook, tc_coff_sizemachdep): Likewise. 394860484Sobrien (struct sh_count_relocs): Define. 394960484Sobrien (sh_count_relocs): New static function, broken out of 395060484Sobrien sh_frob_file. Add BFD_ASSEMBLER code. 395160484Sobrien (sh_frob_section): Likewise. 395260484Sobrien (sh_frob_file): Call sh_frob_section. 395360484Sobrien (md_convert_frag): If BFD_ASSEMBLER, change type of headers, and 395460484Sobrien call section_symbol rather than seg_info (seg)->dot. 395560484Sobrien (md_section_align): Add OBJ_ELF version. 395660484Sobrien (SWITCH_TABLE_CONS): Define. 395760484Sobrien (SWITCH_TABLE): Use SWITCH_TABLE_CONS. 395860484Sobrien (md_apply_fix): Change parameter types if BFD_ASSEMBLER. Only 395960484Sobrien handle fx_r_type == 0 if not BFD_ASSEMBLER. Return 0 if 396060484Sobrien BFD_ASSEMBLER. 396160484Sobrien (struct reloc_map): Define if not BFD_ASSEMBLER. 396260484Sobrien (coff_reloc_map): Likewise. 396360484Sobrien (sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type. 396460484Sobrien (tc_gen_reloc): New function if BFD_ASSEMBLER. 396560484Sobrien * write.c (write_relocs): Ifdef out fx_where test which triggers 396660484Sobrien inappropriately for SH ELF. 396760484Sobrien (write_object_file): Call tc_frob_file_before_adjust and 396860484Sobrien obj_frob_file_before_adjust if they are defined. 396960484Sobrien 397060484Sobrien * write.c (write_object_file): Use BFD_RELOC_16, not 397160484Sobrien BFD_RELOC_NONE, when calling fix_new_exp for a broken word. 397260484Sobrien 397360484Sobrien * read.c (emit_expr): Fix conversion of byte count to BFD reloc 397460484Sobrien code. 397560484Sobrien 397660484SobrienFri Aug 30 14:47:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 397760484Sobrien 3978218822Sdim * config/tc-d10v.c (find_opcode): Fix problem with calculating 397960484Sobrien branch sizes in across sections. 398060484Sobrien 398160484SobrienFri Aug 30 00:44:13 1996 Jeffrey A Law (law@cygnus.com) 398260484Sobrien 398360484Sobrien * config/tc-850.c (md_assemble): Handle hi() correctly. Handle 398460484Sobrien hi0() too. 398560484Sobrien 398660484SobrienWed Aug 28 23:11:08 1996 Jeffrey A Law (law@cygnus.com) 398760484Sobrien 398860484Sobrien * config/tc-v850.c (md_begin): Deal with end of opcode 398960484Sobrien table marker. 399060484Sobrien 399160484SobrienWed Aug 28 19:20:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 399260484Sobrien 399360484Sobrien * config/tc-d10v.c (find_opcode): Fix a bug which could generate 399460484Sobrien the wrong opcode for cases like st2w where there are many forms 399560484Sobrien of the same instruction. 399660484Sobrien 399760484SobrienTue Aug 27 13:53:22 1996 Ian Lance Taylor <ian@cygnus.com> 399860484Sobrien 399960484Sobrien * expr.c (operand): If md_parse_name is defined, call it before 400060484Sobrien calling symbol_find_or_make. 400160484Sobrien * config/tc-ppc.h (md_parse_name): Define. 400260484Sobrien (ppc_parse_name): Declare. 400360484Sobrien * config/tc-ppc.c (reg_name_search): Add regs and regcount 400460484Sobrien parameters. 400560484Sobrien (register_name): Update call to reg_name_search. 400660484Sobrien (cr_operand): New static variable. 400760484Sobrien (cr_names): New static const array. 400860484Sobrien (ppc_parse_name): New function. 400960484Sobrien (md_assemble): If PPC_OPERAND_CR is set in the operand flags, set 401060484Sobrien cr_operand before calling expression. 401160484Sobrien 401260484SobrienTue Aug 27 09:05:50 1996 Jeffrey A Law (law@cygnus.com) 401360484Sobrien 401460484Sobrien * config/tc-hppa.c (tc_gen_reloc): Add new argument to 401560484Sobrien hppa_gen_reloc_type call. 401660484Sobrien 401760484SobrienMon Aug 26 18:24:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 401860484Sobrien 401960484Sobrien * config/tc-d10v.c: Fixed ".word". Fixed problem with range checking 402060484Sobrien on addresses. Improved error messages. 402160484Sobrien * doc/c-d10v.texi: Added docs for register pairs. 402260484Sobrien 402360484SobrienMon Aug 26 13:39:27 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 402460484Sobrien 4025218822Sdim * config/tc-d10v.c (parallel_ok): Fix bug in parallel 402660484Sobrien checking code. 402760484Sobrien 402860484SobrienMon Aug 26 14:38:22 1996 Ian Lance Taylor <ian@cygnus.com> 402960484Sobrien 403060484Sobrien * ecoff.c (init_file): Initialize fMerge to 1. 403160484Sobrien (add_file): Restore old file merging code, but only merge files if 403260484Sobrien fMerge is set. 403360484Sobrien (ecoff_directive_loc): Clear fMerge field of current file. 403460484Sobrien (ecoff_generate_asm_lineno): Likewise. 403560484Sobrien 403660484SobrienFri Aug 23 11:40:47 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 403760484Sobrien 4038218822Sdim * doc/c-d10v.texi: Fix typo. 403960484Sobrien 404060484SobrienFri Aug 23 10:41:32 1996 Jeffrey A Law (law@cygnus.com) 404160484Sobrien 404260484Sobrien * config/tc-v850.c (md_assemble): Correct bit masking for 404360484Sobrien hi and lo expressions. 404460484Sobrien 404560484Sobrien * config/tc-v850.c (md_assemble): Rough cut at demanding 404660484Sobrien "ep" or "r30" in sst and sld instructions. 404760484Sobrien (md_apply_fix3): Don't abort. Just warn that we don't 404860484Sobrien have relocs yet. 404960484Sobrien 405060484Sobrien * config/tc-v850.c (CC_NAME_CNT): Define. 405160484Sobrien (cc_name): New function. 405260484Sobrien (md_assemble): Handle V850_OPERAND_CC correctly. 405360484Sobrien 405460484Sobrien * config/tc-v850.c (md_assemble): Don't forget to initialize 405560484Sobrien "insn"! 405660484Sobrien 405760484Sobrien * config/tc-v850.c (reg_name_search): Generalize to search 405860484Sobrien any given register table. 405960484Sobrien (register_name): Pass appropriate table and size to reg_name_search. 406060484Sobrien (system_register_name): New function. 406160484Sobrien (SYSREG_NAME_CNT): Define. 406260484Sobrien (md_assemble): Handle operands which are system registers. 4063218822Sdim 406460484Sobrien * config/tc-v850.c (md_assemble): If we find a register, but the 406560484Sobrien opcode doesn't want a register, then we don't have a match. 406660484Sobrien (md_assemble): Get size of the instruction from the opcode table. 406760484Sobrien 406860484SobrienThu Aug 22 10:20:30 1996 Ian Lance Taylor <ian@cygnus.com> 406960484Sobrien 407060484Sobrien * configure.in: Set and substitute HLDENV. 407160484Sobrien * configure: Rebuild. 407260484Sobrien * Makefile.in (HLDENV): New variable. 407360484Sobrien (as.new): Use $(HLDENV). 407460484Sobrien 407560484Sobrien * ecoff.c (ecoff_directive_endef): Avoid a division by zero error 407660484Sobrien if an array dimension is not known. 407760484Sobrien 407860484SobrienThu Aug 22 10:50:00 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 407960484Sobrien 4080218822Sdim * config/tc-d10v.c: Fix a reloc bug caused by my last change. 408160484Sobrien * doc/c-d10v.texi: Cleanup. 4082218822Sdim 408360484SobrienTue Aug 20 15:15:16 1996 J.T. Conklin <jtc@hippo.cygnus.com> 408460484Sobrien 408560484Sobrien * config/tc-v850.c: New file. 408660484Sobrien * config/tc-v850.h: New file. 408760484Sobrien * configure (v850-*-elf): New target. 408860484Sobrien * configure.in (v850-*-elf): New target. 4089218822Sdim 409060484SobrienWed Aug 21 15:50:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 409160484Sobrien 409260484Sobrien * doc/c-d10v.texi: New file. 409360484Sobrien * doc/all.texi: Added D10V stuff. 409460484Sobrien * doc/as.texinfo: Added D10V stuff. 409560484Sobrien 409660484SobrienTue Aug 20 14:10:02 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 409760484Sobrien 409860484Sobrien * config/tc-d10v.c: All references to defined symbols should 4099218822Sdim now use the optimal instruction. .float and .double now work. 410060484Sobrien 410160484SobrienMon Aug 19 14:41:36 1996 Ian Lance Taylor <ian@cygnus.com> 410260484Sobrien 410360484Sobrien * config/obj-coff.c (fixup_segment): Adjust PC relative reloc by 410460484Sobrien section address for the i960 as is done for the i386. 410560484Sobrien 410660484SobrienThu Aug 15 16:37:59 1996 Stan Shebs <shebs@andros.cygnus.com> 410760484Sobrien 410860484Sobrien * mpw-config.in: Add wildcards for config matching, add mips-*-* 410960484Sobrien case, forward-include bfd/elf-bfd.h. 411060484Sobrien 411160484SobrienThu Aug 15 13:24:30 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 411260484Sobrien 411360484Sobrien * config/tc-d10v.c: Add additional information to the opcode 4114218822Sdim table to help determinine which instructions can be done 4115218822Sdim in parallel. 411660484Sobrien 411760484SobrienThu Aug 15 17:01:31 1996 James G. Smith <jsmith@cygnus.co.uk> 411860484Sobrien 411960484Sobrien * config/tc-arm.c: Major changes to add Thumb support, with lots 4120218822Sdim of change input from <rearnsha@armltd.co.uk>. 412160484Sobrien Reverted to INSN_SIZE macro, rather than insn_size variable. 412260484Sobrien (insns): Added ARM "bx" instruction support. 412360484Sobrien (tinsns): Added Thumb instruction definition structure. 412460484Sobrien (arm_tops_hsh): Added hash structure for Thumb opcodes. 412560484Sobrien (md_pseudo_table): Added ".arm", ".thumb" and ".code" pseudo-ops. 412660484Sobrien (opcode_select,s_arm,s_thumb,s_code): Added. 412760484Sobrien (decode_shift): Allow upper-case RRX. 412860484Sobrien (do_ldst): Simpler halfword support. 412960484Sobrien (do_ldmstm): Improved. 413060484Sobrien (reg_list, do_bx, thumb_reg, thumb_add_sub, thumb_shift, 4131218822Sdim thumb_mov_compare, thumb_load_store, do_t_arit, do_t_add, 4132218822Sdim do_t_asr, do_t_branch, do_t_bx, do_t_compare, do_t_ldmstm, 4133218822Sdim do_t_ldrb, do_t_ldrh, do_t_lds, do_t_lsl, do_t_lsr, do_t_mov, 4134218822Sdim do_t_push_pop, do_t_str, do_t_strb, do_t_strh, do_t_sub, do_t_swi, 4135218822Sdim do_t_adr): Added. 413660484Sobrien (md_apply_fix3): Add support for BFD_RELOC_ARM_THUMB_* relocations. 413760484Sobrien (md_parse_option): Add support for -mthumb. 413860484Sobrien (md_show_usage): Updated to reflect new command line option. 413960484Sobrien (arm_data_in_code, arm_canonicalize_symbol_name): Added. 414060484Sobrien * config/tc-arm.h: Provide TC_FIX_TYPE to allow private ARM 4141218822Sdim fragment information to be held. 414260484Sobrien 414360484SobrienThu Aug 15 16:12:00 1996 Richard Earnshaw (rearnsha@armltd.co.uk) 414460484Sobrien 4145218822Sdim * config/tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is 414660484Sobrien non-null, but is a constant. 414760484Sobrien (fix_new_arm): Call make_expr_symbol to make the expression symbol 414860484Sobrien so that error reporting will work correctly. 414960484Sobrien 415060484SobrienWed Aug 14 10:37:21 1996 Ian Lance Taylor <ian@cygnus.com> 415160484Sobrien 415260484Sobrien * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs 415360484Sobrien against weak symbols. 415460484Sobrien 415560484SobrienTue Aug 13 17:39:24 1996 Ian Lance Taylor <ian@cygnus.com> 415660484Sobrien 415760484Sobrien * config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF. 415860484Sobrien (ppc_force_relocation): Declare if OBJ_XCOFF. 415960484Sobrien * config/tc-ppc.c (ppc_force_relocation): New function if 416060484Sobrien OBJ_XCOFF. 416160484Sobrien 416260484SobrienMon Aug 12 16:49:43 1996 Ian Lance Taylor <ian@cygnus.com> 416360484Sobrien 416460484Sobrien * config/tc-mips.h (BYTE_ORDER): Don't define. No longer used. 416560484Sobrien 416660484SobrienFri Aug 9 17:48:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 416760484Sobrien 4168218822Sdim * config/tc-d10v.c: Fix problem with relocs. 416960484Sobrien 417060484SobrienFri Aug 9 14:16:14 1996 Ian Lance Taylor <ian@cygnus.com> 417160484Sobrien 417260484Sobrien * config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always align 417360484Sobrien with nops if not in data_section or bss_section. 417460484Sobrien 417560484SobrienThu Aug 8 12:32:56 1996 Klaus Kaempf <kkaempf@progis.de> 417660484Sobrien 417760484Sobrien Add support for openVMS/Alpha. 417860484Sobrien * as.h (PRINTF_LIKE): Don't define if VMS, for now. 417960484Sobrien * config/obj-evax.c: New file. 418060484Sobrien * config/obj-evax.h: New file. 418160484Sobrien * config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is 418260484Sobrien defined. 418360484Sobrien * config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is 418460484Sobrien defined. Add case for bfd_target_evax_flavour. 418560484Sobrien * config/vms-a-conf.h: New file. 418660484Sobrien * conf-a-gas.com: New file. 418760484Sobrien * configure.in: Add target alpha-*-*vms*. 418860484Sobrien * configure: Rebuild. 418960484Sobrien * makefile.vms: New file. 419060484Sobrien * read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX. 419160484Sobrien Don't call ffs on openVMS/Alpha. 419260484Sobrien 419360484SobrienWed Aug 7 14:19:03 1996 Philippe De Muyter <phdm@info.ucl.ac.be> 419460484Sobrien 419560484Sobrien * configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or 419660484Sobrien <strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr 419760484Sobrien and sbrk. 419860484Sobrien * acconfig.h (NEED_DECLARATION_STRSTR): New macro. 419960484Sobrien (NEED_DECLARATION_SBRK): New macro. 420060484Sobrien * configure, conf.in: Rebuild. 420160484Sobrien * as.h: Only include <strings.h> if HAVE_STRINGS_H. 420260484Sobrien (strstr): Declare if NEED_DECLARATION_STRSTR. 420360484Sobrien * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk. 420460484Sobrien 420560484SobrienWed Aug 7 11:50:26 1996 Ian Lance Taylor <ian@cygnus.com> 420660484Sobrien 420760484Sobrien * symbols.c (resolve_symbol_value): Handle addition or subtraction 420860484Sobrien by a constant before entering the main switch. Reject attempts to 420960484Sobrien apply an arithmetic function to non-absolute symbols, except for 421060484Sobrien the special case of subtraction of two symbols in the same 421160484Sobrien section. 421260484Sobrien 421360484Sobrien * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, but 421460484Sobrien not to more than a 16 byte boundary. 421560484Sobrien 421660484Sobrien * config/tc-i386.c (tc_gen_reloc): Accept all relocs; remove 421760484Sobrien #ifndef OBJ_ELF lines. From Eric Valette <valette@crf.canon.fr>. 421860484Sobrien (tc_gen_reloc): If out of memory call as_fatal rather than 421960484Sobrien assert. If no howto found, call as_bad_where rather than 422060484Sobrien as_fatal. Change the error message slightly. Set howto to a 422160484Sobrien non-NULL value in order to keep going. 422260484Sobrien 422360484SobrienTue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 422460484Sobrien 422560484Sobrien * config/tc-d10v.c: Added code to support 32-bit fixups for stabs. 422660484Sobrien 422760484SobrienTue Aug 6 11:15:26 1996 Jeffrey A Law (law@cygnus.com) 422860484Sobrien 422960484Sobrien * config/tc-h8300.c (get_specific): New operand "size" derived 423060484Sobrien from ".b", ".w" and ".l" extensions. All callers changed. If 423160484Sobrien the base instruction has no operands, then use the size to 423260484Sobrien determine which specific instruction to use. 423360484Sobrien 423460484SobrienMon Aug 5 14:21:10 1996 Ian Lance Taylor <ian@cygnus.com> 423560484Sobrien 423660484Sobrien * config/tc-i960.c (mem_fmt): Call parse_expr before emit. 423760484Sobrien 423860484SobrienFri Aug 2 11:23:31 1996 Ian Lance Taylor <ian@cygnus.com> 423960484Sobrien 424060484Sobrien * config/tc-mips.c (md_section_align): Don't change addr if 424160484Sobrien OBJ_ELF. 424260484Sobrien 424360484SobrienThu Aug 1 23:51:52 1996 Jeffrey A Law (law@cygnus.com) 424460484Sobrien 424560484Sobrien * config/tc-hppa.c: Revert yesterday's changes. 4246218822Sdim 424760484SobrienWed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 424860484Sobrien 424960484Sobrien * config/tc-d10v.c: Disable range checking on 16-bit values. 425060484Sobrien 425160484SobrienWed Jul 31 16:27:19 1996 Ian Lance Taylor <ian@cygnus.com> 425260484Sobrien 425360484Sobrien * config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction, 425460484Sobrien not just the ones that don't match. 425560484Sobrien 425660484SobrienWed Jul 31 11:45:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 425760484Sobrien 425860484Sobrien * config/tc-d10v.c: Fixed bugs in short relocs and range checking. 425960484Sobrien 426060484SobrienWed Jul 31 15:41:42 1996 James G. Smith <jsmith@cygnus.co.uk> 426160484Sobrien 426260484Sobrien * config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as 4263218822Sdim pre-cursor to adding Thumb support. Also added cpu_variant flag 4264218822Sdim information to each of the asm_flg structures. 426560484Sobrien (md_parse_option): Updated ARM7 parsing to allow 't' for 4266218822Sdim thumb/halfword support, aswell as 'm' for long multiply. 426760484Sobrien (md_show_usage): Updated help message. 426860484Sobrien (md_assemble): Check that instruction flags are applicated to the 4269218822Sdim current cpu variant. 427060484Sobrien (md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and 4271218822Sdim BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and 4272218822Sdim signextension instructions. 427360484Sobrien (do_ldst): Generate halfword and signextension variants if 4274218822Sdim mnemonic flags match. 427560484Sobrien (ldst_extend): Do not allow shifts in the offset field of halfword 4276218822Sdim or signextension instructions. 427760484Sobrien (validate_offset_imm): Provide check on halfword and signextension 4278218822Sdim immediate range. 427960484Sobrien (add_to_lit_pool): Merge identical literal pool values. 428060484Sobrien 428160484SobrienTue Jul 30 14:28:23 1996 Jeffrey A Law (law@cygnus.com) 428260484Sobrien 428360484Sobrien * config/tc-hppa.c (selector_table): Add 'E' selector. 428460484Sobrien (cons_fix_new_hppa): Don't coke on e_esel. 428560484Sobrien (tc_gen_reloc, SOM version): Handle R_COMP2 when used 428660484Sobrien to help generate exception handling tables. 428760484Sobrien (md_apply_fix): Don't try to apply fixups with an e_esel 428860484Sobrien selector. 428960484Sobrien (hppa_fix_adjustable): Fixups with e_esel selectors 429060484Sobrien are not adjustable. 429160484Sobrien 429260484SobrienTue Jul 30 15:51:41 1996 Ian Lance Taylor <ian@cygnus.com> 429360484Sobrien 429460484Sobrien * config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte 429560484Sobrien pseudo-ops. 429660484Sobrien 429760484SobrienFri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 429860484Sobrien 429960484Sobrien * config/tc-d10v.c: Added lots of error checking. Added hacks 430060484Sobrien to support accumulator shifts. 4301218822Sdim 430260484SobrienFri Jul 26 11:56:08 1996 Ian Lance Taylor <ian@cygnus.com> 430360484Sobrien 430460484Sobrien * symbols.c (S_SET_EXTERNAL): Let .weak override. 430560484Sobrien (S_CLEAR_EXTERNAL): Likewise. 430660484Sobrien (S_SET_WEAK): Remove error; just let .weak override. 430760484Sobrien 430860484SobrienThu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 430960484Sobrien 431060484Sobrien * config/tc-d10v.c (md_assemble): Now handles multiline 431160484Sobrien instructions. 431260484Sobrien 431360484SobrienThu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 431460484Sobrien 431560484Sobrien * config/tc-d10v.c: Fix packaging bug. Added range checking. 431660484Sobrien Added kludge for divs instruction. Fixed minor problem with 431760484Sobrien multiple text sections. 4318218822Sdim * config/tc-d10v.h (d10v_cleanup): Change prototype. 4319218822Sdim 432060484SobrienTue Jul 23 10:49:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 432160484Sobrien 432260484Sobrien * config/tc-d10v.c (md_apply_fix3): Fix all instruction 432360484Sobrien addresses to be right-shifted by 2. 432460484Sobrien 432560484SobrienMon Jul 22 11:32:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 432660484Sobrien 432760484Sobrien * config/tc-d10v.c: Many changes to get relocs working. 4328218822Sdim (register_name): No longer creates a symbol for register names. 4329218822Sdim (pre_defined_registers): moved to opcodes/d10v-opc.c. 433060484Sobrien (d10v_insert_operand): Now works correctly for either container. 4331218822Sdim * config/tc-d10v.h (d10v_cleanup): Declare. 4332218822Sdim 433360484SobrienMon Jul 22 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com> 433460484Sobrien 433560484Sobrien * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and 433660484Sobrien BFD_RELOC_PCREL_LO16 are expected to be PC relative. 433760484Sobrien 433860484SobrienMon Jul 22 12:46:55 1996 Richard Henderson <rth@tamu.edu> 433960484Sobrien 434089857Sobrien * config/tc-alpha.c: Patches to track current minimum alignment to reduce 434160484Sobrien the number of fragments created with frag_align. 434260484Sobrien (alpha_current_align): New static variable. 434360484Sobrien (s_alpha_text): Reset alignment to 0. 434460484Sobrien (s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise. 434560484Sobrien (s_alpha_stringer, s_alpha_space): New functions. 434660484Sobrien (s_alpha_cons, alpha_flush_pending_output): Remove functions. 434760484Sobrien (alpha_cons_align): New function to replace both of them. 434860484Sobrien (emit_insn): Only align if alpha_current_align is less than 2; 434960484Sobrien reset alpha_current_align to 2. 435060484Sobrien (s_alpha_gprel32): Likewise. 435160484Sobrien (s_alpha_section): New function. Basically duplicate the other 435260484Sobrien alpha section change hooks. Only define for ELF. 435360484Sobrien (s_alpha_float_cons): Simplify alignment handling. 435460484Sobrien (md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF. 435560484Sobrien If OBJ_ELF, define "section", "section.s", "sect", and "sect.s". 435660484Sobrien Don't define the s_alpha_cons pseudo-ops. Do define 435760484Sobrien s_alpha_stringer and s_alpha_space pseudo-ops. 435860484Sobrien (alpha_align): Skip if less than current default alignment. Set 435960484Sobrien default alignment. 436089857Sobrien * config/tc-alpha.h (md_flush_pending_output): Remove. 436160484Sobrien (md_cons_align): Add. 436260484Sobrien 436389857Sobrien * config/tc-alpha.c: Add oodles of function description comments. 436460484Sobrien (md_bignum_to_chars): Remove; there are no callers. 436560484Sobrien (md_show_usage): Mention some more variants. 436660484Sobrien 436760484SobrienThu Jul 18 15:54:54 1996 Ian Lance Taylor <ian@cygnus.com> 436860484Sobrien 436960484Sobrien From Andrew Gierth <ANDREWG@microlise.co.uk>: 437060484Sobrien * configure.in (sparc-*-sysv4*): New target. 437160484Sobrien * configure: Rebuild. 437260484Sobrien 437360484Sobrien * config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and 437460484Sobrien uaxword to use s_uacons. 437560484Sobrien (sparc_no_align_cons): New static variable. 437660484Sobrien (s_uacons): New static function. 437760484Sobrien (sparc_cons_align): If sparc_no_align_cons is set, just clear it 437860484Sobrien and return. 437960484Sobrien 438060484Sobrien * config/tc-sparc.c (s_common): Remove unused label allocate_bss. 438160484Sobrien 438260484Sobrien * configure.in: Add mips-*-irix6* target. Handle Irix 6 like Irix 438360484Sobrien 5 with regard to shared libraries. 438460484Sobrien * configure: Rebuild. 438560484Sobrien 438660484Sobrien * config/tc-m68k.c (m68k_ip): Use the correct length when 438760484Sobrien allocating space for the unsupported architecture error message. 438860484Sobrien 438960484SobrienThu Jul 18 12:57:10 1996 Michael Meissner <meissner@tiktok.cygnus.com> 439060484Sobrien 439160484Sobrien * configure.in (d10v-*-*): Allow d10v-*-*, don't require d10v-*-elf*. 439260484Sobrien 439360484SobrienWed Jul 17 14:25:13 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 439460484Sobrien 439560484Sobrien * config/tc-d10v.c: New file. 439660484Sobrien * config/tc-d10v.h: New file. 439760484Sobrien * configure (d10v-*-elf): New target. 439860484Sobrien * configure.in (d10v-*-elf): New target. 4399218822Sdim 440060484SobrienFri Jul 12 20:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com> 440160484Sobrien 440260484Sobrien * config/tc-ppc.c (md_parse_option): Recognize -K PIC. 440360484Sobrien 440460484SobrienWed Jul 10 12:39:08 1996 Richard Henderson <rth@tamu.edu> 440560484Sobrien 440660484Sobrien * config/tc-alpha.c (alpha_align): Change fill parameter 440760484Sobrien to a pointer. Take NULL as 0 or nop depending on section. Change 440860484Sobrien all callers. 440960484Sobrien (s_alpha_align): Rename local variables. 441060484Sobrien 441160484Sobrien * doc/as.texinfo (.align): Document action of omitted 441260484Sobrien fill parameter. 441360484Sobrien 441460484SobrienWed Jul 10 00:23:30 1996 Ian Lance Taylor <ian@cygnus.com> 441560484Sobrien 441660484Sobrien * config/tc-ppc.c (md_apply_fix3): Give a useful error message 441760484Sobrien when an unsupported PC relative reloc is seen, rather than calling 441860484Sobrien abort. 441960484Sobrien 442060484Sobrien * app.c (do_scrub_chars): Remove not_cpp_line local variable. 442160484Sobrien Instead, check state when '#' comment is seen. 442260484Sobrien 442360484SobrienMon Jul 8 14:11:49 1996 Ian Lance Taylor <ian@cygnus.com> 442460484Sobrien 442560484Sobrien * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or 4426218822Sdim OBJ_MAYBE_ELF. 442760484Sobrien (tc_gen_reloc): If fixup was changed to be PC relative, change 4428218822Sdim reloc type accordingly. Use name of reloc in error message. 442960484Sobrien 443060484Sobrien * as.h: Don't define const or volatile. 443160484Sobrien * flonum.h: Don't define const. 443260484Sobrien 443360484Sobrien * config/tc-m68k.c (tc_gen_reloc): Change the code appropriately 443460484Sobrien if fx_pcrel is set. Correct setting the addend case in the 443560484Sobrien OBJ_ELF case (from Andreas Schwab 443660484Sobrien <schwab@issan.informatik.uni-dortmund.de>). 443760484Sobrien (md_show_usage): Correct -mfc5200 to -m5200. 443860484Sobrien 443960484SobrienFri Jul 5 10:32:58 1996 J.T. Conklin <jtc@rtl.cygnus.com> 444060484Sobrien 444160484Sobrien * doc/c-m68k.texi: Document -m5200 flag. 444260484Sobrien * doc/as.texinfo: Likewise. 444360484Sobrien 444460484Sobrien * config/tc-m68k.c (m68k_ip): The coldfire does not support 8x 4445218822Sdim scale factor. 444660484Sobrien 444760484SobrienFri Jul 5 11:07:24 1996 Ian Lance Taylor <ian@cygnus.com> 444860484Sobrien 444960484Sobrien * symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad. 445060484Sobrien (S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise. 445160484Sobrien 445260484SobrienThu Jul 4 11:59:46 1996 Ian Lance Taylor <ian@cygnus.com> 445360484Sobrien 445460484Sobrien * Makefile.in (VERSION): Set to cygnus-2.7.1. 445560484Sobrien 445660484Sobrien * Released binutils 2.7. 445760484Sobrien 445860484SobrienThu Jul 4 10:11:33 1996 James G. Smith <jsmith@cygnus.co.uk> 445960484Sobrien 446060484Sobrien * config/tc-mips.c (mips_ip): Only perform range check when 4461218822Sdim dealing with O_constant expressions. 446260484Sobrien 446360484SobrienWed Jul 3 15:02:21 1996 J.T. Conklin <jtc@rtl.cygnus.com> 446460484Sobrien 446560484Sobrien * m68k-parse.h (m68k_register): Add new coldfile control 446660484Sobrien registers. 446760484Sobrien 4468218822Sdim * config/tc-m68k.c (mcf5200_control_regs): New variable, 446960484Sobrien array of control registers for the coldfire. 447060484Sobrien (cpu_of_arch): Added mcf5200. 447160484Sobrien (archs): Added mcf5200. 447260484Sobrien (init_table): Add new control registers. 447360484Sobrien (m68k_ip): Added support for new control registers. 447460484Sobrien (m68k_init_after_args): Likewise. 447560484Sobrien 447660484Sobrien * config/tc-m68k.c (md_show_usage): Add -m5200 to usage text. 447760484Sobrien 447860484SobrienWed Jul 3 16:05:50 1996 Ian Lance Taylor <ian@cygnus.com> 447960484Sobrien 448060484Sobrien * read.h (is_it_end_of_statement): Declare. 448160484Sobrien * read.c (is_it_end_of_statement): Remove declaration. 448260484Sobrien 448360484Sobrien * config/tc-ppc.c (ppc_elf_suffix): Correct parenthesization of || 448460484Sobrien within &&. 448560484Sobrien (md_assemble): Fix handling of @l with an unsigned constant. Add 448660484Sobrien default case to reloc switch. 448760484Sobrien 448860484Sobrien * config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD. 448960484Sobrien 449060484Sobrien Based on patches from Tom Quiggle <quiggle@sgi.com>: 449160484Sobrien * ecoff.c (last_lineno): New static variable. 449260484Sobrien (add_procedure): Set last_lineno. 449360484Sobrien (ecoff_directive_loc): Likewise. 449460484Sobrien (ecoff_generate_asm_lineno): Likewise. 449560484Sobrien (ecoff_fix_loc): New function. 449660484Sobrien * ecoff.h (ecoff_fix_loc): Declare. 449760484Sobrien * config/tc-mips.c (append_insn): When inserting nops, and using 449860484Sobrien ECOFF debugging, call ecoff_fix_loc. 449960484Sobrien 450060484SobrienTue Jul 2 23:02:12 1996 Jeffrey A Law (law@cygnus.com) 450160484Sobrien 4502218822Sdim * config/tc-h8300.c (build_bytes): If an operand type is 450360484Sobrien marked as SRC_IN_DST retrieve it from the "destination" op. 450460484Sobrien 450560484SobrienSat Jun 29 13:38:31 1996 Ian Lance Taylor <ian@cygnus.com> 450660484Sobrien 450760484Sobrien * configure.in (arm-*-riscix*): Set emulation to riscix. 450860484Sobrien * configure: Rebuild. 450960484Sobrien * config/te-riscix.h: New file to define TE_RISCIX. 451060484Sobrien 451160484Sobrien * config/tc-sh.h (SUB_SEGMENT_ALIGN): Define. 451260484Sobrien 451360484SobrienFri Jun 28 15:14:31 1996 Ian Lance Taylor <ian@cygnus.com> 451460484Sobrien 451560484Sobrien * Makefile.in (config.status): Just run config.status as other 451660484Sobrien tools do. 451760484Sobrien 451860484SobrienFri Jun 28 11:09:38 1996 Stan Shebs <shebs@andros.cygnus.com> 451960484Sobrien 452060484Sobrien * mpw-config.in (TARGET_OS): Add definition to conf. 452160484Sobrien 452260484SobrienThu Jun 27 20:39:40 1996 James G. Smith <jsmith@cygnus.co.uk> 452360484Sobrien 452460484Sobrien * config/tc-mips.c (append_insn): Parenthesize 452560484Sobrien cop_interlocks expressions. 452660484Sobrien 452760484SobrienThu Jun 27 12:18:26 1996 Ian Lance Taylor <ian@cygnus.com> 452860484Sobrien 452960484Sobrien * listing.c (listing_print): Close the listing file if it is not 453060484Sobrien stdout. Close the other files opened for the listing. 453160484Sobrien 453260484Sobrien * config/tc-sparc.h (md_cons_align): Define. 453360484Sobrien (sparc_cons_align): Declare. 453460484Sobrien (HANDLE_ALIGN): Define. 453560484Sobrien (sparc_handle_align): Declare. 453660484Sobrien * config/tc-sparc.c (sparc_cons_align): New function. 453760484Sobrien (sparc_handle_align): New function. 453860484Sobrien * read.c (cons_worker): Call md_cons_align if it is defined. 453960484Sobrien 454060484Sobrien * as.h (struct frag): Add fr_file and fr_line fields. 454160484Sobrien * frags.c (frag_new): Set fr_file and fr_line. 454260484Sobrien (frag_var): Likewise. 454360484Sobrien (frag_variant): Likewise. 454460484Sobrien 454560484Sobrien * as.h (struct frag): Remove unused align_mask and align_offset 454660484Sobrien fields. 454760484Sobrien 454860484Sobrien * listing.c (calc_hex): Offset by fr_fix when examining fr_var. 454960484Sobrien From <uddeborg@carmen.se>. 455060484Sobrien 455160484SobrienWed Jun 26 13:21:34 1996 Ian Lance Taylor <ian@cygnus.com> 455260484Sobrien 455360484Sobrien * configure.in (mips-*-osf*): New target. 455460484Sobrien * configure: Rebuild. 455560484Sobrien 455660484Sobrien * config/tc-m68k.c: Add 68ec060 as a synonym for 68060. 455760484Sobrien 455860484SobrienWed Jun 26 16:23:08 1996 James G. Smith <jsmith@cygnus.co.uk> 455960484Sobrien 456060484Sobrien * config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion 4561218822Sdim between co-processor comparisons and branches for the VR4300. 456260484Sobrien 456360484SobrienMon Jun 24 18:02:50 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 456460484Sobrien 456560484Sobrien * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 456660484Sobrien INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. 456760484Sobrien (docdir): Removed. 456860484Sobrien * configure.in (AC_PREREQ): autoconf 2.5 or higher. 456960484Sobrien * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, 457060484Sobrien includedir): Use autoconf set values. 457160484Sobrien (docdir): Removed. 457260484Sobrien 457360484SobrienMon Jun 24 11:58:14 1996 Ian Lance Taylor <ian@cygnus.com> 457460484Sobrien 457560484Sobrien * listing.c (listing_eject): Don't do anything if listing is 0. 457660484Sobrien (listing_list): Likewise. 457760484Sobrien (listing_source_line): Likewise. 457860484Sobrien (listing_title): Don't save title if listing is 0. 457960484Sobrien (listing_source_file): Check listing rather than listing_tail. 458060484Sobrien 458160484Sobrien * configure.in: On alpha*-*-osf*, link against libbfd.a if not 458260484Sobrien using shared libraries. 458360484Sobrien * configure: Rebuild. 458460484Sobrien 458560484SobrienFri Jun 21 18:22:23 1996 Ian Lance Taylor <ian@cygnus.com> 458660484Sobrien 458760484Sobrien * config/tc-mips.c (mips_ip): In case 'i'/'j', don't require an 458860484Sobrien absolute expression if a relocation type was specified. 458960484Sobrien 459060484SobrienFri Jun 21 17:40:16 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> 459160484Sobrien 459260484Sobrien * configure.in: Add support for *-*-rtems* configurations. 459360484Sobrien * configure: Rebuild. 459460484Sobrien 459560484SobrienFri Jun 21 16:01:18 1996 Richard Henderson <rth@tamu.edu> 459660484Sobrien 459760484Sobrien * configure.in: Add alpha-*-linuxecoff* target. Use elf for 459860484Sobrien alpha-*-linux* target. Force bfd_gas for alpha-*. Require 459960484Sobrien opcodes library for alpha. 460060484Sobrien * configure: Rebuild with autoconf 2.10. 460160484Sobrien * config/tc-alpha.c: Substantial rewrite to add ELF support and 460260484Sobrien use new opcode table. 460360484Sobrien * config/tc-alpha.h (md_undefined_symbol): Don't define. 460460484Sobrien (LOCAL_LABEL): Define differently if OBJ_ELF. 460560484Sobrien (FAKE_LABEL_NAME): Define if OBJ_ELF. 460660484Sobrien * config/alpha-opcode.h: Remove. 460760484Sobrien * config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING. 460860484Sobrien * Makefile.in (TARG_CPU_DEP_alpha): Depend upon 460960484Sobrien include/opcode/alpha.h rather than config/alpha-opcode.h. 461060484Sobrien 461160484SobrienThu Jun 20 19:10:28 1996 Ian Lance Taylor <ian@cygnus.com> 461260484Sobrien 461360484Sobrien * config/obj-aout.c (obj_emit_relocations): Give an error if the 461460484Sobrien relocation symbol was not resolved. 461560484Sobrien * config/obj-coff.c (do_relocs_for): Likewise. 461660484Sobrien 461760484Sobrien * write.c (adjust_reloc_syms): Refetch the symbol section after 461860484Sobrien calling S_GET_VALUE, since it may have changed. 461960484Sobrien 462060484Sobrien * expr.c (struct expr_symbol_line): Define. 462160484Sobrien (expr_symbol_lines): New static variable. 462260484Sobrien (make_expr_symbol): Add entry to expr_symbol_lines. 462360484Sobrien (expr_symbol_where): New function. 462460484Sobrien * expr.h: Use extern on function declarations. 462560484Sobrien (expr_symbol_where): Declare. 462660484Sobrien * symbols.c (resolve_symbol_value): Try to use expr_symbol_where 462760484Sobrien rather than printing the meaningless name of an expression 462860484Sobrien symbol. 462960484Sobrien 463060484SobrienThu Jun 20 15:57:41 1996 Ken Raeburn <raeburn@cygnus.com> 463160484Sobrien 463260484Sobrien * config/tc-i386.c (md_number_to_chars): Deleted. 463360484Sobrien * config/tc-i386.h (md_number_to_chars): New macro. 463460484Sobrien 463560484Sobrien * config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in 463660484Sobrien the file. 463760484Sobrien (load_symbol_address, load_expression): Use build_mem. 463860484Sobrien (build_operate): New function. 463960484Sobrien (emit_addq_r): Use it. 464060484Sobrien 464160484Sobrien Wed Mar 13 22:14:14 1996 Pat Rankin <rankin@eql.caltech.edu> 464260484Sobrien 464360484Sobrien * symbols.c (colon): #if VMS, use S_SET_OTHER to store `const_flag'. 464460484Sobrien 464560484Sobrien Tue Mar 5 14:31:45 1996 Pat Rankin <rankin@eql.caltech.edu> 464660484Sobrien 464760484Sobrien * config/tc-vax.h (NOP_OPCODE): Define. 464860484Sobrien 464960484Sobrien Sun Feb 4 21:01:03 1996 Pat Rankin <rankin@eql.caltech.edu> 465060484Sobrien 465160484Sobrien * config/obj-vms.h (S_IS_COMMON): Define. 465260484Sobrien (S_IS_LOCAL): Check for \002 as well as \001. 465360484Sobrien (LONGWORD_ALIGNMENT): New macro. 465460484Sobrien (SUB_SEGMENT_ALIGN): Use it. 465560484Sobrien 465660484Sobrien Fri Jan 26 17:44:09 1996 Pat Rankin <rankin@eql.caltech.edu> 465760484Sobrien 465860484Sobrien * config/vms-conf.h: Reconcile with conf.in. 465960484Sobrien 466060484SobrienWed Jun 19 11:31:50 1996 Ian Lance Taylor <ian@cygnus.com> 466160484Sobrien 466260484Sobrien * write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is 466360484Sobrien defined. 466460484Sobrien 466560484Sobrien * doc/as.texinfo: Document that any number of hex digits can 466660484Sobrien follow \x. 466760484Sobrien 466860484Sobrien * as.c (struct defsym_list): Define. 466960484Sobrien (defsyms): New static variable. 467060484Sobrien (parse_args): Just put --defsym arguments on defsyms list, rather 467160484Sobrien than defining them. 467260484Sobrien (main): Define defsyms after output file is created. 467360484Sobrien 467460484Sobrien * config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on 467560484Sobrien cpu32. From Eric Norum <Eric.Norum@usask.ca>. 467660484Sobrien 467760484Sobrien * config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set 467860484Sobrien insn_error rather than calling check_absolute_expr. 467960484Sobrien 468060484Sobrien * as.c (emulation_name): Remove unused static variable. 468160484Sobrien (default_emul_bfd_name): Add return NULL to avoid warning. 468260484Sobrien * ecoff.c (ecoff_stab): Remove unused variables name and 468360484Sobrien name_end. 468460484Sobrien * frags.c (frag_new): Remove unused variable tmp. 468560484Sobrien * hash.c (hash_grow): Parenthesize + within <<. 468660484Sobrien (hash_print_statistics): Use %lu, not %d, to print unsigned 468760484Sobrien long variables. 468860484Sobrien * messages.c: Include "libiberty.h". 468960484Sobrien (fprint_value): Add cast to avoid printf warning. 469060484Sobrien (sprint_value): Likewise. 469160484Sobrien * read.c: Include "ecoff.h". 469260484Sobrien (emit_expr): Add casts to avoid printf warnings. 469360484Sobrien * read.h: Use extern for function declarations. 469460484Sobrien (pop_insert): Declare. 469560484Sobrien * stabs.c: Include "ecoff.h". 469660484Sobrien * subsegs.c (subseg_set_rest): Remove unused variables tmp, 469760484Sobrien former_last_fragP, and new_fragP. 469860484Sobrien * subsegs.h (subsegs_print_statistics): Declare. 469960484Sobrien * symbols.c (debug_verify_symchain): Change macro to discard 470060484Sobrien arguments. 470160484Sobrien * write.c (dump_section_relocs): Likewise. 470260484Sobrien * write.h: Use extern for function declarations. 470360484Sobrien (write_print_statistics): Declare. 470460484Sobrien * config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid 470560484Sobrien warning. 470660484Sobrien * config/e-mipself.c (mipself_bfd_name): Likewise. 470760484Sobrien * config/obj-elf.h (elf_ecoff_set_ext): Declare. 470860484Sobrien 470960484Sobrien * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always 471060484Sobrien emit relocations against external symbols. 471160484Sobrien 471260484Sobrien * config/tc-alpha.c (tc_gen_reloc): Output a sensible error 4713218822Sdim message if bfd_reloc_type_lookup fails, rather than calling 4714218822Sdim assert. 471560484Sobrien 471660484Sobrien * config/tc-alpha.c (alpha_force_relocation): Add 471760484Sobrien BFD_RELOC_12_PCREL to switch. 471860484Sobrien 471960484SobrienTue Jun 18 20:29:57 1996 Doug Evans <dje@canuck.cygnus.com> 472060484Sobrien 472160484Sobrien * config/tc-i386.h (LOCAL_LABEL,FAKE_LABEL_NAME): Use defaults for 472260484Sobrien TE_PE (Lfoo, not .Lfoo). 472360484Sobrien 472460484SobrienTue Jun 18 17:13:33 1996 Ian Lance Taylor <ian@cygnus.com> 472560484Sobrien 472660484Sobrien * read.c (s_fill): Don't warn about a zero repeat count. 472760484Sobrien 472860484Sobrien * config/tc-mips.c (mips_ip): Don't warn about using AT as a 472960484Sobrien coprocessor register. 473060484Sobrien 473160484Sobrien * config/tc-i386.c (md_assemble): When checking the size of a 473260484Sobrien register to set the size of an instruction, do a bitwise and with 473360484Sobrien Reg8 and Reg16 rather than requiring the type to be exactly Reg8 473460484Sobrien or Reg16. 473560484Sobrien 473660484SobrienTue Jun 18 13:19:51 1996 Jeffrey A. Law <law@rtl.cygnus.com> 473760484Sobrien 473860484Sobrien * config/tc-h8300.c (parse_reg): Tweak error messages. 473960484Sobrien (build_bytes): Likewise. 474060484Sobrien (skip_colonthing): Handle :32 suffix. 474160484Sobrien (get_specific): Promote L_24 to L_32 if it makes a match. 474260484Sobrien Don't always promote L_8 to L_16. 474360484Sobrien (do_a_fix_imm): Clean up L_32 and L_24 handling. 474460484Sobrien 474560484Sobrien * config/tc-h8300.c (Smode): New variable. 474660484Sobrien (h8300hmode): Turn off Hmode. 474760484Sobrien (h8300smode): New function. Turn on Smode and Hmode. 474860484Sobrien (md_pseudo_table): New ".h8300s" pseudo-op. 474960484Sobrien (parse_reg): Handle "exr" register. 475060484Sobrien (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l". 475160484Sobrien Handle "mach" and "machl" operands for ldmac. 475260484Sobrien (get_specific): Handle "stm.l" and "ldm.l". 475360484Sobrien (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands. 475460484Sobrien * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number. 475560484Sobrien (Smode): Declare. 475660484Sobrien 475760484SobrienMon Jun 17 15:50:53 1996 J.T. Conklin <jtc@rtl.cygnus.com> 475860484Sobrien 475960484Sobrien * doc/as.texinfo: Reorder chapter of machine dependent options so 4760218822Sdim that it is sorted by chip name. 476160484Sobrien 476260484Sobrien * doc/as.texinfo: Use consistant spelling of Vax. 476360484Sobrien * doc/c-vax.texi: Likewise. 476460484Sobrien 476560484SobrienMon Jun 17 11:26:56 1996 Jeffrey A. Law <law@rtl.cygnus.com> 476660484Sobrien 476760484Sobrien * config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try" 476860484Sobrien pseudo ops. 476960484Sobrien (tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY. 477060484Sobrien (md_apply_fix): Likewise. 477160484Sobrien (pa_try): New function. 477260484Sobrien (hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY. 477360484Sobrien 477460484SobrienSun Jun 16 22:57:47 1996 Jeffrey A. Law <law@rtl.cygnus.com> 477560484Sobrien 477660484Sobrien * config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op. 477760484Sobrien (pa_level): New function. 477860484Sobrien 477960484SobrienFri Jun 14 20:06:44 1996 Ian Lance Taylor <ian@cygnus.com> 478060484Sobrien 478160484Sobrien * listing.c (listing_newline): Don't do anything if listing is 0. 478260484Sobrien 478360484SobrienThu Jun 13 17:50:54 1996 Ian Lance Taylor <ian@cygnus.com> 478460484Sobrien 478560484Sobrien * subsegs.c (section_symbol): If symbol_table_frozen is set, call 478660484Sobrien symbol_create, not symbol_new. 478760484Sobrien 478860484SobrienWed Jun 12 14:10:44 1996 Ian Lance Taylor <ian@cygnus.com> 478960484Sobrien 479060484Sobrien * write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an 479160484Sobrien absolute symbol unless TC_FORCE_RELOCATION returns true. 479260484Sobrien 479360484Sobrien * config/obj-coff.c (previous_file_symbol): Remove BFD_ASSEMBLER 479460484Sobrien version. 479560484Sobrien (c_dot_file_symbol): BFD_ASSEMBLER version: Don't set the value of 479660484Sobrien the symbol to a pointer. Don't set previous_file_symbol. 479760484Sobrien Simplify symbol list rearrangement. 479860484Sobrien (coff_frob_symbol): Don't do anything with C_FILE symbols. 479960484Sobrien (coff_adjust_symtab): Don't check previous_file_symbol. 480060484Sobrien 480160484SobrienMon Jun 10 14:52:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> 480260484Sobrien 480360484Sobrien * config/tc-ppc.c (ppc_elf_lcomm): New function for .lcomm 480460484Sobrien directive. 480560484Sobrien (md_pseudo_table): Add ppc_elf_lcomm. 480660484Sobrien 480760484SobrienMon Jun 10 11:45:51 1996 Ian Lance Taylor <ian@cygnus.com> 480860484Sobrien 480960484Sobrien * config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu 481060484Sobrien d0{24:1},d0' works without an immediate prefix on the bit numbers. 481160484Sobrien (md_begin): Add digits to alt_notend_table. 481260484Sobrien (md_parse_option): Make s a const pointer. 481360484Sobrien 481460484Sobrien * config/tc-sparc.c (md_pseudo_table): Add "empty". 481560484Sobrien (s_empty): New static function. 481660484Sobrien 481760484Sobrien * config/obj-coff.c (struct filename_list): Only define if not 481860484Sobrien BFD_ASSEMBLER. 481960484Sobrien (filename_list_head, filename_list_tail): Likewise. 482060484Sobrien (c_section_symbol): Remove unused BFD_ASSEMBLER version. 482160484Sobrien (obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging 482260484Sobrien flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should 482360484Sobrien have a section of N_ABS rather than N_DEBUG. If we do a merge, 482460484Sobrien remove the new symbol from the list. 4825218822Sdim (obj_coff_endef, both versions): Call tag_insert even if there is 482660484Sobrien an old symbol with the same name, if the old symbol does not 482760484Sobrien happen to be a tag. 482860484Sobrien (coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of 482960484Sobrien the SF_GET_DEBUG condition. Don't call SA_SET_SYM_ENDNDX with a 483060484Sobrien symbol that will be moved to the end of the symbol list. 483160484Sobrien (coff_adjust_section_syms): Always call section_symbol for .text, 483260484Sobrien .data, and .bss. 483360484Sobrien (coff_frob_section): Likewise. Also, remove unused variable 483460484Sobrien strname. 483560484Sobrien 483660484Sobrien * config/tc-ns32k.c (convert_iif): Call frag_grow rather than 483760484Sobrien manipulating frags directly. 483860484Sobrien (md_number_to_field): Adjust mem_ptr correctly if ENDIAN is 483960484Sobrien defined. 484060484Sobrien 484160484Sobrien * app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check 4842218822Sdim whether the next character is '*' before checking whether we are 484360484Sobrien at the start of a line. Permit LINE_COMMENT_START to start a 484460484Sobrien comment in state 1 (seen some whitespace) as well, to match the 484560484Sobrien documentation. 484660484Sobrien 484760484Sobrien * gasp.c (do_align): Permit a fill value for .align. 484860484Sobrien 484960484SobrienWed Jun 5 17:09:26 1996 Ian Lance Taylor <ian@cygnus.com> 485060484Sobrien 485160484Sobrien * read.c (next_char_of_string): Warn if a newline is seen in the 485260484Sobrien middle of a string. Call bump_line_counters when appropriate. 485360484Sobrien 485460484SobrienWed Jun 5 17:08:36 1996 Richard Henderson <rth@tamu.edu> 485560484Sobrien 485660484Sobrien * symbols.c (colon): Use LOCAL_LABEL. 485760484Sobrien 485860484SobrienTue Jun 4 10:55:16 1996 Tom Tromey <tromey@csk3.cygnus.com> 485960484Sobrien 486060484Sobrien * Makefile.in (install): Don't check to see if tooldir exists. 486160484Sobrien Make $(tooldir) and $(tooldir)/bin. 486260484Sobrien 486360484SobrienTue Jun 4 10:14:53 1996 Michael Meissner <meissner@tiktok.cygnus.com> 486460484Sobrien 486560484Sobrien * config/ppc-sol.mt (TDEFINES): Don't turn on -mregnames by 486660484Sobrien default. 486760484Sobrien 486860484SobrienMon Jun 3 11:34:41 1996 Ian Lance Taylor <ian@cygnus.com> 486960484Sobrien 487060484Sobrien * config/tc-mips.c (mips_ip): Don't call as_warn if we are setting 487160484Sobrien insn_error. Don't put the string "ERROR" in insn_error. Set 487260484Sobrien insn_error rather than calling as_warn for an unsupported opcode. 487360484Sobrien 487460484SobrienSat Jun 1 21:51:55 1996 Ian Lance Taylor <ian@cygnus.com> 487560484Sobrien 487660484Sobrien * config/tc-mips.c (md_parse_option): Check for a 64 bit format 487760484Sobrien before permitting -64. 487860484Sobrien * output-file.c (output_file_create): Remove duplicate 487960484Sobrien bfd_perror. 488060484Sobrien 488160484SobrienFri May 31 01:08:06 1996 Ian Lance Taylor <ian@cygnus.com> 488260484Sobrien 488360484Sobrien * config/tc-mips.c (md_begin): If -64, create a .MIPS.options 488460484Sobrien section rather than a .reginfo section. 488560484Sobrien (mips_elf_final_processing): If -64, write out 64 bit RegInfo 488660484Sobrien information. 488760484Sobrien 488860484Sobrien * config/tc-mips.c (load_register): If mips_isa < 3, permit a 32 488960484Sobrien bit value with the high bit set. 489060484Sobrien 489160484SobrienThu May 30 19:00:19 1996 Ian Lance Taylor <ian@cygnus.com> 489260484Sobrien 489360484Sobrien * read.c (s_lcomm): Set section flags for .sbss section. 489460484Sobrien 489560484Sobrien * config/tc-mips.c (mips_64): New static variable. 489660484Sobrien (mips_target_format): If mips_64, return elf64 targets rather than 489760484Sobrien elf32 ones. 489860484Sobrien (md_longopts): Add "32" and "64". 489960484Sobrien (md_parse_option): Handle -32 and -64. 490060484Sobrien (md_show_usage): Mention -32 and -64. 490160484Sobrien (cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to 490260484Sobrien a 4 byte one. 490360484Sobrien 490460484SobrienThu May 30 10:36:19 1996 Michael Meissner <meissner@tiktok.cygnus.com> 490560484Sobrien 490660484Sobrien * config/tc-ppc.c (comment_chars): Make '!' a comment character 490760484Sobrien for Solaris compatibility. 490860484Sobrien 490960484Sobrien * stabs.c (s_stab_generic): Under PowerPC Solaris, convert a 491060484Sobrien .stabd with 4 arguments into a .stabn. 491160484Sobrien 491260484SobrienWed May 29 16:43:16 1996 Ian Lance Taylor <ian@cygnus.com> 491360484Sobrien 491460484Sobrien * config/tc-mips.c (macro): When passing X_add_number to 491560484Sobrien macro_build, cast it to int first. 491660484Sobrien 491760484SobrienTue May 28 13:29:39 1996 Ian Lance Taylor <ian@cygnus.com> 491860484Sobrien 491960484Sobrien * config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as 492060484Sobrien created by emit_expr. 492160484Sobrien 492260484Sobrien * symbols.c (symbol_create): If bfd_make_empty_symbol fails, call 492360484Sobrien as_perror rather than assert. 492460484Sobrien 492560484SobrienFri May 24 18:24:11 1996 Ian Lance Taylor <ian@cygnus.com> 492660484Sobrien 492760484Sobrien * config/tc-mips.c (mips_ip): Mark sections created to hold 492860484Sobrien floating point information as read only. 492960484Sobrien 493060484SobrienFri May 24 12:07:54 1996 David Edelsohn <edelsohn@mhpcc.edu> 493160484Sobrien 493260484Sobrien * config/tc-ppc.c (ppc_set_cpu): Change defaults to match AIX. 493360484Sobrien 493460484SobrienThu May 23 17:34:24 1996 Michael Meissner <meissner@tiktok.cygnus.com> 493560484Sobrien 493660484Sobrien * read.c (potable): Add .skip as a synonym for .space. 493760484Sobrien 493860484Sobrien * stabs.c (s_stab_generic): For PowerPC ELF, allow .stabd to take 493960484Sobrien 4 arguments, providing the 4th argument is 0, to allow 494060484Sobrien compatibility with the Solaris assembler. 494160484Sobrien 494260484SobrienThu May 16 15:51:48 1996 Ian Lance Taylor <ian@cygnus.com> 494360484Sobrien 494460484Sobrien * config/tc-sh.h (struct sh_segment_info_type): Define. 494560484Sobrien (TC_SEGMENT_INFO_TYPE): Define. 494660484Sobrien (sh_frob_label): Declare. 494760484Sobrien (tc_frob_label): Define. 494860484Sobrien (sh_flush_pending_output): Declare. 494960484Sobrien (md_flush_pending_output): Define. 495060484Sobrien * config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE 4951218822Sdim reloc before the instruction if necessary. 495260484Sobrien (sh_frob_label): New function. 495360484Sobrien (sh_flush_pending_output): New function. 495460484Sobrien (sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs 495560484Sobrien when looking for the reloc for the target of .uses. 495660484Sobrien (md_convert_frag): Fix printf format (%0xlx to 0x%lx). 495760484Sobrien (sh_force_relocation): Force CODE, DATA, and LABEL relocs to be 495860484Sobrien emitted. 495960484Sobrien (md_apply_fix): Ignore CODE, DATA, and LABEL relocs. 496060484Sobrien (sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use 496160484Sobrien the absolute symbol. 496260484Sobrien 496360484Sobrien * subsegs.h (segment_info_type): Add tc_segment_info_data field if 496460484Sobrien TC_SEGMENT_INFO_TYPE is defined. 496560484Sobrien 496660484SobrienWed May 15 12:23:53 1996 Ian Lance Taylor <ian@cygnus.com> 496760484Sobrien 496860484Sobrien * config/tc-i386.c (md_assemble): Make sure the opcode suffix 496960484Sobrien matches the register size. 497060484Sobrien 497160484SobrienWed May 15 08:33:37 1996 Jeffrey A Law (law@cygnus.com) 497260484Sobrien 497360484Sobrien * config/obj-coff.c (count_entries_in_chain): Ignore Fixups with 4974218822Sdim fx_done set. 497560484Sobrien (do_relocs_for): Likewise. 497660484Sobrien (fixup_segment): Don't just quit if linkrelax is set. Try to 497760484Sobrien apply non pc-relative sym1-sym2 fixups, even if linkrelax is 497860484Sobrien nonzero. 497960484Sobrien 498060484SobrienFri May 10 14:16:59 1996 Michael Meissner <meissner@tiktok.cygnus.com> 498160484Sobrien 498260484Sobrien * config/tc-ppc.c (ppc_elf_validate_fix): Allow GOT and section 498360484Sobrien relative relocations with -mrelocatable. Also allow unfixed 498460484Sobrien relocs in .ex_shared. 498560484Sobrien 498660484SobrienTue May 7 11:24:10 1996 Ian Lance Taylor <ian@cygnus.com> 498760484Sobrien 498860484Sobrien * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET is 498960484Sobrien non-zero before assuming this is a long file name. 499060484Sobrien (w_strings): Likewise. 499160484Sobrien (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name. 499260484Sobrien 499360484Sobrien * config/obj-coff.c (w_strings): Move declaration of i inside 499460484Sobrien #ifdef block which uses it. 499560484Sobrien 499660484SobrienTue May 7 00:49:58 1996 Jeffrey A Law (law@cygnus.com) 499760484Sobrien 499860484Sobrien * config/tc-h8300.c (do_a_fix_imm): Rename last argument to 499960484Sobrien "relaxmode". Output relocs which identify various relaxing 500060484Sobrien possibilities for mov.[bwl] instructions. 500160484Sobrien (build_bytes): Pass in a relaxing mode to do_a_fix_imm. 500260484Sobrien 500360484SobrienMon May 6 15:26:28 1996 Doug Evans <dje@canuck.cygnus.com> 500460484Sobrien 500560484Sobrien * config/tc-arm.h (TC_HANDLES_FX_DONE): Define. 500660484Sobrien (MD_APPLY_FIX3): Define. 500760484Sobrien * config/tc-arm.c (my_get_expression): Only watch for bad segments 500860484Sobrien if OBJ_AOUT. 500960484Sobrien (md_apply_fix3): Renamed from md_apply_fix. 501060484Sobrien If pcrel reloc and symbol is in different section, undo effects 501160484Sobrien of md_pcrel_from. 501260484Sobrien 501360484SobrienSat May 4 12:49:35 1996 Jeffrey A Law (law@cygnus.com) 501460484Sobrien 501560484Sobrien * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust 501660484Sobrien any reloc with an LR% or RR% field selector for SOM. 501760484Sobrien 501860484SobrienSat May 4 11:26:19 1996 Ian Lance Taylor <ian@cygnus.com> 501960484Sobrien 502060484Sobrien * Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_* 5021218822Sdim variables. 502260484Sobrien 502360484SobrienFri May 3 17:58:31 1996 Ian Lance Taylor <ian@cygnus.com> 502460484Sobrien 502560484Sobrien * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with 502660484Sobrien SF_GET_STATICS set. 502760484Sobrien (yank_symbols): Likewise. 502860484Sobrien 502960484SobrienWed May 1 13:38:17 1996 Ian Lance Taylor <ian@cygnus.com> 503060484Sobrien 503160484Sobrien * subsegs.h (segment_info_type): If MANY_SEGMENTS and not 503260484Sobrien BFD_ASSEMBLER, add name field. 503360484Sobrien * config/obj-coff.c: Include "libiberty.h". 503460484Sobrien (coff_header_append): Handle long section names. 503560484Sobrien (crawl_symbols): Just use the name field for the symbol name, 503660484Sobrien without worrying about null byte termination. 503760484Sobrien (w_strings): Handle long section names. 503860484Sobrien (write_object_file): Likewise. Also, use the name field, rather 503960484Sobrien than scnhdr.s_name. 504060484Sobrien (obj_coff_add_segment): Permit long section names. 504160484Sobrien (obj_coff_init_stab_section): Use the name field, rather than 504260484Sobrien scnhdr.s_name. 504360484Sobrien (adjust_stab_section): Likewise. 504460484Sobrien * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define. 504560484Sobrien 504660484Sobrien * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field. 504760484Sobrien (mem_fmt): Likewise. 504860484Sobrien (md_apply_fix): Don't check fx_im_disp field. 504960484Sobrien 505060484SobrienThu Apr 25 11:39:51 1996 Ian Lance Taylor <ian@cygnus.com> 505160484Sobrien 505260484Sobrien * configure.in: Add * after sparc*-*-vxworks. 505360484Sobrien * configure: Rebuild. 505460484Sobrien 505560484Sobrien * app.c (do_scrub_begin): If tc_comment_chars is not defined, 505660484Sobrien define it to comment_chars. Use tc_comment_chars rather than 505760484Sobrien comment_chars. 505860484Sobrien (do_scrub_chars): Use tc_comment_chars rather than comment_chars. 505960484Sobrien * config/tc-m68k.h (tc_comment_chars): Define. 506060484Sobrien (m68k_comment_chars): Declare. 506160484Sobrien * config/tc-m68k.c (m68k_comment_chars): Rename from 506260484Sobrien comment_chars. Change into a pointer rather than an array. 506360484Sobrien (md_longopts): Add "bitwise-or". 506460484Sobrien (md_parse_option): Handle OPTION_BITWISE_OR. 506560484Sobrien (md_show_usage): Mention --bitwise-or. 506660484Sobrien * doc/c-m68k.texi: Document --bitwise-or. 506760484Sobrien 506860484SobrienWed Apr 24 11:28:38 1996 Ian Lance Taylor <ian@cygnus.com> 506960484Sobrien 507060484Sobrien * config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets 5071218822Sdim in 68000 mode. 507260484Sobrien 507360484Sobrien * config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version: 507460484Sobrien call demand_empty_rest_of_line. Non BFD_ASSEMBLER version: 507560484Sobrien correct handling of input line pointer, and call 507660484Sobrien demand_empty_rest_of_line. 507760484Sobrien 507860484SobrienMon Apr 22 18:02:37 1996 Doug Evans <dje@blues.cygnus.com> 507960484Sobrien 508060484Sobrien * config/tc-sparc.c (in_bitfield_range): New static function. 508160484Sobrien (sparc_ip): New cases X,Y. Use SPARC_OPCODE_ARCH_V9_P. 508260484Sobrien (md_apply_fix, cases BFD_RELOC_32_PCREL_S2, 508360484Sobrien BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code. 508460484Sobrien (md_apply_fix): New cases BFD_RELOC_SPARC_[56]. 508560484Sobrien (tc_gen_reloc): New cases BFD_RELOC_SPARC_[56]. 508660484Sobrien 508760484SobrienThu Apr 18 18:58:33 1996 Ian Lance Taylor <ian@cygnus.com> 508860484Sobrien 508960484Sobrien * config/obj-coff.c: BFD_ASSEMBLER: 5090218822Sdim (coff_last_bf): New static variable. 509160484Sobrien (coff_frob_symbol): Set endndx of a .bf symbol. 509260484Sobrien Non BFD_ASSEMBLER: 509360484Sobrien (obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol. 509460484Sobrien (last_bfP): New static variable. 509560484Sobrien (yank_symbols): Set endndx of a .bf symbol. 509660484Sobrien 509760484SobrienThu Apr 18 11:53:58 1996 Michael Meissner <meissner@tiktok.cygnus.com> 509860484Sobrien 509960484Sobrien * config/tc-ppc.c (md_parse_option): Add support for Solaris's -le 510060484Sobrien and -s options. Add -be for good measure. 510160484Sobrien 510260484SobrienWed Apr 17 12:31:01 1996 Ian Lance Taylor <ian@cygnus.com> 510360484Sobrien 510460484Sobrien * read.c (s_space): Support non-constant fill value. Handle fill 510560484Sobrien value correctly for a size other than 1. 510660484Sobrien 510760484SobrienTue Apr 16 15:17:40 1996 Doug Evans <dje@canuck.cygnus.com> 510860484Sobrien 510960484Sobrien * config/tc-arm.c (my_get_float_expression): Update call to 511060484Sobrien gen_to_words, X_PRECISION changed from 6 to 5. 511160484Sobrien 511260484SobrienTue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> 511360484Sobrien 511460484Sobrien * config/tc-ppc.c (register_name,reg_name_search): Move register 511560484Sobrien name lookup from PE specific code to all targets. Add support for 511660484Sobrien -mregnames/-mno-regnames to control whether register names are 511760484Sobrien expanded or not. 511860484Sobrien (md_assemble): Call register_name for all platforms. 511960484Sobrien (md_parse_option): Add support for -mregnames/-mno-regnames. 512060484Sobrien 512160484Sobrien * configure.in (powerpcle*-*-solaris): Add support. 512260484Sobrien (powerpc*-*-linux): Ditto. 512360484Sobrien * configure: Regenerate. 512460484Sobrien 512560484Sobrien * config/ppc-sol.mt: New config file for PowerPC Solaris. 512660484Sobrien 512760484SobrienMon Apr 15 12:26:33 1996 Ian Lance Taylor <ian@cygnus.com> 512860484Sobrien 512960484Sobrien * config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to 513060484Sobrien be associated with a single %lo reloc. 513160484Sobrien 513260484Sobrien * config/tc-mips.c (load_address): Cast X_add_number to valueT 513360484Sobrien before comparing against MAX_GPREL_OFFSET, so that negative 513460484Sobrien numbers are handled correctly. 513560484Sobrien (macro): Likewise. 513660484Sobrien 513760484SobrienThu Apr 11 12:39:02 1996 Ian Lance Taylor <ian@cygnus.com> 513860484Sobrien 513960484Sobrien * config/tc-sparc.c (last_insn): New static variable. 514060484Sobrien (md_assemble): Warn about putting floating point branches in a 514160484Sobrien delay slot. If architecture is less than v9, insert NOP 514260484Sobrien instructions between floating point instructions and floating 514360484Sobrien point branches. (The SunOS assembler does both these operations.) 514460484Sobrien Save the last instruction opcode. 514560484Sobrien (sparc_ip): Add pinsn parameter. Change caller. 514660484Sobrien 514760484Sobrien * config/tc-m68k.c (md_estimate_size_before_relax): Correct check 514860484Sobrien for byte jump to next instruction to skip empty frags. 514960484Sobrien 515060484SobrienWed Apr 10 16:48:12 1996 Ian Lance Taylor <ian@cygnus.com> 515160484Sobrien 515260484Sobrien * config/tc-alpha.c (alpha_ip): If we are going to call emit_add64 515360484Sobrien for addq with a 16 bit signed value, just emit a lda instruction 515460484Sobrien instead. 515560484Sobrien 515660484SobrienWed Apr 10 14:34:49 1996 Jeffrey A Law (law@cygnus.com) 515760484Sobrien 515860484Sobrien * config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits 515960484Sobrien of a 32bit operand. 516060484Sobrien 516160484SobrienMon Apr 8 14:42:53 1996 Ian Lance Taylor <ian@cygnus.com> 516260484Sobrien 516360484Sobrien * configure.in: Permit --enable-shared to specify a list of 516460484Sobrien directories. 516560484Sobrien * configure: Rebuild. 516660484Sobrien 516760484SobrienFri Apr 5 17:01:35 1996 Jeffrey A Law (law@cygnus.com) 516860484Sobrien 516960484Sobrien * config/tc-h8300.c (get_specific): Remove some #if 0 code. 517060484Sobrien (build_bytes): Remove all ABSMOV related code; it's unnecessary. 517160484Sobrien 517260484SobrienFri Apr 5 15:13:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 517360484Sobrien 517460484Sobrien * config/atof-ieee.c: Fix handling of denormalized extended 517560484Sobrien precision numbers and overflow/underflow detection. 517660484Sobrien (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to 517760484Sobrien not include the 16 bit gap in the m68k extended precision format. 517860484Sobrien 517960484SobrienFri Apr 5 14:29:23 1996 Ian Lance Taylor <ian@cygnus.com> 518060484Sobrien 518160484Sobrien * configure.in: Add i386-*-freebsdelf* target; from John Polstra 518260484Sobrien <jdp@polstra.com>. 518360484Sobrien * configure: Rebuild. 518460484Sobrien 518560484SobrienFri Apr 5 18:39:28 1996 James G. Smith <jsmith@cygnus.co.uk> 518660484Sobrien 518760484Sobrien * config/tc-mips.c: Allow non-zero offsets from .sdata symbols to 5188218822Sdim be accessed using the $gp register. 518960484Sobrien * config/tc-mips.h (MAX_GPREL_OFFSET): Added. 519060484Sobrien 519160484SobrienWed Apr 3 10:56:14 1996 Doug Evans <dje@canuck.cygnus.com> 519260484Sobrien 519360484Sobrien * config/tc-sparc.c (sparc_md_end): Set bfd machine number to 519460484Sobrien bfd_mach_sparc_sparclet if current_architecture is sparclet. 519560484Sobrien 519660484SobrienMon Apr 1 16:55:44 1996 Ian Lance Taylor <ian@cygnus.com> 519760484Sobrien 519860484Sobrien * read.c (get_line_sb): Bump line counters based on 519960484Sobrien input_line_pointer[-1], not *input_line_pointer. Don't bother to 520060484Sobrien call LISTING_NEWLINE. 520160484Sobrien (s_macro): Don't call demand_empty_rest_of_line. 520260484Sobrien * app.c (do_scrub_chars): When handling C style comments, unget 520360484Sobrien ch2 rather than ch. 520460484Sobrien 520560484SobrienFri Mar 29 16:15:06 1996 Ian Lance Taylor <ian@cygnus.com> 520660484Sobrien 520760484Sobrien * read.h (enum linkonce_type): Define. 520860484Sobrien (s_linkonce): Declare. 520960484Sobrien * read.c (potable): Add "linkonce". 521060484Sobrien (s_linkonce): New function. 521160484Sobrien * subsegs.h (segment_info_type): Add linkonce field to 521260484Sobrien MANY_SEGMENTS && ! BFD_ASSEMBLER section. 521360484Sobrien * config/obj-coff.h (obj_handle_link_once): Define if TE_PE. 521460484Sobrien (obj_coff_pe_handle_link_once): Declare if TE_PE. 521560484Sobrien * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include 521660484Sobrien "coff/pe.h". 521760484Sobrien (obj_coff_pe_handle_link_once): New function, defined if TE_PE. 521860484Sobrien (c_section_symbol): If TE_PE, set the x_comdat field in the aux 521960484Sobrien entry based on the linkonce field in segment_info. 522060484Sobrien * doc/as.texinfo: Document .linkonce. 522160484Sobrien 522260484SobrienFri Mar 29 11:31:27 1996 J.T. Conklin (jtc@lisa.cygnus.com) 522360484Sobrien 522460484Sobrien * doc/as.1: Changed to be recognized by catman -w on Solaris. 522560484Sobrien 522660484SobrienThu Mar 28 15:27:47 1996 Ian Lance Taylor <ian@cygnus.com> 522760484Sobrien 522860484Sobrien * stabs.c (s_stab_generic): Call the listing functions before 522960484Sobrien doing the rest of the processing, which may involve freeing the 523060484Sobrien string. Pass string, not string + stroff, to OBJ_PROCESS_STAB in 523160484Sobrien SEPARATE_STAB_SECTIONS case. 523260484Sobrien 523360484Sobrien * config/tc-hppa.c: Remove nested comment. 523460484Sobrien (tc_gen_reloc): Move label done inside the ifdef in which it is 523560484Sobrien used. 523660484Sobrien (md_apply_fix): Pass pointers to correct types to libhppa.h 523760484Sobrien functions. Always return a value. 523860484Sobrien 523960484Sobrien * config/tc-mips.h (tc_frob_file): Define. 524060484Sobrien (mips_frob_file): Declare. 524160484Sobrien * config/tc-mips.c (struct mips_hi_fixup): Define. 524260484Sobrien (mips_hi_fixup_list): New static variable. 524360484Sobrien (imm_unmatched_hi): New static variable. 524460484Sobrien (md_assemble): Clear imm_reloc, imm_unmatched_hi, and 524560484Sobrien offset_reloc. Pass imm_unmatched_hi to append_insn. 524660484Sobrien (append_insn): Add unmatched_hi parameter. If it is set, add the 524760484Sobrien new fixup to mips_hi_fixup_list. Change all callers. 524860484Sobrien (mips_ip): Set imm_unmatched_hi when appropriate. 524960484Sobrien (mips_frob_file): New function. 525060484Sobrien 525160484SobrienThu Mar 28 11:47:59 1996 Doug Evans <dje@canuck.cygnus.com> 525260484Sobrien 525360484Sobrien * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*. 525460484Sobrien * configure: Regenerated. 525560484Sobrien 525660484SobrienTue Mar 26 18:19:12 1996 Ian Lance Taylor <ian@cygnus.com> 525760484Sobrien 525860484Sobrien * as.c (main): Call bfd_set_error_program_name. 525960484Sobrien 526060484SobrienFri Mar 22 11:13:00 1996 Ian Lance Taylor <ian@cygnus.com> 526160484Sobrien 526260484Sobrien * as.h (strdup): Don't declare. 526360484Sobrien * stabs.c: Include libiberty.h 526460484Sobrien (get_stab_string_offset): Use xstrdup rather than strdup. 526560484Sobrien (s_stab_generic): Likewise. 526660484Sobrien * as.c (parse_args): Likewise. 526760484Sobrien * read.c (s_mri_sect): Likewise. 526860484Sobrien 526960484Sobrien * gasp.c (change_base): Recognize \(...) construct documented to 527060484Sobrien pass through enclosed characters literally through to the output. 527160484Sobrien (process_assigns): Likewise. Also, be more careful to avoid 527260484Sobrien looking past the end of the buffer. 527360484Sobrien 527460484SobrienThu Mar 21 13:18:43 1996 Ian Lance Taylor <ian@cygnus.com> 527560484Sobrien 527660484Sobrien * config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for 527760484Sobrien FreeBSD compatibility. From John Polstra <jdp@polstra.com>. 527860484Sobrien 527960484SobrienWed Mar 20 18:13:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 528060484Sobrien 528160484Sobrien * doc/as.texinfo, doc/c-i960.texi: Fix typos. 528260484Sobrien 528360484SobrienWed Mar 20 17:05:16 1996 David Mosberger-Tang <davidm@azstarnet.com> 528460484Sobrien 528560484Sobrien * config/alpha-opcode.h: Added cvtst instruction. 528660484Sobrien 528760484SobrienMon Mar 18 13:12:46 1996 Ian Lance Taylor <ian@cygnus.com> 528860484Sobrien 528960484Sobrien * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab 529060484Sobrien string. Extract the addend from the result of expression. 529160484Sobrien 529260484SobrienFri Mar 15 17:10:43 1996 Ian Lance Taylor <ian@cygnus.com> 529360484Sobrien 529460484Sobrien * app.c (do_scrub_chars): If whitespace is seen in state 11, and 529560484Sobrien LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI 529660484Sobrien mode, change the state to 3 rather than 1. 529760484Sobrien 529860484SobrienThu Mar 14 18:18:25 1996 Ian Lance Taylor <ian@cygnus.com> 529960484Sobrien 530060484Sobrien * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to 530160484Sobrien correspond to 11 March change. 530260484Sobrien 530360484SobrienThu Mar 14 15:27:10 1996 Jeffrey A Law (law@cygnus.com) 530460484Sobrien 530560484Sobrien * config/tc-h8300.c (build_bytes, MEMIND case): Generate 530660484Sobrien an R_MEM_INDIRECT reloc rather than R_RELBYTE. 530760484Sobrien 530860484SobrienTue Mar 12 12:21:10 1996 Ian Lance Taylor <ian@cygnus.com> 530960484Sobrien 531060484Sobrien * configure: Rebuild with autoconf 2.8. 531160484Sobrien 531260484SobrienMon Mar 11 18:57:12 1996 Ian Lance Taylor <ian@cygnus.com> 531360484Sobrien 531460484Sobrien * config/atof-ieee.c (gen_to_words): Improve handling of 531560484Sobrien X_PRECISION numbers. Based on patches from Andreas Schwab 531660484Sobrien <schwab@issan.informatik.uni-dortmund.de>. 531760484Sobrien 531860484SobrienMon Mar 11 09:59:53 1996 Steve Chamberlain <sac@slash.cygnus.com> 531960484Sobrien 532060484Sobrien * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40. 532160484Sobrien (SEG_LAST): New. 532260484Sobrien * subsegs.c (MANY_SEGMENTS): Increase segment limit. 532389857Sobrien * config/obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise. 532460484Sobrien (do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for, 532560484Sobrien crawl_symbols, coff_header_append): Loop to SEG_LAST rather than 532660484Sobrien SEG_E9. 5327218822Sdim 532860484SobrienThu Mar 7 15:17:39 1996 Doug Evans <dje@charmed.cygnus.com> 532960484Sobrien 533060484Sobrien * config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg). 533160484Sobrien 533260484SobrienThu Mar 7 09:19:15 1996 Jeffrey A Law (law@cygnus.com) 533360484Sobrien 533460484Sobrien * config/tc-hppa.c (SUBSEG_MILLI): Define. 533560484Sobrien (pa_def_subspaces): Add $MILLICODE$. 533660484Sobrien (pa_spaces_begin): Set section flags for $MILLICODE$. 533760484Sobrien 533860484SobrienWed Mar 6 14:11:30 1996 Ian Lance Taylor <ian@cygnus.com> 533960484Sobrien 534060484Sobrien * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is 534160484Sobrien not SHT_NOBITS. Don't tamper with flags based on type if a 534260484Sobrien special section was found (revert Feb 29 change). 534360484Sobrien 534460484Sobrien * config/tc-sh.c (sh_do_align): Only align using the nop pattern 534560484Sobrien if aligning to a longword boundary or greater. 534660484Sobrien 534760484SobrienTue Mar 5 15:10:43 1996 Jim Wilson <wilson@chestnut.cygnus.com> 534860484Sobrien 534960484Sobrien * config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align. 535060484Sobrien 535160484SobrienMon Mar 4 20:50:57 1996 Steve Chamberlain <sac@slash.cygnus.com> 535260484Sobrien 535360484Sobrien * configure.in (i386-*-cygwin32): Don't use bfd_gas. 535460484Sobrien * configure: Regenerated. 535560484Sobrien 535660484SobrienMon Mar 4 10:13:06 1996 Jeffrey A Law (law@cygnus.com) 535760484Sobrien 535860484Sobrien * config/tc-hppa.c: Add default definitions for R_N0SEL and 535960484Sobrien R_N1SEL since they're not defined for old versions of hpux. 536060484Sobrien 536160484Sobrien * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code. 536260484Sobrien Set "sym_ptr_ptr" and "addend" fields to dummy values for 536360484Sobrien R_N0SEL and R_N1SEL. 536460484Sobrien 536560484SobrienFri Mar 1 10:20:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 536660484Sobrien 536760484Sobrien * flonum-konst.c: Add two more constants for 1e+-2048 and 536860484Sobrien 1e+-4096, and correct the other constants. 536960484Sobrien 537060484Sobrien * symbols.c (resolve_symbol_value): Handle O_logical_not. 537160484Sobrien 537260484SobrienThu Feb 29 13:58:35 1996 Michael Meissner <meissner@tiktok.cygnus.com> 537360484Sobrien 537460484Sobrien * config/obj-elf.c (obj_elf_section): Allow predefined section 537560484Sobrien types to set the nobits type. Avoid a shadowed declaration. 537660484Sobrien 537760484SobrienWed Feb 28 15:38:56 1996 Jeffrey A Law (law@cygnus.com) 537860484Sobrien 537960484Sobrien * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't 538060484Sobrien reduce relocs using e_nlrsel field selectors. 538160484Sobrien 538260484Sobrien * write.c (fix_new_exp): Don't use #elif. Some compilers 538360484Sobrien don't handle it. 538460484Sobrien 538560484Sobrien * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to 538660484Sobrien the selector table. 538760484Sobrien (pa_chk_field_selector): Handle new field selectors for SOM. 538860484Sobrien 538960484SobrienTue Feb 27 14:42:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 539060484Sobrien 539160484Sobrien * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets. 539260484Sobrien * configure: Rebuild. 539360484Sobrien * config/te-linux.h (LOCAL_LABELS_FB): Define. 539460484Sobrien * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to 539560484Sobrien "a.out-m68k-linux". 539660484Sobrien * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX 539760484Sobrien is defined. 539860484Sobrien 539960484SobrienMon Feb 26 18:58:58 1996 Stan Shebs <shebs@andros.cygnus.com> 540060484Sobrien 540160484Sobrien * mpw-make.sed: Update to handle shared library support. 540260484Sobrien 540360484SobrienMon Feb 26 10:34:10 1996 Doug Evans <dje@charmed.cygnus.com> 540460484Sobrien 540560484Sobrien * config/tc-sparc.c (sparc_ip): Print all architectures that support 540660484Sobrien the insn on mismatch. 540760484Sobrien 540860484SobrienFri Feb 23 21:44:39 1996 Rob Savoye <rob@chinadoll.cygnus.com> 540960484Sobrien 541060484Sobrien * configure.in: Add support for a29-coff. 541160484Sobrien * configure: Rebuild. 541260484Sobrien 541360484SobrienThu Feb 22 16:39:43 1996 Ian Lance Taylor <ian@cygnus.com> 541460484Sobrien 541560484Sobrien * config/tc-sh.c (sh_coff_frob_file): Don't consider the address 541660484Sobrien of the section when looking for the R_SH_USES fixup, because the 541760484Sobrien frag addresses have not yet been adjusted. 541860484Sobrien 541960484Sobrien * gdbinit.in: Set a breakpoint on as_warn_where. 542060484Sobrien 542160484Sobrien * config/tc-mips.c (macro): Add missing arguments to macro_build 542260484Sobrien omitted in last change. From Jim Wilson <wilson@cygnus.com>. 542360484Sobrien 542460484SobrienWed Feb 21 17:00:32 1996 Ian Lance Taylor <ian@cygnus.com> 542560484Sobrien 542660484Sobrien * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size 542760484Sobrien if it is TC_CONS_RELOC. Set a size of 4 to R_RELLONG. 542860484Sobrien 542960484SobrienWed Feb 21 09:25:39 1996 Doug Evans <dje@charmed.cygnus.com> 543060484Sobrien 543160484Sobrien * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8. 543260484Sobrien 543360484SobrienTue Feb 20 21:48:03 1996 Doug Evans <dje@charmed.cygnus.com> 543460484Sobrien 543560484Sobrien * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'. 543660484Sobrien (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9. 543760484Sobrien Recognize [uU] format args as sparclet cpregs. 543860484Sobrien 543960484SobrienTue Feb 20 22:25:55 1996 Ian Lance Taylor <ian@cygnus.com> 544060484Sobrien 544160484Sobrien * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs 544260484Sobrien in bss_section. 544360484Sobrien 544460484SobrienMon Feb 19 14:16:24 1996 Ian Lance Taylor <ian@cygnus.com> 544560484Sobrien 544660484Sobrien * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as 544760484Sobrien well as S_IS_EXTERNAL. 544860484Sobrien (tc_fix_adjustable): Likewise. 544960484Sobrien * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for 545060484Sobrien S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return 545160484Sobrien early. 545260484Sobrien (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when 545360484Sobrien deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC. 545460484Sobrien 545560484SobrienMon Feb 19 02:15:57 1996 Doug Evans <dje@charmed.cygnus.com> 545660484Sobrien 545760484Sobrien * config/tc-sparc.c (max_architecture): Change to sparclite for 545860484Sobrien 32 bit arch. 545960484Sobrien (default_compatible): Delete. 546060484Sobrien (sparc_ffs): New function. 546160484Sobrien (md_begin): Only call SPARC_OPCODE_CONFLICT_P once. 546260484Sobrien (sparc_ip): Rewrite architecture match and bump logic. 546360484Sobrien 546460484SobrienSun Feb 18 15:03:50 1996 Ian Lance Taylor <ian@cygnus.com> 546560484Sobrien 546660484Sobrien * configure.in: Check for 'do not mix' from native linker before 5467218822Sdim trying to use -rpath. 546860484Sobrien * configure: Rebuild. 546960484Sobrien 547060484SobrienFri Feb 16 16:53:31 1996 Ian Lance Taylor <ian@cygnus.com> 547160484Sobrien 547260484Sobrien * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). 547360484Sobrien (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). 547460484Sobrien (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). 547560484Sobrien * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR 547660484Sobrien is set. 547760484Sobrien (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field 547860484Sobrien to the symbol lnnoptr field, to get the correct file offset. 547960484Sobrien 548060484SobrienThu Feb 15 14:48:38 1996 Michael Meissner <meissner@tiktok.cygnus.com> 548160484Sobrien 548260484Sobrien * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all 548360484Sobrien symbols that are not function, file, or section symbols to be 548460484Sobrien object types. 548560484Sobrien 548660484SobrienThu Feb 15 11:20:18 1996 Ian Lance Taylor <ian@cygnus.com> 548760484Sobrien 548860484Sobrien * configure: Set and substitute RPATH_ENVVAR. 548960484Sobrien * configure: Rebuild. 549060484Sobrien * Makefile.in (RPATH_ENVVAR): New variable. 549160484Sobrien (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. 549260484Sobrien 549360484Sobrien * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386 549460484Sobrien doesn't need opcodes. If configuring shared, opcodes needs bfd. 549560484Sobrien * configure: Rebuild. 549660484Sobrien 549760484SobrienWed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> 549860484Sobrien 549960484Sobrien * read.c (s_mri_sect): Don't return '\0' in type. Set all 550060484Sobrien appropriate flags in BFD section. 550160484Sobrien 550260484Sobrien * configure.in (m68k-*-psos*): New target. 550360484Sobrien * configure: Rebuild. 550460484Sobrien * config/te-psos.h: New file. 550560484Sobrien * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS 550660484Sobrien is defined. 550760484Sobrien 550860484SobrienWed Feb 14 13:43:24 1996 Ian Lance Taylor <ian@cygnus.com> 550960484Sobrien 551060484Sobrien From Alan Modra <alan@spri.levels.unisa.edu.au>: 551160484Sobrien * configure.in: Remove duplicate setting of cpu_type. Check 551260484Sobrien whether opcodes library is required for on all targets, not just 551360484Sobrien primary one. 551460484Sobrien * configure: Rebuild. 551560484Sobrien 551660484Sobrien * config/tc-mips.c (mips_big_got): New static variable. 551760484Sobrien (s_extern): Don't declare. 551860484Sobrien (reg_needs_delay): New static function. 551960484Sobrien (macro_build): Permit GOT/CALL_HI/LO relocs. 552060484Sobrien (macro_build_lui): If place is not NULL, use the number in the 552160484Sobrien expression. 552260484Sobrien (load_address): Handle mips_big_got case. 552360484Sobrien (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and 552460484Sobrien store macros. 552560484Sobrien (OPTION_XGOT): Define. 552660484Sobrien (md_longopts): Add "xgot" if OBJ_ELF. 552760484Sobrien (md_parse_option): Handle -xgot. 552860484Sobrien (md_show_usage): Mention -xgot. 552960484Sobrien (md_apply_fix): Permit GOT/CALL_HI/LO relocs. 553060484Sobrien (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs. 553160484Sobrien 553260484SobrienWed Feb 14 11:22:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 553360484Sobrien 553460484Sobrien * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing 553560484Sobrien the byte relocation, point it to the low byte of the word. 553660484Sobrien 553760484SobrienTue Feb 13 15:31:18 1996 Ian Lance Taylor <ian@cygnus.com> 553860484Sobrien 553960484Sobrien * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared. 554060484Sobrien * configure: Rebuild. 554160484Sobrien 554260484SobrienMon Feb 12 15:53:46 1996 Doug Evans <dje@charmed.cygnus.com> 554360484Sobrien 554460484Sobrien * configure.in: Recognize any sparc* cpu. 554560484Sobrien * configure: Regenerated. 554660484Sobrien 554760484SobrienMon Feb 12 15:41:21 1996 Ian Lance Taylor <ian@cygnus.com> 554860484Sobrien 554960484Sobrien * read.c (potable): Add "mri" and ".mri". 555060484Sobrien (s_mri): New function. 555160484Sobrien * read.h (s_mri): Declare. 555260484Sobrien * app.c (scrub_m68k_mri): New static variable. 555360484Sobrien (mri_pseudo): New static variable. 555460484Sobrien (do_scrub_begin): Add m68k_mri parameter. Use it rather than 555560484Sobrien flag_m68k_mri. Initialize scrub_m68k_mri. 555660484Sobrien (mri_state, mri_last_ch): New static variables. 555760484Sobrien (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch 555860484Sobrien fields. 555960484Sobrien (app_push): Save new fields. 556060484Sobrien (app_pop): Restore new fields. 556160484Sobrien (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri. 556260484Sobrien If TC_M68K, use a trivial state machine to look for occurrences of 556360484Sobrien the .mri pseudo-op, and change the mode appropriately. 556460484Sobrien * as.h (do_scrub_begin): Update prototype. 556560484Sobrien * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to 556660484Sobrien do_scrub_begin. 556760484Sobrien * config/tc-m68k.c (reg_prefix_optional_seen): New static 556860484Sobrien variable. 556960484Sobrien (m68k_mri_mode_change): New function. 557060484Sobrien (md_parse_option): Set reg_prefix_optional_seen. 557160484Sobrien * config/tc-m68k.h (m68k_mri_mode_change): Declare. 557260484Sobrien (MRI_MODE_CHANGE): Define. 557360484Sobrien * doc/as.texinfo: Document .mri pseudo-op. 557460484Sobrien 557560484Sobrien * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a 557660484Sobrien comment character. 557760484Sobrien 557860484SobrienMon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 557960484Sobrien 558060484Sobrien Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF: 558160484Sobrien * config/m68k-parse.h (enum pic_relocation): Define. 558260484Sobrien (struct m68k_exp): Add pic_reloc field. 558360484Sobrien * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define. 558460484Sobrien (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable. 558560484Sobrien (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero 558660484Sobrien otherwise. 558760484Sobrien * config/tc-m68k.c: Delete definition of NO_RELOC. 5588218822Sdim (struct m68k_it): Add pic_reloc field. 558960484Sobrien (add_fix): Copy over pic_reloc field. 559060484Sobrien (md_pseudo_table): Interpret .align parameter as byte count. 559160484Sobrien (mote_pseudo_table): Likewise. 559260484Sobrien (tc_m68k_fix_adjustable): New function. 559360484Sobrien (get_reloc_code): New function. 559460484Sobrien (md_assemble): Use it as last argument to fix_new_exp. 559560484Sobrien (md_apply_fix_2): For a relocation against a symbol don't put the 559660484Sobrien addend into the data. 559760484Sobrien (tc_gen_reloc): Different addend computation for OBJ_ELF. 559860484Sobrien (m68k_ip): Don't relax an operand that requires pic relocation. 559960484Sobrien (md_begin): Align .text, .data and .bss on 4 byte boundary by 560060484Sobrien default. 560160484Sobrien * write.c (fixup_segment): Don't add symbol value to addend if 5602218822Sdim TC_M68K and OBJ_ELF. 560360484Sobrien * config/m68k-parse.y (yylex): Handle @PLTPC, etc. 560460484Sobrien (motorola_operand): Add rule for `(zapc, EXPR)'. 560560484Sobrien 560660484SobrienMon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com> 560760484Sobrien 560860484Sobrien * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace 560960484Sobrien *really* is permissible before the comma. 561060484Sobrien 561160484SobrienMon Feb 12 00:12:13 1996 Ian Lance Taylor <ian@cygnus.com> 561260484Sobrien 561360484Sobrien * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before 561460484Sobrien inserting nop instructions. 561560484Sobrien 561660484SobrienFri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com> 561760484Sobrien 561860484Sobrien * config/te-aux.h: Change include of aux.h to aux-coff.h. 561960484Sobrien 562060484SobrienThu Feb 8 20:02:58 1996 Ian Lance Taylor <ian@cygnus.com> 562160484Sobrien 562260484Sobrien * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage 562360484Sobrien class setting for a CALLNAME symbol in COFF. 562460484Sobrien 562560484Sobrien * read.c (potable): Pass negative numbers for new .balign[wl] and 562660484Sobrien .p2align[wl] pseudo-ops. 562760484Sobrien (s_align_bytes): Treat a negative argument as specifying the fill 562860484Sobrien length. 562960484Sobrien (s_align_ptwo): Likewise. 563060484Sobrien 563160484SobrienWed Feb 7 14:12:03 1996 Ian Lance Taylor <ian@cygnus.com> 563260484Sobrien 563360484Sobrien * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl. 563460484Sobrien (do_align): Take new len parameter. Change all callers. Pass it 563560484Sobrien to md_do_align. 563660484Sobrien (s_align_bytes): Arg now indicates the length of the fill pattern. 563760484Sobrien (s_align_ptwo): Likewise. 563860484Sobrien * config/obj-coff.c (write_object_file): Pass length to 563960484Sobrien md_do_align. 564060484Sobrien * config/tc-i386.h (md_do_align): Take new len parameter. 564160484Sobrien * config/tc-m88k.h (md_do_align): Likewise. 564260484Sobrien * config/tc-m88k.c (m88k_do_align): Likewise. 564360484Sobrien * config/tc-sh.h (md_do_align): Likewise. 564460484Sobrien * config/tc-sh.c (sh_do_align): Likewise. 564560484Sobrien * doc/as.texinfo: Document new pseudo-ops. 564660484Sobrien 564760484Sobrien * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is 564860484Sobrien done in cvt_frag_to_fill. 564960484Sobrien 565060484Sobrien * config/tc-sh.h (sh_do_align): Declare. 565160484Sobrien (md_do_align): Define. 565260484Sobrien * config/tc-sh.c (sh_do_align): New function. 565360484Sobrien 565460484Sobrien * ecoff.c (ecoff_build_lineno): Don't try to store the address 565560484Sobrien difference if the next address is before the current one. 565660484Sobrien 565760484Sobrien * config/tc-m68k.c (struct m68k_cpu): Add alias field. 565860484Sobrien (archs): Initialize new field. 565960484Sobrien (m68k_ip): Don't list alias names when listing CPUs which support 566060484Sobrien an instruction. 566160484Sobrien 566260484Sobrien * as.c (main): Call parse_args before read_begin. 566360484Sobrien * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in 566460484Sobrien front of generated pseudo-ops. 566560484Sobrien * read.c (potable): Ignore "name". 566660484Sobrien (s_app_file): Permit a single quote after the string, since one 566760484Sobrien may appear in m68k MRI mode. 566860484Sobrien 566960484Sobrien * configure.in: Check for --enable-shared. If linking against 567060484Sobrien shared BFD and opcodes, fix library name on SunOS, and try to set 567160484Sobrien -rpath reasonably. 567260484Sobrien * configure: Rebuild. 567360484Sobrien 567460484SobrienTue Feb 6 15:16:17 1996 Ian Lance Taylor <ian@cygnus.com> 567560484Sobrien 567660484Sobrien * as.h (flag_m68k_mri): Declare. 567760484Sobrien * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M. 567860484Sobrien * Many files: For MRI syntax that is specific to the m68k MRI 567960484Sobrien assembler, check flag_m68k_mri rather than flag_mri or 568060484Sobrien MRI_MODE_NEEDS_PSEUDO_DOT. 568160484Sobrien 568260484SobrienMon Feb 5 16:29:11 1996 Ian Lance Taylor <ian@cygnus.com> 568360484Sobrien 568460484Sobrien * config/tc-i960.c (ARCH_HX): Define. 568560484Sobrien (arch_tab): Add HX. 568660484Sobrien (targ_has_sfr): Handle ARCH_HX. 568760484Sobrien (targ_has_iclass): Handle ARCH_HX. 568860484Sobrien (tc_coff_fix2rtype): Add return 0 to avoid warning. 568960484Sobrien (tc_headers_hook): If the architecture was specified explicitly, 569060484Sobrien use it when setting the flags. Set the extern variable coff_flags 569160484Sobrien rather than headers->filehdr.f_flags, since the latter is set 569260484Sobrien unconditionally in obj-coff.c. 569360484Sobrien (i960_handle_align): Remove unused variable fixp. 569460484Sobrien 569560484Sobrien Support for building bfd and opcodes as shared libraries, based on 569660484Sobrien patches from Alan Modra <alan@spri.levels.unisa.edu.au>: 569760484Sobrien * configure.in: Set OPCODES and BFD to search directories. 569860484Sobrien Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS. 569960484Sobrien * configure: Rebuild. 570060484Sobrien * Makefile.in (LDFLAGS, HLDFLAGS): New variables. 570160484Sobrien (LIBDEPS): New variable. 570260484Sobrien (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use 570360484Sobrien $(HLDFLAGS) in link. 570460484Sobrien (check): Set LD_LIBRARY_PATH in the environment. 570560484Sobrien 570660484SobrienFri Feb 2 17:41:53 1996 Michael Meissner <meissner@wogglebug.tiac.net> 570760484Sobrien 570860484Sobrien * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2, 570960484Sobrien .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to 571060484Sobrien read-only, not read/write. 571160484Sobrien 571260484SobrienFri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au> 571360484Sobrien 571460484Sobrien * Makefile.in (INSTALL_XFORM): Remove -e. 571560484Sobrien 571660484SobrienFri Feb 2 12:32:15 1996 Ian Lance Taylor <ian@cygnus.com> 571760484Sobrien 571860484Sobrien * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather 571960484Sobrien than comparing S_GET_SEGMENT to undefined_section. 572060484Sobrien (write_object_file): Skip symbols which were equated to an 572160484Sobrien undefined or common symbol. 572260484Sobrien * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and 572360484Sobrien S_IS_COMMON rather than comparing S_GET_SEGMENT to 572460484Sobrien undefined_section. 572560484Sobrien (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED 572660484Sobrien or S_IS_COMMON call S_GET_VALUE. 572760484Sobrien * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER. 572860484Sobrien * config/obj-aout.c (obj_emit_relocations): If a reloc is equated 572960484Sobrien to an undefined or common symbol, convert the reloc to be against 573060484Sobrien the target symbol. 573160484Sobrien (obj_crawl_symbol_chain): Skip symbols which were equated to an 573260484Sobrien undefined or common symbol. 573360484Sobrien * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER. 573460484Sobrien * config/obj-bout.c (obj_emit_relocations): If a reloc is equated 573560484Sobrien to an undefined or common symbol, convert the reloc to be against 573660484Sobrien the target symbol. 573760484Sobrien (obj_crawl_symbol_chain): Skip symbols which were equated to an 573860484Sobrien undefined or common symbol. 573960484Sobrien * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and 574060484Sobrien S_IS_COMMON rather than comparing S_GET_SEGMENT to 574160484Sobrien undefined_section. 574260484Sobrien (yank_symbols): Skip symbols which were equated to an undefined or 574360484Sobrien common symbol. 574460484Sobrien 574560484SobrienThu Feb 1 15:34:32 1996 Ian Lance Taylor <ian@cygnus.com> 574660484Sobrien 574760484Sobrien * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001. 574860484Sobrien * config/obj-bout.h (S_IS_LOCAL): Likewise. 574960484Sobrien 575060484Sobrien * configure.in: Make sure we only add m68k-parse.o to 575160484Sobrien ${extra_objects} once, no matter how many m68k targets have been 575260484Sobrien enabled. 575360484Sobrien * configure: Rebuild. 575460484Sobrien 575560484SobrienWed Jan 31 18:31:46 1996 Steve Chamberlain <sac@slash.cygnus.com> 575660484Sobrien 575760484Sobrien * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New. 575860484Sobrien * configure: Rebuild. 575960484Sobrien 576060484SobrienWed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu> 576160484Sobrien 576260484Sobrien * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble". 576360484Sobrien * doc/c-m68k.texi: Document .extend and .ldouble. 576460484Sobrien 576560484Sobrien * configure.in (m68*-apple-aux*): New target. 576660484Sobrien * config/te-aux.h: New file. 576760484Sobrien * config/obj-coff.c (compare_external_relocs): New static function 576860484Sobrien if TE_AUX. 576960484Sobrien (do_relocs_for): Sort relocs if TE_AUX. 577060484Sobrien (fixup_segment): If TE_AUX, store common symbol value in segment. 577160484Sobrien * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX. 577260484Sobrien 577360484SobrienWed Jan 31 12:24:58 1996 Ian Lance Taylor <ian@cygnus.com> 577460484Sobrien 577560484Sobrien * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001. 577660484Sobrien 577760484Sobrien * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not 577860484Sobrien BSF_FUNCTION. 577960484Sobrien (s_cpload): Set BSF_OBJECT for _gp_disp symbol. 578060484Sobrien * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the 578160484Sobrien symbol. 578260484Sobrien * ecoff.c (add_procedure): Set the BSF_FUNCTION flag. 578360484Sobrien (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of 578460484Sobrien an undefined symbol and the size of a function symbol. 578560484Sobrien * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT 578660484Sobrien for all common symbols. 578760484Sobrien 578860484SobrienTue Jan 30 12:35:24 1996 Ken Raeburn <raeburn@cygnus.com> 578960484Sobrien 579060484Sobrien * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit 579160484Sobrien scaling of index. 579260484Sobrien 579360484Sobrien * expr.c (operand): Accept 0x hex constants in MRI mode if not on 579460484Sobrien m68k. 579560484Sobrien 579660484SobrienMon Jan 29 12:21:30 1996 Ian Lance Taylor <ian@cygnus.com> 579760484Sobrien 579860484Sobrien * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type 579960484Sobrien of object. From Ronald F. Guilmette <rfg@monkeys.com>. 580060484Sobrien 580160484Sobrien * ecoff.c (localsym_t): Add addend field. 580260484Sobrien (add_ecoff_symbol): Add addend argument. Change all callers. 580360484Sobrien (coff_sym_value): Make static. 580460484Sobrien (coff_sym_addend): New static variable. 580560484Sobrien (ecoff_directive_def): Initialize coff_sym_addend. 580660484Sobrien (ecoff_directive_val): Accept symbol + constant. 580760484Sobrien (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol. 580860484Sobrien (ecoff_build_symbols): Include the addend in the symbol value. 580960484Sobrien 581060484SobrienFri Jan 26 19:28:52 1996 Kim Knuttila <krk@cygnus.com> 581160484Sobrien 5812218822Sdim * config/tc-ppc.c (md_assemble): Ignore overflow on 581360484Sobrien BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16. 581460484Sobrien 581560484SobrienFri Jan 26 16:14:17 1996 Michael Meissner <meissner@tiktok.cygnus.com> 581660484Sobrien 581760484Sobrien * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4 581860484Sobrien bytes in size, so offset appropriately in big endian mode when 581960484Sobrien writing the bottom 2 bytes. 582060484Sobrien 582160484SobrienThu Jan 25 20:26:23 1996 Doug Evans <dje@charmed.cygnus.com> 582260484Sobrien 582360484Sobrien * config/tc-sparc.c (default_compatible): New static local. 582460484Sobrien (md_begin): Initialize it. Rewrite warn_on_bump handling. 582560484Sobrien (sparc_ip): If no architecture or -bump specified, don't mark as 582660484Sobrien mismatched those in default_compatible. 582760484Sobrien 582860484SobrienThu Jan 25 12:21:53 1996 Ian Lance Taylor <ian@cygnus.com> 582960484Sobrien 583060484Sobrien SCO ELF support from Robert Lipe <robertl@arnet.com>: 583160484Sobrien * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5. 583260484Sobrien * configure: Rebuild. 583360484Sobrien * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF. 583460484Sobrien * config/tc-i386.c (sco_id): New function, if SCO_ELF. 583560484Sobrien * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF. 583660484Sobrien (sco_id): Declare if SCO_ELF. 583760484Sobrien 583860484SobrienThu Jan 25 03:10:53 1996 Doug Evans <dje@charmed.cygnus.com> 583960484Sobrien 584060484Sobrien * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted. 584160484Sobrien ({max,warn_after}_architecture): New static locals. 584260484Sobrien (md_begin): Replace NUMOPCODES with sparc_num_opcodes. 584360484Sobrien If both architecture and -bump requested, set max_architecture to max. 584460484Sobrien (sparc_md_end): Simplify. 584560484Sobrien (sparc_ip): Replace references to can_bump_v9_p with max_architecture. 584660484Sobrien Rewrite code to bump architecture and check for conflicts. 584760484Sobrien (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility 584860484Sobrien with Solaris assembler. 584960484Sobrien (md_parse_option): Likewise. Call sparc_opcode_lookup_arch. 585060484Sobrien (md_show_usage): Update. 585160484Sobrien 585260484SobrienWed Jan 24 22:11:03 1996 Doug Evans <dje@charmed.cygnus.com> 585360484Sobrien 585460484Sobrien * Makefile.in (RUNTEST): Fix reference to $${srcdir}. 585560484Sobrien 585660484SobrienMon Jan 22 09:21:36 1996 Doug Evans <dje@charmed.cygnus.com> 585760484Sobrien 585860484Sobrien * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of 585960484Sobrien #ifdef sparcv9 when choosing value. 586060484Sobrien (ENV64): Delete. 586160484Sobrien (md_end): Define. 586260484Sobrien (sparc_md_end): Declare. 586360484Sobrien * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9. 586460484Sobrien (initial_architecture): New static local. 586560484Sobrien (can_bump_v9_p): Likewise. 586660484Sobrien (NO_V9): Delete all occurrences. 586760484Sobrien (sparc_md_end): New function. 586860484Sobrien (sparc_ip): New local v9_arg_p. Rework fp reg number test. 586960484Sobrien Don't bump architecture to v9 unless can_bump_v9_p set. 587060484Sobrien (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly. 587160484Sobrien * configure.in (sparc64 target cpu): Don't set obj_format here. 587260484Sobrien (SPARC_V9): Renamed from sparcv9. 587360484Sobrien (sparc64-*-elf*): Define SPARC_ARCH64. 587460484Sobrien * configure: Regenerated. 587560484Sobrien * acconfig.h (SPARC_V9): Renamed from sparcv9. 587660484Sobrien (SPARC_ARCH64): Add. 587760484Sobrien * conf.in: Regenerated. 587860484Sobrien * config/vmsconf.h: Update. 587960484Sobrien 588060484SobrienMon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk> 588160484Sobrien 588260484Sobrien * config/tc-mips.c (load_register): Optimise "dli" loads. 588360484Sobrien (md_show_usage): add "-mcpu=vr4100" to help text. 588460484Sobrien 588560484SobrienMon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com> 588660484Sobrien 588760484Sobrien * symbols.c (resolve_symbol_value): If a symbol is equated to an 588860484Sobrien undefined symbol, preserve the X_op of O_symbol. 588960484Sobrien (S_GET_VALUE): Fix check to permit this case. 589060484Sobrien * write.c (write_relocs): If a reloc is against an undefined 589160484Sobrien symbol equated to another symbol, change the reloc to be against 589260484Sobrien the latter symbol. 589360484Sobrien * config/obj-coff.c (do_relocs_for): Likewise. 589460484Sobrien 589560484Sobrien * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class 589660484Sobrien XMC_PR. 589760484Sobrien 589860484SobrienMon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> 589960484Sobrien 590060484Sobrien * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target 590160484Sobrien computer is PowerPC. 590260484Sobrien 590360484Sobrien * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations. 590460484Sobrien 590560484Sobrien * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections 590660484Sobrien mentioned in the eabi. 590760484Sobrien 590860484SobrienThu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com> 590960484Sobrien 591060484Sobrien * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section 591160484Sobrien * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section 591260484Sobrien 591360484SobrienMon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> 591460484Sobrien 591560484Sobrien * config/tc-ppc.c (mapping): Add more relocation suffixes. 591660484Sobrien 591760484SobrienSun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com> 591860484Sobrien 591960484Sobrien * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table 592060484Sobrien as a section it is ok to have unadorned -mrelocatable pointers in. 592160484Sobrien 592260484SobrienSat Jan 13 11:09:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> 592360484Sobrien 592460484Sobrien * config/tc-ppc.c (ppc_section*): Wrap these functions inside 592560484Sobrien #ifdef OBJ_ELF. 592660484Sobrien 592760484SobrienFri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com> 592860484Sobrien 592960484Sobrien * config/obj-elf.c (obj_elf_section): Add hooks so machine 593060484Sobrien dependent section attributes can be handled. 593160484Sobrien 593260484Sobrien * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New 593360484Sobrien macros to add support for exclude section flag and ordered section 593460484Sobrien type. 593560484Sobrien 593660484Sobrien * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New 593760484Sobrien functions to add support for exclude section flag and ordered 593860484Sobrien section type. 593960484Sobrien 594060484SobrienFri Jan 12 12:04:00 1996 Ian Lance Taylor <ian@cygnus.com> 594160484Sobrien 594260484Sobrien * subsegs.c (section_symbol): Don't try to look up the section 594360484Sobrien symbol in the hash table. It should be possible to have a symbol 594460484Sobrien with the same name as a section, but no connection to it. 594560484Sobrien 594660484Sobrien * read.c (cons_worker): Only call mri_comment_end from flag_mri. 594760484Sobrien From James Carlson <carlson@xylogics.com>. 594860484Sobrien 594960484Sobrien * expr.c (operand): Skip whitespace after a close parenthesis. 595060484Sobrien From James Carlson <carlson@xylogics.com>. 595160484Sobrien 595260484SobrienTue Jan 2 12:43:23 1996 Jim Wilson <wilson@chestnut.cygnus.com> 595360484Sobrien 595460484Sobrien * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of 595560484Sobrien as_warn_where for relocation overflow. 595660484Sobrien (parse_reg): Accept register name only if next character is 595760484Sobrien not alphanumeric. 595860484Sobrien 595960484SobrienFor older changes see ChangeLog-9295 5960218822Sdim 5961218822SdimLocal Variables: 5962218822Sdimmode: change-log 5963218822Sdimleft-margin: 8 5964218822Sdimfill-column: 74 5965218822Sdimversion-control: never 5966218822SdimEnd: 5967