2000-11-02 Theo Honohan
* config/tc-arm.c (do_msr): Improve error message.
2000-11-01 Philip Blundell
From 2000-08-01 Nick Clifton
* config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
2000-10-16 Philip Blundell
* configure.in: Set version number to 2.10.1.
* configure: Regenerate.
2000-10-14 Philip Blundell
From 2000-06-17 Mark Elbrecht
* config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
to BFD_ASSEMBLER.
2000-09-08 Philip Blundell
* config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
offset is negative.
2000-08-30 Matthew Jacob
* config/tc-alpha.c (md_undefined_symbol): Properly understand that
$at is the integer register $r28, vs. both $r28 and the floating
point register $f28.
2000-04-14 Matthew Green
* configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
* configure: Regenerate.
2000-06-09 Nick Clifton
* config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
for size 1 fixes.
2000-06-01 Scott Bambrough
* config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
2000-05-22 David O'Brien
* configure.in: Recognize alpha-*-freebsd*.
* configure: Regenerate.
2000-05-26 Scott Bambrough
Port of patch to mainline by Nick Clifton :
* config/tc-arm.c (struct asm_psr): Add boolean field
distinguishing between CSPR and SPSR. Rename 'number' field
to 'field'.
(psrs): Rearrange contents to match new asm_psr structure.
(arm_psr_parse): Move next to psr_required_here. Make it
return an asm_psr structure.
(psr_required_here): Use asm_psr structure returned by
arm_psr_parse.
(do_msr): Reorganise to allow psr_required_here to be called
only once.
(md_undefined_name): Mark 'name' parameter as unused, since
the COFF target does not use it.
Port of patch to mainline by Nick Clifton :
* testsuite/gas/arm/arch4t.s: Add tests of new fields
to msr instruction.
* NEWS: Mention change in behaviour when assembling msr
instruction.
2000-04-24 Nick Clifton
* doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
* doc/as.texinfo (Align): Include arm and strongarm in list of
targets that have the second form of the behaviour of the .align
directive.
2000-05-29 Philip Blundell
* doc/as.texinfo: Update copyright dates.
(Local Labels): Delete misplaced mention of ARM.
* NEWS: Mention ARM ELF support.
Tue May 23 00:57:05 2000 Hans-Peter Nilsson
* configure.in (i386-*-freebsd a.out entry): Quote properly.
* configure: Regenerate.
2000-05-23 Philip Blundell
* configure.in: Set version to 2.10.
* configure: Regenerate.
2000-05-23 Alan Modra
* config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
(md_estimate_size_before_relax): so we can use it here instead of
old kludges. Localise vars to blocks. Comment.
* frags.c (frag_new): Update fr_var comments.
* frags.h (struct frag): Ditto.
* config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
(md_estimate_size_before_relax): Ensure jumps to weak and
externally visible symbols are relocatable.
2000-05-14 David O'Brien
* config/te-freebsd.h: New file.
* doc/as.1: Fix unbalanced brackets.
* config/tc-i386.c (comment_chars): Don't use '/' as comment start if
TE_FreeBSD.
(line_comment_chars): Set to '/' if TE_FreeBSD.
1999-07-03 Joel Sherrill
* configure.in (*rtems except sh): Move RTEMS targets to elf.
* configure: Regenerate.
2000-05-08 Alan Modra
* as.h: #include "file", not on files from ../include.
(as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
* config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
(md_convert_frag): Add ATTRIBUTE_UNUSED.
(tc_coff_symbol_emit_hook): Ditto.
(OPTCOUNT): Cast to int to avoid compiler warning.
(md_begin): Fix signed/unsigned warnings.
2000-05-08 Michael Sokolov
* config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
ABRANCH LONG case for a conditional branch on a 68000.
(md_estimate_size_before_relax): Likewise. Also handle
flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
(m68k-ip: case ABSL): Relax absolute references to 16-bit
PC-relative on all CPUs.
(md_estimate_size_before_relax): Likewise.
2000-05-04 Alan Modra
* as.c (parse_args): Just mention current year in printed
copyright message.
2000-05-03 Ian Lance Taylor
* config/atof-ieee.c (gen_to_words): When adding carry back in,
don't permit lp to become less than the words array.
2000-05-03 David O'Brien
* as.c (parse_args): Update copyright.
2000-05-03 Mark Elbrecht
* gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
for the .bss section too.
2000-04-29 Andreas Jaeger
* as.h: Correctly check GCC version.
2000-04-20 Alexandre Oliva
* config/tc-mn10300.c (HAVE_AM30): Define.
(md_assemble): Use it.
2000-04-19 Alan Modra
* Makefile.am: (CPU_MULTI_VALID): Remove.
(MULTI_CPU_TYPES): Define.
(MULTI_CPU_OBJ_VALID): Define.
(DEPTC): Use the above.
(DEPOBJ): Same here.
(DEP2): And here.
Regenerate dependencies.
* Makefile.in: Regenerate.
2000-04-19 Michael Sokolov
* Makefile.am (YACC, LEX): Get them from configure.
* as.h (SEEK_SET): Define if undefined.
2000-04-09 Nick Clifton
* Makefile.am (CPU_TYPES): Add 'avr'.
(TARGET_CPU_CFILES): Add 'tc-avr.c'.
(TARGET_CPU_HFILES): Add 'tc-avr.h'.
2000-04-05 Alexandre Oliva
* config/tc-sparc.c (sparc_ip): Avoid string pasting.
2000-04-04 Alan Modra
* po/gas.pot: Regenerate.
* as.c (show_usage): Restore translated part of bug string.
* gasp.c (show_usage): Likewise.
* Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
(DEP): Quote when passing vars to sub-make. Use "mv -f" rather
than move-if-change.
(DEP1): Modify for "gcc -MM".
(DEPTC): Likewise.
(DEPOBJ): Likewise.
(DEP2): Likewise.
(CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
Update dependencies.
* Makefile.in: Regenerate.
2000-04-04 Alexandre Oliva
* config/tc-mn10300.c (md_pseudo_table): Use constant names.
(md_begin): Likewise.
(HAVE_AM33): New macro.
(md_assemble): Use it. Match r_regs and xr_regs only if
HAVE_AM33.
2000-04-03 Alan Modra
* as.h: #include "bin-bugs.h"
* as.c (show_usage): Use REPORT_BUGS_TO.
* gasp.c: #include "bin-bugs.h"
(show_usage): Use REPORT_BUGS_TO.
* config/tc-sparc.c (md_show_usage): Add a trailing newline.
2000-04-03 Alan Modra
* config/tc-i386.c (i386_immediate): Don't assume a constant
immediate is necessarily 16 bits when in 16 bit code mode.
(md_assemble): Instead set guess_suffix here after we have checked
registers.
2000-04-02 Richard Henderson
* config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
quantities. Correct right shift sign extension.
(build_insn): Make `number' unsigned long. Mask top 6 bits of
32-bit value when shifting into place.
2000-04-01 Ian Lance Taylor
* app.c: Add ATTRIBUTE_UNUSED as needed.
* config/tc-ppc.c: Likewise.
(ppc_size): Make unsigned long.
(ppc_insert_operand): Add casts to avoid warnings.
2000-03-31 Nick Clifton
* config/tc-d10v.h (md_flush_pending_output): Define.
2000-03-29 Nick Clifton
* config/tc-sh.h (SEG_NAME): New macro: return the name of a
segment. Works for both BFD_ASSEMBLER and others.
(SUB_SEGMENT_ALIGN): Use SEG_NAME.
2000-03-29 Nick Clifton
* listing.c (LISTING_LHS_WIDTH): Default depends on
LISTING_WORD_SIZE.
(LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
2000-03-27 Ian Lance Taylor
* config/tc-sh.c (md_show_usage): Use backslash before newline in
string literal.
2000-03-27 Alan Modra
* config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
* config/tc-avr.c (mcu_types): Add missing initialiser.
(md_pcrel_from_section): Add prototype.
(avr_operand): Remove redundant test of unsigned < 0.
(avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
2000-03-27 Denis Chertykov
* config/tc-avr.c: New file for AVR support.
* config/tc-avr.h: Likewise.
* configure.in: Add AVR support.
* configure: Regenerate.
2000-03-26 Timothy Wall
* gasp.c (macro_op): Add new argument to check_macro call.
Macro structure definitions moved to macro.h
* sb.h: Add argument to prototype for input_scrub_include_sb.
* input-scrub.c (input_scrub_include_sb): Allow disabling of sb
nesting checks with an additional flag.
(struct input_save): Add flag to indicate whether current sb
should be checked for proper macro/conditional nesting.
(input_scrub_push/pop): Save/restore nest check flag.
(input_scrub_next_buffer): Ditto. Also call end of macro hook if
defined.
* macro.c (check_macro): Allow caller to retrieve parsed macro
information if a pointer is provided. This information may be
used by the new macro hooks.
* macro.h: Update prototype for check_macro. Macro struct
definitions moved here from macro.c/gasp.c.
* read.c (read_a_source_file): Add parameter to check_macro call,
and pass macro info to the macro hook, if defined.
(input_scrub_insert_line): New. Allow insertion of a line of
characters into the input stream.
(input_scrub_insert_file): New. Allow insertion of an arbitrary
file into the input stream.
(s_include): Use input_scrub_insert_file.
* internals.texi: Document new macro hooks.
* as.h: New prototypes added.
2000-03-26 Alan Modra
* config/tc-i386.c: Don't start any as_bad or as_warn message with
an initial capital letter.
(i386_index_check): Reindent.
2000-03-19 Nick Clifton
* config/tc-arm.c (md_apply_fix3): Fix bug detectng overflow of pc
relative branches.
2000-03-17 Thomas de Lellis
* config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
instruction operand bad if Rd > 7 when generating
thumb instructions. Prevents for example,
"adr r12,label" from silently failing and generating
the wrong instruction.
2000-03-17 Nick Clifton
* config/tc-arm.c (md_apply_fix3): Handle same-section relocations
that have a destingation >= 0x400000.
Fix compile time warning messages.
Thu Mar 16 23:45:16 2000 J"orn Rennecke
* config/tc-sh.c (md_begin): When encountering insn that are
not supported by the current arch, only change the name if
its contents are the same as prev_name.
(get_specific): If the the architecture doesn't match, fail.
Thu Mar 16 21:18:13 2000 J"orn Rennecke
* config/tc-sh.c (IDENT_CHAR): Define.
(parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
matching back where it came from.
Thu Mar 16 20:58:10 2000 J"orn Rennecke
* config/tc-sh.c (md_show_usage): Add description of -dsp.
2000-03-15 Jonathan Larmour
* config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
normal operands.
2000-03-15 Kazu Hirata
* config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson
* expr.c (operand) [case 'f']: When testing if '0f' can start a
floating-point-number, make sure 'f' is in FLT_CHARS.
Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson
* read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
(s_lcomm_internal): Use it.
* doc/internals.texi (CPU backend): Document it.
* config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
bytes.
2000-03-10 Geoffrey Keating
* config/tc-mips.c (mips_ip): Don't put stuff in .rodata
when embedded-pic.
* config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
implementation doesn't have special handling for switch
statements.
(macro_build): Allow for code in sections other than .text.
(macro): Likewise.
(mips_ip): Likewise.
(md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
Don't perform relocs if we will be outputting them.
(tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
embedded-pic.
2000-03-09 Catherine Moore
* config/tc-m32r.c (m32r_fix_adjustable): Look up the
relocation type based on the entry in the fixup structure.
2000-03-08 H.J. Lu (hjl@gnu.org)
* Makefile.am (install-exec-tooldir): Depend on
install-exec-bindir for parallel make.
* Makefile.in: Regenerated.
2000-03-06 Nick Clifton
* config/tc-m32r.c (struct md_longopts): Add -m32r command line
switch.
(md_parse_option): Parse -m32r command line switch - disable m32rx
compatability.
(md_show_usage): Document new option.
* doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
* doc/Makefile.in: Regenerate.
* doc/c-m32r.texi (M32R-Opts): Document new command line switch.
2000-03-02 Michael Meissner
* config/tc-d30v.c (check_range): Remove code that incorrectly
sign extended values where bits < 32.
2000-03-02 H.J. Lu (hjl@gnu.org)
* configure.in: Support --enable-targets=all on ia32.
* configure: Regenerated.
2000-03-01 Nick Clifton
* gasp.c (do_align): Remove bogus check of alignment value.
2000-02-27 Thomas de Lellis
* config/obj-elf.c (elf_frob_symbol): Remove code which when
TC_PPC was defined forced the type of a symbol with no other type
to be BSF_OBJECT.
2000-02-27 Hans-Peter Nilsson
* doc/internals.texi (CPU backend): Mention that
line_separator_chars do not break up comments. Fix typos for
LEX_AT and LEX_NAME descriptions. Document operands for
TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
description of md_create_short_jump usage. Document argument for
md_undefined_symbol.
2000-02-27 Jakub Jelinek
* config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
(md_parse_option): Handle it.
(md_show_usage): Document it.
2000-02-27 Ian Lance Taylor
* config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
opcode, for the instruction `pal19'. From Andrea Arcangeli
.
2000-02-26 Alan Modra
* config/tc-i386.c (i386_immediate): Move constant operand sizing
from here..
(md_assemble): To here, before template operands are matched.
Also ensure a constant immediate is sign extended when we know the
size is at most 16 bits. This is to catch cases like "add
$0xffc0,%ax" where we don't know the size, and thus that the
immediate can be represented as Imm8S until after parsing the
register operand.
(i386_displacement): Similarly sign extend 16 bit constant
displacements.
(md_assemble): Relax 16-bit jump constant range check to suit sign
extended displacements.
2000-02-26 Andreas Jaeger
* doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
2000-02-25 Alan Modra
* config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
call operands when intel_syntax.
(intel_float_operand): Return 2 for "fi...".
(i386_operand_modifier): Change "DWORD PTR" test to suit above.
Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
earlier "SHORT" change.
(md_assemble): When determining suffix from Regs, exclude
InOutPortReg.
2000-02-24 Nick Clifton
* configure: Add arm-wince, mips-pe and sh-pe targets.
* configure: Regenerate.
* config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
sh-pe targets.
(TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
"pe-mips" for the mips-pe target.
* config/tc-arm.c (insns): Change displacement encoded in BL
and B instructions if the target port is arm-wince.
(do_ldst): Do not bias the relocation offset if the target
port is arm-wince.
(md_pcrel_from): Add in missing relocation offset bias if the
target os arm-wince.
* config/tc-mips.c (mips_target_format): Support COFF flavour.
(md_begin): Disable -G support for mips-pe target.
(md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
COFF flavour.
* config/tc-sh.c (md_begin): sh-pe target is little endian.
* config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
assembler, just set the alignment to 4.
* config/te-wince-pe.h: New file for WinCE targets. Define
TE_WINCE.
2000-02-25 Alan Modra
* config/tc-i386.c (md_assemble): Swap segments too for intel mode
string instructions.
(i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
(i386_intel_memory_operand): After finding a segment override,
check again for no `[' before looking for a displacement. Bomb if
more than one displacement rather than silently discarding the
second and subsequent ones. Free strings malloc'd by
build_displacement_string.
2000-02-24 Catherine Moore
* config/obj-som.c (obj_pseudo_table): Add "weak".
(obj_som_weak): New routine.
2000-02-24 Alan Modra
* config/tc-i386.c (union i386_op): New.
(struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
Throughout file replace occurences of disps[n], imms[n], regs[n]
with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
intel mode operand swapping. Add assert in regKludge and
fake_zero_displacement code. Test i.types[n] when outputting
displacements and immediates. Combine output of Disp16 with
Disp32.
(md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
when in intel mode by (not) reversing fsub and fdiv operands
before the template search. This fails for single operand
shorthand forms of the instruction, and if UNIXWARE_COMPAT is
undefined. Instead fix the base_opcode after we've found the
template. Move base_opcode xor with found_reverse_match from
opcode output code to before this fix so we test for the correct
opcodes.
(md_assemble): Don't use strcmp when deciding to ignore the suffix
check in intel mode. Instead compare opcodes.
* config/tc-i386.h (TC_RELOC): Delete.
* config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
with equivalent call to reloc.
* as.h (flag_m68k_mri): Move declaration after target include, and
only declare when TC_M68K defined. Define as zero otherwise.
(LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
* app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
Define as zero otherwise.
(do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
(struct app_save): Declare scrub_m68k_mri only when TC_M68K.
(app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
(do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
testing whether defined.
* cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
* expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
* read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
rather than testing whether defined.
(s_mri): Set flag_m68k_mri only when TC_M68K defined.
(parse_mri_cons): Declare and use only when TC_M68K.
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
* config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
* config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
* NEWS: Mention IBM 370 support.
2000-02-23 Richard Henderson
* config/tc-i386.c (md_assemble): When swapping operands for
intel_syntax, assume everything that's not Imm or Disp is a
register.
2000-02-23 Linas Vepstas
* config/tc-i370.c, config/tc-i370.h: New files.
* Makefile.am: Add support for Linux/IBM 370.
* configure.in: Likewise.
* app.c (do_scrub_begin): Don't lex single quote when TC_I370.
* config/obj-elf.c: Include elf/i370.h
(obj_elf_section): Don't do anything special for flag_mri if TC_I370.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/c-i370.texi: New file.
* doc/all.texi: Include it.
* doc/as.texinfo: And here.
* doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
* doc/Makefile.in: Regenerate.
2000-02-19 Michael Meissner
* config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
determine if an instruction can be used in parallel with an ADDppp
or SUBppp instruction.
2000-02-22 Andrew Haley
* doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
1999-12-30 Andrew Haley
* config/tc-mips.c (mips_gp32): New variable.
(macro_build) Use mips_gp32.
(mips_ip): Ditto.
(md_longopts): Add "-mgp32" and "-mgp64".
(md_parse_option): Add OPTION_GP32 and OPTION_GP64.
2000-02-22 Alexandre Oliva
* config/obj-coff.c (add_lineno): Accept non-positive lineno with
warning, and bump it to 1.
2000-02-22 Ian Lance Taylor
From Brad Lucier :
* dwarf2dbg.c (print_stats): Add cast to force printf argument to
match format.
2000-02-21 Catherine Moore
* config/tc-mips.c (MF_HILO_INSN): Define.
(mips_7000_hilo_fix): Declare.
(append_insn): Conditionally insert nops after an mfhi/mflo insn.
(md_parse_option): Check for 7000_HILO_FIX options.
(OPTION_M7000_HILO_FIX): Define.
(OPTION_NO_M7000_HILO_FIX): Define.
* doc/c-mips.texi (-mfix7000): Describe.
2000-02-21 Alan Modra
* listing.c (print_lines): Remove unused variable `end'.
* config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
type for JumpInterSegment output. Use enum bfd_reloc_code_real for
reloc_type when BFD_ASSEMBLER.
(md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
reloc_type when BFD_ASSEMBLER. Move common code out of switch
statement and quell signed vs. unsigned comparison warning.
2000-02-18 Nick Clifton
* config/tc-d10v.c (find_opcode): Add a symbol's value to
the computed frag offset, rather than overwriting it.
Thu Feb 17 00:11:08 2000 J"orn Rennecke
* config/tc-sh.c ("elf/sh.h"): Include.
(sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
(md.begin): Initialize target_arch.
Only include opcodes in has table that match selected architecture.
(parse_reg): Recognize register names for sh-dsp.
(parse_at): Recognize post-modify addressing.
(get_operands): The leading space is now optional.
(get_specific): Remove FDREG_N support. Add support for sh-dsp
arguments. Update valid_arch.
(build_Mytes): Add support for SDT_REG_N.
(find_cooked_opcode): New function, broken out of md_assemble.
(assemble_ppi, sh_elf_final_processing): New functions.
(md_assemble): Use find_cooked_opcode and assemble_ppi.
(md_longopts, md_parse_option): New option: -dsp.
* config/tc-sh.h (elf_tc_final_processing): Define.
(sh_elf_final_processing): Declare.
Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
the unwinder subspace. Save the current seg/subseg before creating
the new seg/subseg.
2000-02-10 Nick Clifton
* config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
little endian targets.
(INST_BYTE1): Redefine to handle big and little endian
targets.
(cpu_type): New type: Select between M340 and M210.
(parse_psrmod): New function: Parse the PSRCLR and PSRSET
instructions of the M340.
(md_assemble): Add support for the MULSH and OPSR classes of
instructions.
(md_atof): Add support for little endian targets.
(md_parse_option): Add support for -EL, -EB and -mcpu command
line switches.
(md_convert_frag): Add support for little endian targets.
(md_apply_fix3): Add support for little endian targets.
(md_number_to_chars): Add support for little endian targets.
2000-02-10 Timothy Wall
* read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
defined, use it to verify the symbol just read should be a label.
2000-02-10 Timothy Wall
* app.c (do_scrub_chars): Handle "||" for parallel instructions
when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
around colons when KEEP_WHITE_AROUND_COLON is defined.
* doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
and KEEP_WHITE_AROUND_COLON.
2000-02-08 Timothy Wall
* read.c (s_rept): Call do_repeat, which abstracts the repeat
logic.
(do_repeat): New. Abstract repeat logic so that a "break" can be
implemented.
(end_repeat): New. Provide support for a "break" out of the
repeat loop.
* read.h: Add prototypes for new functions.
2000-02-08 Timothy Wall
* doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
* as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
* expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
non-zero.
2000-02-08 Timothy Wall
* read.c: Added elseif to directives table.
* read.h: Added prototype for s_elseif.
* doc/as.texinfo: Added description for elseif.
* cond.c (s_elseif): New function
2000-02-04 Timothy Wall
* listing.c (print_lines): Remove conditionals causing bug in
listings.
2000-02-03 Timothy Wall
* as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
default values.
* frags.c (frag_new): Calculate fr_fix in octets
(frag_now_fix) Return offset as target address offset (bytes).
(frag_now_fix_octets) New - Return offset in octets (8-bit
quantities).
* frags.h: Added prototype for frag_now_fix_octets().
Distinguish between octets and bytes in field descriptions.
* listing.c (calc_hex): Account for octets vs bytes when
printing addresses/offsets.
(print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
target is little-endian, print the octets in a word in big-endian
order so that the display looks like a proper hexadecimal number,
instead of having the octets reversed.
* read.c (do_align): When recording alignment, alignment power
should be in terms of target bytes (minimum addressible unit)
instead of octets.
(do_org) Convert ORG target address (byte) argument into an
octet offset when generating a variable fragment.
* symbols.c (resolve_symbol_value): Symbol final value
converted to a target address offset (bytes) from its octet offset.
* config/obj-coff.c (coff_frob_symbol): Symbol target address
offset (bytes) is adjusted by the frag offset (octets) converted
to bytes.
(coff_frob_section) Section alignment power is in terms of bytes;
convert it to an octet alignment power when calculating size (and
size mask) in octets. Don't modify the section size in order to
"align" it for TI COFF, since that format has a different method
for storing alignment information.
2000-02-01 Timothy Wall
* stabs.c (generate_asm_file): Escape backslashes in stabs file
entries, matching the way GCC generates them. If not escaped, the
filename is encoded incorrectly.
2000-01-31 Nick Clifton
* config/tc-arm.c (reg_table): Add support for ATPCS register
naming conventions.
2000-01-31 Geoff Keating
* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
already defined.
* config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
New macro.
* config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
of a symbol when we really care about its value.
2000-01-19 Chandra Chavva
* config/tc-mcore.c (md_assemble): Give warning message if
operands passes to instruction are more than the spec.
2000-01-27 Thomas de Lellis
* config/tc-arm.c (armadjust_symtab): If the assembler is in
Thumb mode but the label seen was not declared as '.thumb_func'
then set the ST_INFO type to STT_ARM_16BIT mode. This allows
correct disassembly of Thumb code bounded by non function labels.
2000-01-27 Alan Modra
* Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
Add dependencies for e-i386aout.o. Fix 2 comment lines.
* Makefile.in: Same here.
Update copyright.
* configure.in: Set bfd_gas for i386-aout when primary target
is bfd. Handle i386aout emulation. Don't use te_file=multi, as
we may need the primary te_file. Remove incorrect comment.
* configure: Regenerate.
* config/e-i386aout.c: New file.
* as.c (USE_EMULATIONS): Move to before print_version_id.
(struct emulation): Add i386aout.
(show_usage): Split text strings. Reformat -a text. Add --em
help.
Update copyright.
* obj.h (struct format_ops): Add s_get_other and s_get_desc.
(aout_format_ops): New.
Update copyright.
* read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
preprocessor conditional and add aout USE_EMULATIONS tests.
(read_a_source_file): Don't pass error strings to printf as
format arg.
Update copyright.
* gasp.c (exp_get_abs): Don't pass error strings to printf as
format arg.
(do_data): Same here.
(process_file): And here.
Update copyright.
* symbols.c (colon): Rewrite "already defined" fatal message
code for aout with USE_EMULATIONS.
Update copyright.
* config/obj-aout.c (OBJ_HEADER): Define.
(obj_pseudo_table): Rename to aout_pseudo_table. Init all
fields of sentinel.
(obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
forms here.
(obj_aout_type): Expand S_SET_OTHER here too.
(obj_read_begin_hook): Remove.
(aout_pop_insert): New.
(obj_aout_s_get_other): New.
(obj_aout_s_get_desc): New.
(aout_format_ops): New.
Update copyright.
* config/obj-aout.h (obj_pop_insert): Define so non-multi usage
gets aout_pseudo_table.
(aout_pseudo_table): Declare.
(obj_read_begin_hook): Define.
Update copyright.
* config/obj-coff.c (obj_pseudo_table): Rename to
coff_pseudo_table.
(coff_pop_insert): Use coff_pseudo_table.
(coff_sec_sym_ok_for_reloc): Remove.
(coff_format_ops): Add 0 entries for s_get_size, s_set_size,
and comment all zero entries and remove #if 0 code.
Update copyright.
* config/obj-coff.h (obj_pop_insert): Define.
(coff_pseudo_table): Declare.
Update copyright.
* config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
s_get_size, s_set_size. Comment all zero entries.
Update copyright.
* config/obj-elf.c (elf_s_get_other): New function.
(obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
(obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
(elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
comment.
(obj_elf_parse_section_letters): Don't pass error strings to
printf as format arg.
Update copyright.
* config/obj-elf.h (ECOFF_DEBUGGING): Define when
OBJ_MAYBE_ECOFF.
(elf_s_get_other): Declare.
(S_GET_OTHER) Define as elf_s_get_other if not already
defined.
(S_SET_OTHER): Only define when not already defined.
(elf_obj_read_begin_hook): Declare.
(obj_read_begin_hook): Define.
(elf_obj_symbol_new_hook): Declare.
(obj_symbol_new_hook): Define.
Update copyright.
* config/obj-multi.h: Add copyright header and protect against
multiple inclusion. Add * to all function pointers.
(OBJ_HEADER): If defined, include it rather than other defines
in this file.
(obj_frob_file_after_relocs): Test for NULL.
(obj_symbol_new_hook): Here too.
(obj_sec_sym_ok_for_reloc): And here.
(S_GET_OTHER): Define.
(S_GET_DESC): Define.
(ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
(OBJ_MAYBE_ELF): Update comment.
* config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
OBJ_AOUT preprocessor conditional and handle emulation by
testing OUTPUT_FLAVOR.
(i386_displacement): Here too.
(md_section_align): Similarly here.
(i386_target_format): Conditionally compile when more than one
of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
(i386_immediate): Fix error message for aout BFD_ASSMBLER.
(i386_displacement): Here too.
Update copyright.
* config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
Define TARGET_FORMAT for aout only when not multi.
Update copyright.
* config/te-multi.h: Delete file as it's identical to te-generic.h
2000-01-15 Alan Modra
* config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
* config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
LONG_MNEM_SUFFIX.
* config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
DWORD_MNEM_SUFFIX.
* config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
comments.
2000-01-13 Clinton Popetz
* config/tc-mips.c (mips_do_align): New function.
* config/tc-mips.h (md_do_align): Define.
2000-01-10 Philip Blundell
* doc/c-arm.texi (ARM Options): Fix typo.
(ARM-Chars): Correct description of `#'. Mention that `;' is a
line separator for Linux.
* doc/as.texinfo (Comments): Mention the ARM.
2000-01-10 Philip Blundell
* configure.in (arm*-*-conix*): New target.
(arm*-*-linux-gnu*): Match instead of arm-*-linux* and
armv*-*-linux-gnu.
* configure: Regenerate.
2000-01-03 Martin v. Loewis
* config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
(obj_elf_visibility): New function.
* doc/as.texinfo (Visibility): New node: document visibility
pseudo ops.
1999-12-27 Alan Modra
* config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a
warning for absolute jump/call without `*' in non-intel mode. No
need to set i.types[0] JumpAbsolute in intel mode.
1999-12-22 Philip Blundell
* config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
hook function when changing sections.
(arm_s_data): Likewise.
1999-12-14 Nick Clifton
* config/tc-arm.c (md_parse_option): Add support for -marm720
command line switch.
Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
(r_registers, xr_registers): Define.
(r_register_name, xr_register_name): New functions.
(md_assemble): Handle new am33 operand types and instruction
formats.
(mn10300_insert_operand, check_operand): Likewise.
1999-11-29 Nick Clifton
* config/tc-arm.c (thumb_mode): Turn into a tristate variable.
(s_force_thumb): Set thumb_mode to 2.
(md_assemble): Do not complain about thumb instructions on a
non-thumb target if thumb_mode is set to 2.
1999-11-28 Michael Meissner
* config/tc-alpha.c (toplevel): Include struc-symbol.h.
(alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
(O_...): Add new machine dependent expressions if we are handling
explicit relocations.
(alpha_reloc_op): New static table holding the explicit relocation
information.
(alpha_literal_hash): New static to hold the hash table for
explicit relocations.
(alpha_macros): Add support for explicit relocations.
(md_begin): If explicit relocations, initialize hash table.
(md_assemble): Don't print a second error if tokenize_arguments
already printed an error message.
(md_apply_fix): Add support for explicit relocations.
(alpha_force_relocation): Ditto.
(alpha_fix_adjustable): Ditto.
(alpha_adjust_symtab): New function to support explicit
relocations.
(alpha_adjust_symtab_relocs): Ditto.
(debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
(tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
Add support for explicit relocations. Return -2 if an error
message was already printed.
(find_macro_match): Add support for explicit relocations. Comment
each of the cases.
(emit_insn): Add support for explicit relocations.
(assemble_tokens): Ditto.
(emit_ldgp): Ditto.
(load_expression): Ditto.
(emit_lda): Ditto.
(emit_ldah): Ditto.
(emit_ir_load): Ditto.
(emit_loadstore): Ditto.
(emit_ldXu): Ditto.
(emit_ldil): Ditto.
(emit_sextX): Ditto.
(emit_division): Ditto.
(emit_jsrjmp): Ditto.
(emit_retjcr): Ditto.
* config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
ELF object format.
(tc_adjust_symtab): If explicit relocations, call the function
alpha_adjust_symtab.
(TC_FIX_TYPE): Add fields to be able to move explicit lituse
relocations next to the literal relocation they reference.
(TC_INIT_FIX_DATA): Initialize the new fields.
(TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
'B' operand for PA2.0 bb instruction.
1999-11-18 Nick Clifton
* config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
target.
* config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
relocs.
(mcore_force_relocation): Force relocations to be generated for
RVA relocs.
1999-11-16 Alan Modra
* config/tc-i386.c (i386_immediate): Disallow O_big immediates.
(i386_displacement): Disallow O_big displacements.
Mon Nov 15 20:12:43 1999 Donald Lindsay
* config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg): Small
improvements in error checking.
(md_assemble): Support for unconditional ARM instructions.
(md_parse_option): Support for -m[arm]v5e flag.
1999-11-12 Nick Clifton
* macro.c (buffer_and_nest): Do not check beyond the end of the
buffer.
1999-11-11 Nick Clifton
* macro.c (buffer_and_nest): Look for seperator after TO and
FROM tokens.
1999-11-08 Andrew Haley
* app.c (do_scrub_chars): When in State 10, treat backslash
characters in the same way as as symbol characters.
1999-11-07 Richard Henderson
* config/tc-alpha.c (alpha_align): Check, don't assert, that
the previous label was in the current section before playing
with auto-alignment.
1999-11-06 Nick Clifton
* config/tc-v850.c (v850_force_relocation): Force relocation
for weak symbols.
(v850_pcrel_from_selection): Do not compute a pcrel offset if
the symbol is weak.
1999-11-05 Michael Meissner
* expr.h (operatorT): Increase machine dependent operators to 16.
* expr.c (op_rank): Ditto.
1999-11-03 Ian Lance Taylor
* read.c (pseudo_set): Reject attempts to set the value of a
section symbol.
* config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
if it is defined.
* config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
* config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
to bfd_set_section_contents.
1999-11-03 Nick Clifton
* config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
1999-11-01 Gavin Romig-Koch
* config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
(mips_ip): Use OPCODE_IS_MEMBER.
Wed Oct 27 16:50:44 1999 Don Lindsay
* config/tc-arm.c (reg_required_here): Improve comments.
* config/tc-arm.c (thumb_opcode): Add "variants" field.
(tinsns): Initialize variants field.
* config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
BAD_PC respectively.
1999-10-27 Scott Bambrough
* config/tc-arm.c (reloc_map[]): Fix compiler warning.
* config/tc-arm.h: Fix compile time warnings.
Mon Oct 18 18:11:10 MDT 1999 Diego Novillo
* tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
form @abs16, @(abs16) and @(abs16 + imm).
1999-10-21 Gavin Romig-Koch
* config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
(ISA_HAS_64_BIT_REGS) New.
(gpr_interlocks,md_begin,reg_needs_delay,append_insn,
mips_emit_delays,macro_build,load_register,load_addresss,
macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
and/or use new ISA_xxx macros in expressions involving
ISA, particularly mips_opts.isa.
1999-10-18 Michael Meissner
* expr.h (operatorT): Add machine dependent operators md1..md8.
(expressionS): Make X_op 8 bits instead of 7. Add a X_md field
for the machine dependent operators to use.
* expr.c (op_rank): Add machine dependent operators.
* config/tc-alpha.c (O_pregister): Define as a machine dependent
operator.
(O_cpregister): Ditto.
(md_begin): Change X_op test that field is wide enough to use
O_max instead of O_alpha_max.
(cpu_types): Fill in missing initializer.
(alpha_num_macros): Make unsigned.
(md_assemble): Make opnamelen be size_t.
(md_apply_fix): Cast alpha_num_operands to int before testing.
(alpha_force_relocation): Ditto.
(alpha_fix_adjustable): Ditto.
(alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
(tc_gen_reloc): Ditto.
(tc_get_register): Ditto.
(emit_ldgp): Ditto.
(emit_lda): Ditto.
(emit_ldah): Ditto.
(emit_ldil): Ditto.
(s_alpha_ent): Ditto.
(s_alpha_end): Ditto.
(s_alpha_frame): Ditto.
(s_alpha_prologue): Ditto.
(s_alpha_file): Ditto.
(s_alpha_gprel32): Ditto.
(s_alpha_proc): Ditto.
(s_alpha_set): Ditto.
(s_alpha_base): Ditto.
(s_alpha_align): Ditto.
(s_alpha_arch): Ditto.
(alpha_align): Ditto.
(assemble_insn): Suppress unused variable warning.
(emit_insn): Ditto.
(assemble_insn): Don't assume X_op and X_unsigned are in a given
order in the structure.
(s_alpha_coff_wrapper): Avoid int/unsigned comparison.
Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
1999-10-12 Alan Modra
* config/tc-i386.c (i386_index_check): Correct #endif location.
Mon Oct 11 14:02:40 1999 Geoffrey Keating
* as.c (show_usage): Document new options.
(parse_args): Add --no-warn, --warn, --fatal-warnings,
which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
(parse_args): Parse the new options.
(main): If there were warnings, and --fatal-warnings
was specified, print an error.
* as.h: New variable, flag_fatal_warnings, for new option.
Sun Oct 10 01:47:23 1999 Jerry Quinn
* config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
'@'. Change autoincrement completers to fall through to cache control
completers.
* config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
arg.
(pa_parse_addb_64_cmpltr): New function.
* config/tc-hppa.c (pa_ip): Change error message.
(pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
'?Q' args to allow falling through.
* configtc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
Remove unused conditional codes.
(pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
Thu Oct 7 00:23:53 MDT 1999 Diego Novillo
* config/tc-d30v.c (CHAR_BIT): Define.
(check_range): Fix bit operations to support integers bigger than
32 bits.
Thu Oct 7 00:11:50 MDT 1999 Diego Novillo
* config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
operands.
Mon Oct 4 17:24:23 1999 Nick Clifton
Doug Evans
Add support for m32rx.
* config/tc-m32r.c (enable_m32rx): New static global.
(enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
(allow_m32rx): New function.
(M32R_SHORTOPTS): Add `O'.
(md_longopts): Add --m32rx plus several warning options.
(md_parse_option): Handle new options.
(md_show_usage): Print them.
(md_begin): Enable m32rx.
(OPERAND_IS_COND_BIT): New macro.
(first_writes_to_seconds_operands): New function.
(writes_to_pc,can_make_parallel,make_parallel): New functions.
(target_make_parallel,assemble_two_insns): New functions.
(md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
If optimizing and m32rx, try to make consecutive insns parallel.
Tue Sep 28 14:06:44 1999 Geoffrey Keating
* config/tc-mips.c (nopic_need_relax): Allow for the
.sdata.foo sections generated by -fdata-sections,
and for the .gnu.linkonce.s sections generated by C++.
Thu Sep 23 07:13:45 1999 Jerry Quinn
* config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
with cleaner code using completer prefixes. Add 'Y'.
* config/tc-hppa.c (pa_ip): Add parens to silence compiler.
Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
(pa_ip, case 'm'): Failure to get a CBIT specifier just means the
insn does not match and we should try the next insn in the table.
1999-09-22 Nick Clifton
* config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
of PA2.0 support.
1999-09-19 Alexandre Oliva
* config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
OBJ_ELF. If ELF, add "sq".
(md_parse_option): If ELF, ignore -s and -q.
(md_show_usage): Mention ELF options.
Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
operands.
* config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
* config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
* config/tc-hppa.c (struct pa_it): New field "trunc".
(pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
(pa_parse_ftest_gfx_completer): New function
(pa_parse_fp_cnv_format): New function.
* config/tc-hppa.c (pa_ip): Handle 'X' operand.
(md_apply_fix): Handle 22bit pc-rel branches.
* config/tc-hppa.c (pa_ip): Handle 'B' operand.
* config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
* config/tc-hppa.c (pa_ip): Handle 'l' operand.
* config/tc-hppa.c (pa_ip): Handle 'g' operand.
at Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
(pa_ip): Handle 'fX'.
Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
(pa_ip): Handle 'fX'.
Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_build_unwind_subspace): Do not build
unwinds unless the function is in the text space.
(pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
(md_assemble): To here. Tweak address generation.
* config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
debug_line.
(md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
(md_assemble): Call dwarf2_where for OBJ_ELF.
(pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
(pa_end_of_source): New function.
* tc-hppa.h (md_end): Define for OBJ_ELF.
1999-09-14 Michael Meissner
* configure.in (Canonicalization of target names): Remove adding
${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
generates $ac_config_sub with a ${CONFIG_SHELL} already.
* configure: Regenerate.
1999-09-14 Donn Terry
* config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
1999-09-13 Alan Modra
* config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
pc-relative jmp/call to an absolute symbol.
(md_apply_fix3): When OBJ_ELF, don't add the values in twice for
absolute section symbols.
* config/tc-i386.c (md_assemble): Correct frag_var size. Tidy
jump handling code and comments.
1999-09-12 Ian Lance Taylor
* config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
the value if TE_PE and a global defined symbol.
1999-09-11 Ian Lance Taylor
* write.c (dump_section_relocs): Call print_symbol_value_1 to
print the symbol, rather than printing it here.
1999-09-11 Donn Terry
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
BFD_RELOC_RVA relocations.
* config/tc-i386.c (md_undefined_symbol): Compare the name against
the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
starts with "_G".
* write.c (write_relocs): Call SET_SECTION_RELOCS if it is
defined.
* config/obj-coff.h (SET_SECTION_RELOCS): Define.
* doc/internals.texi (Object format backend): Document
SET_SECTION_RELOCS.
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
relocations against global symbols if TE_PE.
* config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
(obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
* config/obj-coff.c (coff_frob_symbol): Prohibit weak common
symbols.
* config/obj-coff.c (obj_coff_endef): Don't merge labels, or
symbols which do not have a constant value, or tags with
non-tags. Remove the symbol from the list before adding it at the
end.
* config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
C_FCN symbol differently if TE_PE.
(obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
appears in the pseudo-op, rather coff_line_base which is only set
for a .bf symbol.
* config/obj-coff.c (obj_coff_loc): New static function.
(obj_pseudo_table): Add "loc".
* config/obj-coff.c (add_lineno): Check that the line number is
positive.
* config/atof-ieee.c (atof_ieee): Change what_kind to int.
* config/atof-vax.c (flonum_gen2vax): Change format_letter to
int.
(md_atof): Return NULL rather than 0.
* config/tc-i386.c (md_atof): Change type to int.
* expr.c (expr): Change first parameter to int.
* config/obj-coff.c: Add declarations for static functions.
(coff_frob_symbol): Use SYM_AUXENT.
* config/tc-i386.h (flag_16bit_code): Don't declare.
* config/obj-coff.c (obj_coff_section): Default to setting
SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
* write.c (adjust_reloc_syms): Print adjusted fixup.
* expr.c (integer_constant): Correct too_many_digits calculation
in base 10 case.
1999-09-09 Andreas Schwab
* doc/c-arm.texi: Fix arguments of @var to not contain
punctuation.
1999-09-08 Philip Blundell
* config/tc-arm.c (s_thumb_set): Only support interworking for ELF
and COFF targets.
(md_parse_option): Only support -k flag for ELF and COFF targets.
Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Put strict register checks before
call to pa_parse_number.
* config/tc-hppa.c (pa_ip): Support 'Z' argument.
1999-09-06 Ian Lance Taylor
* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
BFD_ASSEMBLER code.
1999-09-06 Donn Terry
* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
candidate instruction. Require registers for register arguments
when in strict mode. Require assemble-time constants for
constants when in strict mode.
(pa_get_absolute_expression): Require a constant when in strict
mode.
1999-09-06 Nick Clifton
* config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
1999-09-04 Steve Chamberlain
* config/tc-pj.c: New file, supports picoJava in ELF.
* config/tc-pj.h: Ditto.
* configure.in (pjl*, pj*): New targets.
* Makefile.am: Rebuild dependencies.
(CPU_TYPES): Add pj.
(TARGET_CPU_CFILES): Add config/tc-pj.c.
(TARGET_CPU_HFILES): Add config/tc-pj.h.
* doc/c-pj.texi: New file.
* doc/as.texinfo: Add some PJ specifics.
* doc/all.texi: Add PJ to the list of all architectures, sort them
all alphabetically.
* doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
* configure, Makefile.in, doc/Makefile.in: Rebuild.
1999-09-02 Alan Modra
* config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
(obj_frob_file): Test for null pointer.
(OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
(OBJ_PROCESS_STAB): And here.
(elf_obj_sy): Remove
* config/obj-elf.h: #ifndef everything defined in obj-multi.h,
except OBJ_PROCESS_STAB, which we #undef for ecoff.
(elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
* config/obj-coff.c (no_func): Remove.
(coff_format_ops): Change occurrences of no_func to 0, as we test
for 0 in obj-multi.h.
* configure.in: Enable bfd for i386-coff when primary target is
bfd. Enable i386 elf,coff emulation support. Don't set
USE_EMULATIONS=1 or te_file=multi unless there is more than one
emulation to support.
*configure: Regenerate.
1999-09-02 Nick Clifton
* config/tc-mcore.c (mcore_s_section): Do not dump literals if a
.section .line directive is encountered.
1999-09-01 Nick Clifton
* config/tc-arm.c (md_section_align): Do not align sections in ELF
format.
* as.c (show_usage): Add --gdwarf2 to list of options displayed.
* as.texinfo: Document --gdwarf2 command line option.
Add additional documentation of ARM command line switches.
1999-08-30 Alan Modra
* config/tc-i386.c (i386_intel_memory_operand): Combine
i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE
and RESTORE_END_STRING around parse_register calls.
(i386_operand): Here too.
(i386_is_reg): Remove.
(parse_register): Move as_bad calls from within this function to
callers.
1999-08-29 Alan Modra
Based on a patch from H.J. Lu
* config/tc-i386.c (parse_register): Handle FP regs specially.
(md_begin): Remove '(' and ')' from register_chars.
1999-08-29 Doug Evans
* config/tc-m32r.c (md_parse_option): Delete unrecognized option
error message (done elsewhere).
Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
Sat Aug 28 00:26:26 1999 Jerry Quinn
* config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
args by 'f'.
* config/tc-hppa.c (pa_ip): Add args q, %, and |.
* config/tc-hppa.c (pa_ip): Absorb white space in instructions
between args.
Add new completers. Fix bug in 64 bit condition handling.
* config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
'cS', and 'c*'.
* config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
* config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
* config/tc-hppa.c (pa_ip): Add case for 'I'.
1999-08-27 Jim Wilson
* dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
(struct ls): Add frag field. Initialize it to zero.
(out_end_sequence): New local text_frag. Set it while in text section.
Replace address check with frag check. Set ls.frag to text_frag if
out_set_addr called.
(dwarf2_gen_line_info): Add explanatory comment. New local saved_frag.
Set it before switching sections. Replace address check with frag
check. Set ls.frag to saved_frag if out_set_addr called.
1999-08-26 David Mosberger
* dwarf2dbg.c (out_end_sequence): If address changed, directly
output "advance_pc" opcode instead of calling gen_addr_line().
The latter has the undesired side-effect of creating a new row
in the debug line info matrix.
1999-08-26 Jim Wilson
* dwarf2dbg.c (out_end_sequence): Correct comments. Set last to
ls.last_filename if last is less than zero. Set ls.last_filename
when allocating new entry.
(dwarf2_gen_line_info): Save seg and subseg info before subseg_new
call.
1999-08-20 Alan Modra
* config/tc-i386.c (i386_index_check): Fix the displacement size
when INFER_ADDR_PREFIX.
1999-08-18 Nick Clifton
* config/tc-arm.c (md_apply_fix3): If an offset is invalid,
display its value.
1999-08-17 Ian Lance Taylor
* config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
handle 0xffffNNNN constants correctly.
1999-08-16 Nick Clifton
* config/tc-arm.c (do_ldst): Look for register conflicts on stores
as well as loads.
1999-08-13 Nick Clifton
* config/tc-arm.c (validate_offset_imm): Work on unsigned values.
(md_apply_fix3): Always pass positive values to
validate_offset_imm.
1999-08-12 Nick Clifton
* config/tc-arm.c (skip_whitespace): New macro.
Formatting tidy ups.
(md_apply_fix3): Store relocation offset in addend for ELF based
relocs.
(arm_force_relocation): Always generate relocs for Thumb function
calls.
1999-08-11 Alan Modra
* config/tc-i386.c (md_assemble): Remove dead code. intel_syntax
LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
flags for the unwind subspace.
* config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
(pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
suitable relocation based on the size of the target's pointer.
Always Use subsegment zero for the unwinders.
(pa_level): Handle "2.0w".
Mon Aug 9 20:02:22 1998 J"orn Rennecke
* config/tc-d30v.c (write_2_short): Don't group repeat instructions
with the following instruction unless this was specified.
1999-08-09 Ian Lance Taylor
* config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
certain sections, to match BFD changes.
1999-08-08 Mumit Khan
* Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
(EXTRA_SCRIPTS): Define to keep automake happy.
* Makefile.in: Rebuild.
1999-08-08 Ian Lance Taylor
* Makefile.am: Rename .dep* files to DEP*.
(MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather
than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP
targets to DEPOBJ.
* Makefile.in: Rebuild.
1999-08-08 Jakub Jelinek
* config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
1999-08-08 Ian Lance Taylor
* Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
avoid problems on DOS filesystems.
* Makefile.in: Rebuild.
* doc/as.texinfo (Section): Document 's' flag for COFF version.
1999-08-08 Mumit Khan
* config/obj-coff.c (obj_coff_section): Handle 's' (shared)
section flag.
1999-08-08 Ian Lance Taylor
* configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
line to create ${GDBINIT} rather than .gdbinit.
* configure, Makefile.in, doc/Makefile.in: Rebuild.
Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip, case '?'): Add missing break.
Fri Aug 6 09:46:35 1999 Jerry Quinn
* config/tc-hppa.c (pa_ip): Add 64 bit condition completers.
1999-08-06 Jakub Jelinek
* config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
non-adjustable symbols.
Thu Aug 5 16:52:51 1999 Jerry Quinn
* config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
Thu Aug 5 23:05:56 1999 J"orn Rennecke
* config/tc-sh.c (md_assemble): Call as_bad when there are excess
operands.
1999-08-05 Donn Terry
* config/te-interix.h: New file.
* configure.in (i386-*-interix*): New target.
* configure: Rebuild.
Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
selectors for ELF too.
(selector_table): Add "ltp" and "rtp" selectors.
1999-08-04 Alan Modra
* config/tc-i386.c (i386_operand): No need to change
operand_string pointer in segment reg case before goto
do_memory_reference. Initialise displacement_string_start and
displacement_string_end after do_memory_reference label.
(i386_index_check): Add operand_string param, and print error
message on failure here.
(i386_intel_memory_operand): Instead of here.
(i386_operand): And here.
(INFER_ADDR_PREFIX): Enable.
* doc/c-i386.texi (i386-16bit): Document .code16gcc.
* config/tc-i386.h (DefaultSize): Define. Renumber following
opcode_modifier defines.
From Etienne Lorrain
* config/tc-i386.c (stackop_size): New variable.
(set_16bit_code_flag): Clear it here.
(set_16bit_gcc_code_flag): New function.
(md_pseudo_table): Add "code16gcc" entry.
(md_assemble): Set i.suffix for insns with DefaultSize modifier.
1999-08-03 Ian Lance Taylor
* config/obj-coff.c (coff_frob_symbol): Always update set_end with
next_set_end even if the end symbol is being discarded.
* gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
* output-file.c, symbols.c, config/tc-i386.c: Likewise.
* config/obj-coff.c: Likewise.
(seg_info_type): Remove.
(seg_info_off_by_4): Change to array of segT.
(s_get_segment): Adjust accordingly.
(obj_pseudo_table): Fully initialize sentinel entry.
* config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
Ralf Baechle .
1999-08-03 Etienne Lorrain
* config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
1999-08-03 Alan Modra
* config/tc-i386.c: Indentation and white space changes.
(i386_index_check): New function. Add INFER_ADDR_PREFIX code, but
don't enable it by default.
(i386_intel_operand): Remove redundant prototype.
Move check on number of memory operands, and i.mem_operands++
(i386_intel_memory_operand): To here.
Remove i386_immediate code from here. Remove special case code
for input and output using (%dx). Remove base/index checks and
call i386_index_check instead. Save initial operand_string
argument for error message.
(i386_operand): Remove redundant prototype. Move base/index
checks to i386_index_check.
(i386_displacement): Move intel mode check for non-zero
i.disp_operand
(i386_intel_memory_operand): To here.
1999-07-30 Jakub Jelinek
* config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
(sparc_ip): Warn if %g2 or %g3 register is used and not covered
by .register pseudo-op if -64 and --no-undeclared-regs.
(s_register, sparc_adjust_symtab): New functions.
* config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
Declare sparc_adjust_symtab as tc_adjust_symtab.
* doc/c-sparc.texi: Add description of #ignore special literal
for .register pseudo-op.
1999-07-30 Catherine Moore
* config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
the relocation's section offset.
1999-07-29 Alan Modra
* write.c (fixup_segment): Fix generic error check overflow test.
* config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
X_add_number to long.
Wed Jul 28 02:04:24 1999 "Jerry Quinn"
* config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
processing.
1999-07-27 Ian Lance Taylor
* config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
VTABLE relocations.
1999-07-21 Mark Elbrecht
* config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
* configure.bat: Remove; obsolete.
* config/go32.cfg: Likewise.
1999-07-21 Brad M. Garcia
* configure.in (i386-*-vxworks*): New target.
* configure: Rebuild.
1999-07-16 Jakub Jelinek
* doc/c-sparc.texi: Document .register and .nword pseudo-ops.
1999-07-16 Jakub Jelinek
* config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
on -64 and not pic.
(output_insn): Put OLO10's secondary addend into tc_fix_data.
(md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
(tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
* config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
MAX_RELOC_EXPANSION): Define.
(TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
1999-07-16 Alan Modra
* config/tc-i386.c (intel_float_operand): Add prototype, make static.
(md_assemble): Localize *exp variable to if (fake_zero_displacement)
block. Print a warning if an 8-bit or 16-bit constant
displacement or immediate is truncated on output.
(i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
immediate.
(i386_operand): Disallow immediate jump absolute operand.
1999-07-15 Ian Lance Taylor
* configure.in: Bump version number to 2.9.5.
* configure: Rebuild.
* dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
or %llx work.
Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
(cons_fix_new_hppa): Derive size of fixup from size of the object.
1999-07-14 Philip Blundell
* symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
is defined.
* config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
* config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
if -mno-fpu was given.
(tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC
relocs.
(cons_fix_new_arm): Remove misleading comments.
1999-07-14 Ian Lance Taylor
* write.c (cvt_frag_to_fill): Use frag file and line in rs_org
error message.
(relax_segment): Likewise. After giving a rs_org error, convert
the frag to rs_align to avoid cascading errors.
1999-07-12 Andreas Schwab
* config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
1999-07-11 Ian Lance Taylor
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations. Add variable
initializations. Add casts.
* dwarf2dbg.c (print_stats): Change i to size_t.
* listing.c (listing_listing): Change list_line to unsigned int.
1999-07-10 Ian Lance Taylor
* config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
rather than checking for \001 and \002 in symbol name.
* config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
Thu Jul 8 12:32:23 1999 John David Anglin
* configure.in (hppa*-linux-gnu*): New target.
* configure: Rebuilt.
1999-07-08 Nick Clifton
* doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
1999-07-07 Nick Clifton
* config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
accessing symbolP directly.
Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
for ELF.
1999-07-05 Nick Clifton
* config/tc-arm.c (ARM_EXT_V5): Define.
(ARM_ARCH_V5, ARM_ARCH_V5T): Define.
(md_begin): Detect ARM v5 architectures.
(md_parse_option): Accept arm v5 specification.
(md_show_usage): Documment -marmv5 switch.
* doc/c-arm.texi: Document -marmv5 command line option.
* config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo
op.
(validate_immediate_twopart): New function. Determine if a
constant can be computed by two ADD instructions.
(output_inst): Remove its command line parameter - it was never
used.
(md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
implememt the ADRL pseudo op.
(tc_gen_reloc): Generate a suitable error message if an ADRL
instruction tries to generate a real reloc.
* doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Convert the opcode and all completers
into lower case.
1999-06-27 H.J. Lu
* subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
non BFD_ASSEMBLER case.
1999-06-26 Mumit Khan
* config/obj-coff.c (obj_coff_section): Mark writable sections as
data.
1999-06-26 David Mosberger
* dwarf2dbg.c (dwarf2_gen_line_info): Don't call
out_end_sequence() when the address decreases due to a new frag.
(gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
numbering starts with 1.
1999-06-23 Nick Clifton
* config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
.section for COFF.
(mcore_s_text): Call obj_elf_text for ELF target.
(mcore_s_data): Call obj_elf_data for ELF target.
(mcore_s_section): No longer ELF specific. Call obj_coff_section
for COFF target.
(mcore_s_bss): New function: Dump literal table before changing
sections.
(mcore_s_comm): New function: Dump literal table before changing
sections.
* config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
No longer static functions.
* config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
Provide prototypes for these functions.
1999-06-22 Ian Lance Taylor
* subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
a list of names, to try obj_segment_name, and to try abbreviated
names when using COFF without long section names.
* config/tc-alpha.c: More use of symbol accessor functions.
* config/tc-arc.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-fr30.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
sy_value with appropriate accessor functions.
* config/tc-arm.c (md_apply_fix3): Likewise.
* config/tc-d10v.c (AT_WORD_P): Likewise.
* config/tc-v850.c (reg_name_search): Likewise.
* config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
use symbol_get_bfdsym instead.
* config/tc-ppc.c (md_assemble): Likewise.
* config/tc-v850.c (v850_comm): Likewise.
1999-06-22 Jonathan Larmour
* config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
the symbol, rather than accessing the bsym member.
* config/tc-d10v.c (tc_gen_reloc): Likewise.
* config/tc-d30v.c (tc_gen_reloc): Likewise.
* config/tc-mcore.c (tc_gen_reloc): Likewise.
* config/tc-mn10200.c (tc_gen_reloc): Likewise.
* config/tc-mn10300.c (tc_gen_reloc): Likewise.
* config/tc-ns32k.c (tc_gen_reloc): Likewise.
* config/tc-tic30.c (tc_gen_reloc): Likewise.
* config/tc-v850.c (tc_gen_reloc): Likewise.
Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com)
* tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
(hppa_gen_reloc_type): Conditionalize on BFD64.
(tc_gen_reloc): Re-enable ELF relocations.
* tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
1999-06-21 Ian Lance Taylor
* config/tc-arm.c (ldst_extend): Add parentheses to avoid
warning.
(do_ldst): Move assignment out of if condition.
(md_apply_fix3): Add casts to avoid printf format warnings. Add
parentheses to avoid warning.
1999-06-21 Nick Clifton
* config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
macro to get at the BFD symbol associated with a GAS symbol.
1999-06-19 Ian Lance Taylor
* config/tc-ppc.c: Update for symbol handling changes.
* config/obj-coff.c: Likewise.
Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com)
* tc-hppa.c: General cleanups of ELF support. No more spaces
and subspaces for ELF.
(GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
(GDB_STRINGS_SUBSPACE_NAME): Likewise.
(GDB_SYMBOLS_SUBSPACE_NAME): Likewise
(UNWIND_SECTION_NAME): Likewise.
(space/subspace related structures): Conditionalize definitions
on OBJ_SOM.
(space/subspace directives and support routines): Conditionalize
definitions and references/uses on OBJ_SOM.
(label_symbol_struct): For ELF, track the symbol's segment. For
SOM track its space.
(pa_define_label, pa_undefine_label, pa_get_label): Corresponding
changes.
(USE_ALIASES): Kill for both SOM & ELF.
(pa_def_subspaces, pa_def_spaces): Corresponding changes.
(pa_space, pa_subspace): Corresponding changes.
(pa_spaces_begin): Corresponding chagnes.
(md_begin): Do not muck around with space/subspace stuff for
OBJ_ELF.
(md_apply_fix): Temporarily disable argument relocation stuff
for OBJ_ELF.
(tc_gen_reloc): Temporarily disable relocation generation for
OBJ_ELF
(pa_build_unwind_subspace): Similarly.
1999-06-16 Nick Clifton
* config/tc-arm.c (thumb_set): New pseudo op.
(text, data, section): Override these pseudo ops with ARM
specific versions.
(s_thumb_set): New function: Perform the same as a .set pseudo
op, but also mark the alias'ed symbol as being a Thumb
function.
(arm_s_text): New function: Perform the same as the .text
pseudo op, but dump the literal pool before changing
sections.
(arm_s_data): New function: Perform the same as the .data
pseudo op, but dump the literal pool before changing
sections.
(arm_s_section): New function: Perform the same as the
.section pseudo op, but dump the literal pool before changing
sections.
(arm_cleanup): Do not reset the current section before dumping
the literal pool.
1999-06-17 Nick Clifton
* config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
OPTION_NO_WARN_UNMATCHED entries.
(md_parse_option): Generate a warning message if an unrecognised
option is encountered.
* config/tc-d10v.c (do_not_ignore_hash): New variable.
(get_operands): When parsing an expression after an '@' symbol
has been detected, do not ignore '#' symbols.
(md_operand): Only ignore '#' symbols if do_not_ignore_hash is
false.
1999-06-13 Ian Lance Taylor
From K. Richard Pixley :
* configure.in (ppc-*-vxworks*): New target.
* configure: Rebuild.
1999-06-12 Philip Blundell
* config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
1999-06-13 Ian Lance Taylor
* write.c (adjust_reloc_syms): Rather than never reducing reloc
which refer to symbols in linkonce sections, permit reducing the
relocs if the symbol is local.
1999-06-12 Ian Lance Taylor
* subsegs.c (subseg_text_p): New function.
* as.h (subseg_text_p): Declare.
* read.c (do_align): Use subseg_text_p to set the default fill.
* write.c (subsegs_finish): Likewise.
* config/obj-coff.c (write_object_file): Likewise.
* config/tc-i386.h (md_maybe_text): Don't define.
(md_do_align): Use subseg_text_p to set the default fill.
* config/tc-m32r.c (m32r_do_align): Likewise.
* config/tc-sh.c (sh_do_align): Likewise.
* config/tc-sparc.h (md_do_align): Likewise.
1999-06-12 David O'Brien
* configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
* configure: Rebuild.
1999-06-12 Ian Lance Taylor
* dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
* Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.
* config/tc-i386.c (i386_immediate): Remove unused label
seg_unimplemented.
* struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
* symbols.c: Likewise.
* config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
sy_next field when taking address, rather than symbol_next.
* dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
offsetT.
(out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
value from the output file architecture.
(dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
* dwarf2dbg.h: Change bfd_vma to addressT.
1999-06-11 Ian Lance Taylor
* dwarf2dbg.h: Use PARAMS in function declarations.
1999-06-11 Martin Dorey
* write.c (fixup_segment): Don't add symbol value for i960 ELF.
* config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
OBJ_ELF.
(md_apply_fix): Simplify BFD_ASSEMBLER handling.
1999-06-11 Ian Lance Taylor
* config/tc-i386.c (md_apply_fix3): Add default case to switch.
* config/tc-sparc.c (md_pseudo_table): Remove pushsection and
popsection.
* config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
* read.c (read_a_source_file): Only declare inescape if
QUOTES_IN_INSN.
* itbl-ops.c (itbl_disassemble): Change sprintf format strings to
match parameters.
(find_entry_byval): Add parens to avoid warning.
* as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
* symbols.c (resolve_symbol_value): Don't permit subtraction of
undefined symbols.
1999-06-10 Jakub Jelinek
* config/tc-sparc.c (sparc_ip): Don't use side-effect expression
with isoctal.
* config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
synthetize_setx): New functions.
(md_assemble): Broken the special cases into the above
functions. Make compiler happy if sizeof(bfd_vma)==4.
Fix sethi generated from set/setuw. If instructions have a relloc,
always clear the fields to be relocated in the opcode.
(sparc_ip): Remove special_case global variable.
1999-06-10 Ian Lance Taylor
Based on patches from John W. Woznack :
* itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
indication of success rather than a value.
(itbl_get_val): Likewise.
(itbl_get_field): Use strcspn. Change delimiters to include
parens.
* itbl-ops.h (itbl_get_reg_val): Update declaration.
(itbl_get_val): Likewise.
* config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
* symbols.c (copy_symbol_attributes): Convert local symbols to
regular symbols.
1999-06-10 Nick Clifton
* config/tc-arm.c (md_parse_option): Add support for ARM920 and
ARM920t.
1999-06-07 Jakub Jelinek
* config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
Optimize set if sizeof(bfd_vma) == 64.
(sparc_ip): Fix sethi - without %hi() it should generate
R_SPARC_22 reloc, not R_SPARC_HI22.
(tc_gen_reloc): Handle BFD_RELOC_SPARC22.
1999-06-07 Jakub Jelinek
* config/tc-sparc.c (md_begin): Handle native wordsize aliases.
(s_ncons): New function.
(native_op_table): New table.
(sparc_ip): Be more strict on %hi() etc.; prepare assembler for
R_SPARC_OLO10 handling.
Mon Jun 7 10:22:16 1999 Richard Henderson
* expr.h (struct expressionS): Revert last change; widen X_op.
* config/tc-alpha.c (md_begin): Check the field is wide enough.
Mon Jun 7 11:25:16 1999 Andreas Schwab
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
(TARGET_CPU_HFILES): Add config/tc-fr30.h.
(TARG_ENV_HFILES): Add config/te-epoc-pe.h.
* Makefile.in: Regenerated.
* config/obj-elf.c (obj_elf_common): In MRI mode if called as
`common' pass on to s_mri_common.
(elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
1999-06-06 Richard Henderson
* config/obj-elf.c (obj_elf_section): Don't free the return
value of demand_copy_C_string.
1999-06-05 Richard Henderson
* dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
creation logic from obj_elf_create_section.
* config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
(section_stack): New.
(special_sections): Make const.
(obj_elf_section): Gut and rewrite parsing.
(obj_elf_change_section): New function broken out of obj_elf_section.
(obj_elf_parse_section_letters): Likewise.
(obj_elf_section_word): Likewise.
(obj_elf_section_type): Likewise.
(obj_elf_previous): Treat as a toggle.
(obj_elf_popsection): New.
* config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
(ppc_section_type): Likewise.
* config/tc-ppc.h: Likewise.
* expr.h (struct expressionS): Don't make X_op a bitfield.
* config/tc-alpha.c: Update for symbol handling changes.
(md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
(load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
1999-06-05 Richard Henderson
* dwarf2dbg.c (*): Convert to K&R + prototypes.
(dwarf2_gen_line_info): Kill unused variables.
(dwarf2_finish): Likewise.
(dwarf2_where): Likewise.
(dwarf2_directive_file): If we've only got a string,
hand off to s_app_file.
* ecoff.c: Move the include of ecoff.h.
* symbols.h (S_IS_FUNCTION): Prototype.
* read.c (LEX_HASH): Supply a default.
(lex_type): Use it.
(s_globl): Update `c' after skipping whitespace.
* read.h (LEX_END_NAME, is_name_ender): New.
* expr.c (get_symbol_end): Respect it.
1999-06-04 Mark Klein
* config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
to real if OBJ_SOM
(tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
* config/tc-hppa.c: Update for symbol handling changes.
1999-06-03 Ian Lance Taylor
* cgen.c: Update for symbol handling changes.
* config/tc-m32r.c: Likewise.
* config/tc-hppa.h: Update for symbol handling changes.
* config/tc-hppa.c: Likewise.
* config/tc-arm.h: Update for symbol handling changes.
* config/tc-arm.c: Likewise.
(symbol_make_empty): Remove. Just use symbol_create.
* symbols.c (symbol_set_tc): Correct name.
* Makefile.am: Rebuild dependencies.
($(OBJS)): Don't depend upon struc-symbol.h.
(.dep1, .tcdep, .objdep): Create itbl-parse.h.
* dep-in.sed: Don't remove struc-symbol.h.
* Makefile.in: Rebuild.
* doc/internals.texi (Symbols): Describe changes in symbol
handling.
1999-06-03 Richard Henderson
* dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
instead of doing the work by hand.
1999-06-03 David Mosberger
* dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
state of line state-machine.
(struct ls): Collect DWARF2 line state-machine state in new member
SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
resulted in any DWARF2 directives.
(reset_state_machine): New function.
(out_end_sequence): Ditto.
(dwarf2_gen_line_info): When switching sections or switching to a
lower text address, call out_end_sequence() first to terminate the
previous code sequence as code sequences MUST have monotonically
increasing addresses.
(dwarf2_finish): Call out_end_sequence() instead of open coding it.
1999-06-03 David Mosberger
* as.c (parse_args): Add option -gdwarf2 to allow requesting
DWARF2 debug info (line information only, at this point).
* as.h: Update comment about supported debug formats.
* dwarf2dbg.c, dwarf2dbg.h: New files.
* Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
* expr.c (operand): Don't use [ for parens if we want an index op.
(op_encoding): Switch [ into O_index, if desired.
(op_rank): Renumber with O_index on bottom.
(expr): If O_index, match closing bracket.
* expr.h (O_index): New.
* read.c (read_a_source_file): Conditionally allow matched "
in lines passed to md_assemble.
* config/obj-elf.c (elf_pseudo_table): Add `common'.
1999-06-03 Ian Lance Taylor
Add support for storing local symbols in a small structure to save
memory when assembling large files.
* as.h: Don't include struc-symbol.h.
(symbolS): Add typedef.
* symbols.c: Include struc-symbol.h.
(local_hash): New static variable.
(save_symbol_name): New static function, from symbol_create.
(symbol_create): Call save_symbol_name.
(local_symbol_count): New static variable.
(local_symbol_conversion_count): Likewise.
(LOCAL_SYMBOL_CHECK): Define.
(local_symbol_make): New static function.
(local_symbol_convert): New static function.
(colon): Handle local symbols. Create local symbol for local
label name.
(symbol_table_insert): Handle local symbols.
(symbol_find_or_make): Create local symbol for local label name.
(symbol_find_base): Check for local symbol.
(symbol_append, symbol_insert): Check for local symbols.
(symbol_clear_list_pointers, symbol_remove): Likewise.
(verify_symbol_chain): Likewise.
(copy_symbol_attributes): Likewise.
(resolve_symbol_value): Handle local symbols.
(resolve_local_symbol): New static function.
(resolve_local_symbol_values): New function.
(S_GET_VALUE, S_SET_VALUE): Handle local symbols.
(S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
(S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
(S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
(S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
(symbol_previous, symbol_next): New functions.
(symbol_get_value_expression): Likewise.
(symbol_set_value_expression): Likewise.
(symbol_set_frag, symbol_get_frag): Likewise.
(symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
(symbol_mark_used_in_reloc): Likewise.
(symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
(symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
(symbol_mri_common_p): Likewise.
(symbol_mark_written, symbol_clear_written): Likewise.
(symbol_written_p): Likewise.
(symbol_mark_resolved, symbol_resolved_p): Likewise.
(symbol_section_p, symbol_equated_p): Likewise.
(symbol_constant_p): Likewise.
(symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
(symbol_get_obj, symbol_set_obj): Likewise.
(symbol_get_tc, symbol_set_tc): Likewise.
(symbol_begin): Initialize local_hash.
(print_symbol_value_1): Handle local symbols.
(symbol_print_statistics): Print local symbol statistics.
* symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
Declare new symbols.c functions. Move many declarations here from
struc-symbol.h.
(SYMBOLS_NEED_BACKPOINTERS): Define if needed.
* struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
(struct symbol): Move bsym to make it clearly the first field.
Remove TARGET_SYMBOL_FIELDS.
(symbolS): Don't typedef.
(struct broken_word): Remove.
(N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
(SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
(symbol_clear_list_pointers): Likewise.
(symbol_insert, symbol_remove): Likewise.
(symbol_previous, symbol_append): Likewise.
(verify_symbol_chain, verify_symbol_chain_2): Likewise.
(struct local_symbol): Define.
(local_symbol_converted_p, local_symbol_mark_converted): Define.
(local_symbol_resolved_p, local_symbol_mark_resolved): Define.
(local_symbol_get_frag, local_symbol_set_frag): Define.
(local_symbol_get_real_symbol): Define.
(local_symbol_set_real_symbol): Define.
Define.
* write.c (write_object_file): Call resolve_local_symbol_values.
* config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
(TARGET_SYMBOL_FIELDS): Don't define.
* config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
ECOFF_DEBUGGING, add ECOFF fields.
(ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
* config/obj-multi.h (struct elf_obj_sy): Add local field. If
ECOFF_DEBUGGING, add ECOFF fields.
(ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
(ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
* config/tc-mcore.h: Don't include struc-symbol.h.
(TARGET_SYMBOL_FIELDS): Don't define.
(struct mcore_tc_sy): Define.
(TC_SYMFIELD_TYPE): Define.
* Many files: Use symbolS instead of struct symbol. Use new
accessor functions rather than referring to symbolS fields
directly.
* read.c (s_mri_common): Don't add in value of line_label.
* config/tc-mips.c (md_apply_fix): Correct parenthesization when
checking for SEC_LINK_ONCE.
* config/tc-sh.h (sh_fix_adjustable): Declare.
* app.c (input_buffer): New static variable.
(app_push): Save saved_input in allocated buffer.
(app_pop): Restored saved_input.
(do_scrub_chars): Change get parameter to take char * and int as
arguments. Change GET macro to pass input_buffer to get
function. Don't save input into allocated buffer.
* as.h (do_scrub_chars): Update declaration.
* input-file.c (input_file_get): Change to take char * and int.
Read data into passed in buffer. Remove static buffer.
* read.c (scrub_from_string): Change to take char * and int. Copy
data into passed in buffer.
* hash.h: Neaten. Declare hash_traverse.
* hash.c: Complete rewrite based on BFD hashing code.
* gasp.c (chunksize): New variable.
* macro.c (macro_expand_body): Call hash_jam with NULL rather than
hash_delete.
1999-05-28 Nick Clifton
* config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
addend unless the target uses an old ABI.
Mon May 24 13:36:55 1999 Doug Evans
-Wchar-subscripts cleanup
* listing.c (listing_newline): Use unsigned char variable, so
calls to isascii,iscntrl are correct.
* atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
(unsigned char).
* ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
* config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
* config/tc-mips.c (mips_ip,mips16_ip): Ditto.
(my_getSmallExpression,get_number,s_mips_ent): Ditto.
1999-05-28 Torbjorn Granlund
* config/tc-m68k.c (m68k_ip): Check for disallowed index register
width for Coldfire.
(arch_coldfire_p): New #define.
(m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
1999-05-28 Linus Nordberg
* config/tc-m68k.c (install_operand): Add places `n', `o'.
* config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
(install_operand): Add place `N'.
(init_table): Add registers ACC, MACSR, MASK.
* config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
* config/tc-m68k.c: Change mcf5200 --> mcf.
(archs): Add mcf5206e, mcf5307.
(m68k_ip): Add format `u'.
(install_operand): Add place `m', `M', `h'.
(init_table): Add upper/lower registers.
* config/m68k-parse.h (m68k_register): Add upper/lower registers.
1999-05-28 Martin Dorey
* config/tc-i960.c: Several minor changes to add ELF and
BFD_ASSEMBLER support.
* config/tc-i960.h: Likewise.
* configure.in (i960-*-elf*): New target.
* aclocal.m4, configure: Rebuild.
1999-05-25 Alan Modra
* config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
reloc changes when defined(BFD_ASSEMBLER).
1999-05-17 Alan Modra
* config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
* write.c (write_print_statistics): Output to file, not stderr.
* expr.c (generic_bignum_to_int32,64): Prototype.
* read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
output_sleb128, output_uleb128, output_big_sleb128,
output_big_uleb128, output_big_leb128): Prototype.
(output_big_sleb128, output_big_uleb128): Make inline.
(output_big_leb128): Remove inline
From Maciej W. Rozycki |