aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2002-10-11 * gas/sh/tlsd.s, gas/sh/tlsd.d: New.Kaz Kojima8-0/+246
* gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New. * gas/sh/tlspic.s, gas/sh/tlspic.d: New. * gas/sh/basic.exp: Add new tests.
2002-10-11 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs getKaz Kojima2-0/+29
emitted. (md_apply_fix3): Add TLS relocs. (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and @DTPOFF.
2002-10-11 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.Alan Modra2-13/+29
(md_estimate_size_before_relax): Likewise for 8 bit branches.
2002-10-10 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_nJoern Rennecke2-6/+11
inside loop.
2002-10-09* gas/elf.exp: Don't run for sh64*-*-linux*, because it sets theStephen Clarke84-88/+150
lsb in SHmedia code addresses. * gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable recognition of SH-1/2/3/4 instructions. (proc do_fp): Do not run dsp tests for sh64*-*-linux*. * gas/sh/sh64/abi-32.d: Adjust expected output to include sh64*-*-linux* formats too. * gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d, gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d, gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d, gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d, sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d, gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d, gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d, gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d, gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d, gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d, gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d, gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d, gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d, gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d, gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d, gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d, gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d, gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d, gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d, gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d, gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d, gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d, gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d, gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d, gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d, gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d, gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d, gas/sh/sh64/ua64-1.d: Likewise.
2002-10-09* config/tc-sh64.c (sh64_target_format): Add support for sh64Stephen Clarke2-4/+19
Linux environment.
2002-10-032002-10-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* gas/mips/mips-no-jalx.l: Make error message regexps accomodate tools which target a specific CPU by default.
2002-10-03 * contig/tc-sh.c (sh_local_pcrel): New.Kaz Kojima4-13/+51
(sh_force_relocation): Use sh_local_pcrel. (md_pcrel_from_section): Check the relocation type whether it should be resolved locally. Use S_FORCE_RELOC. * testsuite/gas/sh/pcrel2.d: Check code also.
2002-10-03* gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS*Stephen Clarke3-2/+8
symbol generation. * gas/sh/sh64/ptc64-noexp-1.d: Likewise.
2002-10-01 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.Alan Modra2-1/+10
(TC_FORCE_RELOCATION): Tidy arg.
2002-10-012002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+4
* gas/mips/mips.exp: Undo the last change.
2002-10-012002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+3
* gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the rest of output.
2002-09-302002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+9
* gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and empic3_g2 on Linux/mips.
2002-09-302002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/mips/vr4120.d: Pass -m mips:4120 to objdump.
2002-09-30[gas/]Richard Sandiford17-10/+789
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. (hilo_interlocks): True for CPU_VR5500. (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. (mips_fix_vr4122_bugs): New. (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. (mips_emit_delays): Likewise. (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. [M_ROLI]: Likewise ror if CPU_HAS_ROR. (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. (OPTION_ELF_BASE): Bump. (md_parse_option): Handle the new options. (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, vr5400 and vr5500. [gas/testsuite/] * gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to... * gas/mips/vr4111.[sd]: ...this new test. * gas/mips/vr4120.[sd], * gas/mips/vr4122.[sd], * gas/mips/vr5400.[sd], * gas/mips/vr5500.[sd]: New tests. * mips.exp: Run them.
2002-09-302002-09-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+19
* config/tc-mips.c (md_apply_fix3): Subtract the symbol value twice if howto->pcrel_offset is true.
2002-09-28* config/tc-vax.c (md_estimate_size_before_relax): Only try toJason Thorpe2-7/+13
convert undefined references to GOT32/PLT32 if PIC code is requested. Fix comment.
2002-09-282002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>Daniel Jacobowitz6-0/+47
* config/tc-sh.c (sh_force_relocation): Return 0 for some PC relative relocations when not relaxing. * testsuite/gas/sh/pcrel2.s: New. * testsuite/gas/sh/pcrel2.d: New. * testsuite/gas/sh/basic.exp: Add pcrel2 test.
2002-09-27* gas/vax/elf-rel.[ds]: New test.Jason Thorpe4-2/+87
* gas/vax/quad.exp: Move contents to... * gas/vax/vax.exp: ...here. New file.
2002-09-27bfd/Jakub Jelinek2-4/+36
* reloc.c: Add x86-64 TLS relocs. * bfd-in2.h, libbfd.h: Rebuilt. * elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit relocs. Add TLS relocs. (x86_64_reloc_map): Add TLS relocs. (elf64_x86_64_info_to_howto): Adjust for added TLS relocs. (struct elf64_x86_64_link_hash_entry): Add tls_type field. (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define. (elf64_x86_64_hash_entry): Define. (struct elf64_x86_64_obj_tdata): New. (elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define. (struct elf64_x86_64_link_hash_table): Add tls_ld_got. (link_hash_newfunc): Initialize tls_type. (elf64_x86_64_link_hash_table_create): Initialize tls_ld_got. (elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary. (elf64_x86_64_mkobject): New. (elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata. (elf64_x86_64_tls_transition): New. (elf64_x86_64_check_relocs): Add r_type variable and use it. Handle TLS relocs. (elf64_x86_64_gc_sweep_hook): Handle TLS relocs. (allocate_dynrelocs): Allocate GOT space for TLS relocs. (elf64_x86_64_size_dynamic_sections): Likewise. (dtpoff_base, tpoff): New. (elf64_x86_64_relocate_section): Handle TLS relocs. (elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT entries. (bfd_elf64_mkobject): Define. * elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set DF_STATIC_TLS if shared. gas/ * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs. Define them if not BFD_ASSEMBLER. (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add @tlsld. (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD, BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF. (tc_gen_reloc): Handle x86-64 TLS relocs. include/ * elf/x86-64.h: Add TLS relocs. ld/testsuite/ * lib/ld-lib.exp (run_ld_link_tests): Add. * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff, file_contents): Remove. (sh64tests): Add 6th field to the tests array. * ld-i386/i386.exp (run_ld_link_tests): Remove. * ld-x86-64/x86-64.exp: New. * ld-x86-64/tlsbin.dd: New test. * ld-x86-64/tlsbinpic.s: New test. * ld-x86-64/tlsbin.rd: New test. * ld-x86-64/tlsbin.s: New test. * ld-x86-64/tlsbin.sd: New test. * ld-x86-64/tlsbin.td: New test. * ld-x86-64/tlslib.s: New test. * ld-x86-64/tlspic1.s: New test. * ld-x86-64/tlspic2.s: New test. * ld-x86-64/tlspic.dd: New test. * ld-x86-64/tlspic.rd: New test. * ld-x86-64/tlspic.sd: New test. * ld-x86-64/tlspic.td: New test.
2002-09-272002-09-27 H.J. Lu <hjl@gnu.org>H.J. Lu5-1/+21
* gas/mips/mips-jalx.s: Add ".p2align 4". * gas/mips/mips16-jalx.s: Likewise. * gas/mips/mips-jalx.d: Check nop. * gas/mips/mips16-jalx.d: Likewise.
2002-09-27 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrelAlan Modra2-0/+16
fixups to current or absolute section.
2002-09-26Fix v850 .offset pseudo-opJim Wilson2-5/+10
* config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix and frag_more.
2002-09-26 /gas/ChangeLogThiemo Seufer10-5/+59
* config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16 capable configuration. (macro_build): Check for MIPS16 capability, not for actual MIPS16 code generation. (mips_ip): Likewise. /gas/testsuite/ChangeLog * gas/mips/mips-jalx.d: New file, check jalx assembly. * gas/mips/mips-jalx.s: Likewise. * gas/mips/mips-no-jalx.l: Likewise. * gas/mips/mips-no-jalx.s: Likewise. * gas/mips/mips16-jalx.d: Likewise. * gas/mips/mips16-jalx.s: Likewise. * gas/mips/mips.exp: Add new tests. /opcodes/ChangeLog: * mips-dis.c (print_insn_mips): Always allow disassembly of 32-bit jalx opcode.
2002-09-26 * config/tc-mips.c (append_insn): Fix jump overflow check.Thiemo Seufer5-10/+18
* gas/mips/jal-range.s: Fix jump overflow check. * gas/mips/jal-range.l: Likewise.
2002-09-24 * config/tc-i386.c (process_operands): Warn about "lea" segmentAlan Modra2-9/+15
overrides.
2002-09-23Add LDM and STM instructions which are unpredictable because of their use ofNick Clifton3-0/+14
the writeback bit.
2002-09-23* write.c: Delete set_segment_vma and prototype. Update all callers.DJ Delorie2-25/+4
2002-09-21 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,Alan Modra5-35/+49
S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment. Rename "fseg" to "sym_seg". * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
2002-09-21Fix UNPREDICATABLE use of writeback in LDM/STM instructions.Nick Clifton3-6/+12
2002-09-20symbols.c (colon): Do not allow symbols to be created in the absolute sectionNick Clifton2-8/+10
if WORKING_DOT_WORD is not defined and new_broken_words would require a new frag to be created.
2002-09-20Do not allow symbols to be created in the absolute section.Nick Clifton2-1/+12
2002-09-20 * expr.c (expr): Simplify foo-foo here.Alan Modra2-31/+19
(clean_up_expression): Remove O_subtract code.
2002-09-19 * write.h (struct fix): Add fx_dot_value.Alan Modra4-1/+22
(dot_value): Declare. * write.c (dot_value): New var. (fix_new_internal): Save dot_value as fx_dot_value. * expr.c (expr): Update dot_value.
2002-09-19bfd/Jakub Jelinek7-16/+77
* reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Add. * bfd-in2.h, libbfd.h: Rebuilt. * elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_reloc_type_lookup): Handle it. (struct elf_i386_link_hash_entry): Change tls_type type to unsigned char instead of enum, change GOT_* into defines. (GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define. (elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_check_relocs): Likewise. Avoid crash if local symbol is accessed both as normal and TLS symbol. Move R_386_TLS_LDM and R_386_PLT32 cases so that R_386_TLS_IE can fall through. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if tls_type is GOT_TLS_IE_BOTH. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch all 4 GOT_TLS_* TLS types. gas/ * config/tc-i386.c (tc_i386_fix_adjustable): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 if not defined. (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. gas/testsuite/ * gas/i386/tlspic.s: Add tests. * gas/i386/tlspic.d: Regenerated. * gas/i386/tlsnopic.s: Add tests. * gas/i386/tlsnopic.d: Regenerated. include/ * elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE): Define. ld/testsuite/ * ld-i386/i386.exp: New. * ld-i386/tlsbin.dd: New test. * ld-i386/tlsbinpic.s: New test. * ld-i386/tlsbin.rd: New test. * ld-i386/tlsbin.s: New test. * ld-i386/tlsbin.sd: New test. * ld-i386/tlsbin.td: New test. * ld-i386/tlslib.s: New test. * ld-i386/tlsnopic1.s: New test. * ld-i386/tlsnopic2.s: New test. * ld-i386/tlsnopic.dd: New test. * ld-i386/tlsnopic.rd: New test. * ld-i386/tlsnopic.sd: New test. * ld-i386/tlspic1.s: New test. * ld-i386/tlspic2.s: New test. * ld-i386/tlspic.dd: New test. * ld-i386/tlspic.rd: New test. * ld-i386/tlspic.sd: New test. * ld-i386/tlspic.td: New test.
2002-09-19 * config/tc-alpha.c (md_pcrel_from): Only adjust special forRichard Henderson6-9/+66
branch type relocs. (alpha_force_relocation): Don't special-case branch type relocs. * gas/alpha/elf-reloc-7.s: New. * gas/alpha/elf-reloc-7.d: New. * gas/alpha/alpha.exp: Run it.
2002-09-19Handle situation where architecture has not yet been selected.Nick Clifton2-0/+10
2002-09-18[ gas/ChangeLog ]Chris Demetriou1-0/+1
2002-09-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. [ gas/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/baddata1.s: New file. * gas/mips/baddata1.l: New file. * gas/mips/mips.exp: Run new test.
2002-09-18[ gas/ChangeLog ]Chris Demetriou6-16/+268
2002-09-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file. (IS_SEXT_16BIT_NUM): New macro. (macro_build_ldst_constoffset): New function, to build a set of instructions to do a load or store from a constant offset relative to a given register. (macro, s_cprestore): Use macro_build_ldst_constoffset to implement .cprestore pseudo-op. [ gas/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips-abi32-pic2.s: New file. * gas/mips/mips-abi32-pic2.d: New file. * gas/mips/mips.exp: Run new test. [ plus, fixed date on prev. gas/testsuite/ChangeLog entry. ]
2002-09-18[ gas/ChangeLog ]Chris Demetriou5-0/+27
2002-09-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. [ gas/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/baddata1.s: New file. * gas/mips/baddata1.l: New file. * gas/mips/mips.exp: Run new test.
2002-09-18[ gas/testsuite/ChangeLog ]Chris Demetriou6-0/+125
2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/branch-misc-1.d: New file. * gas/mips/branch-misc-1.s: New file. * gas/mips/branch-misc-2.s: New file. * gas/mips/branch-misc-2.d: New file. * gas/mips/mips.exp: Run new tests. [ ld/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/branch-misc-1.d: New file. * ld-mips-elf/branch-misc-2.d: New file. * ld-mips-elf/mips-elf.exp: Run new tests.
2002-09-18 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.Thiemo Seufer2-8/+10
2002-09-18 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.Stan Cox2-44/+94
(macro): Likewise for la. Likewise for ld. (mips_after_parse_args): Make -xgot optional, not the default. (md_apply_fix3): Allow composite relocation to set up gp. (tc_gen_reloc): Allow relaxing for newabi. Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local. Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
2002-09-17Note that an implemented BFD_RELOC_ARM_IMMEDIATE has been done.Nick Clifton2-6/+41
Do not issue reloc number of unimplemented BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs - their name is already in the error message - plus remove them from the default case. Warn about unpredictable behavior of LDM and STM instructions.
2002-09-172002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Thiemo Seufer4-0/+17
* gas/mips/jal-range.s: Check for jal overflows. * gas/mips/jal-range.l: List file for it. * gas/mips/mips.exp: Use it.
2002-09-17 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.Alan Modra2-65/+240
Convert functions to K&R format.
2002-09-17 * config/tc-mips.c (pdr_seg): Define only for ELF.Thiemo Seufer2-4/+12
(s_change_section): Remove unused variable. Don't use for nonELF.
2002-09-17 * config/obj-elf.c (obj_elf_change_section): Move prototype toThiemo Seufer3-2/+8
obj-elf.h * config/obj-elf.h (obj_elf_change_section): Likewise.
2002-09-17 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.Richard Henderson2-0/+16
(out_debug_info): Likewise.
2002-09-172002-09-16 Bruno Haible <bruno@clisp.org>David O'Brien4-3/+25
* elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included by a target variant implementation. * elf64-alpha.c: Likewise. * elf32-i386-fbsd.c: New file. * elf64-alpha-fbsd.c: New file. * targets.c: Support bfd_elf32_i386_freebsd_vec and bfd_elf64_alpha_freebsd_vec. * configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec, bfd_elf64_alpha_freebsd_vec. * Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c. (BFD64_BACKENDS): Add elf64-alpha-fbsd.lo. (BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c. (elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies. * config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate. * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". * config/tc-i386.c (i386_target_format): Likewise. * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to elf32-i386-freebsd. * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to elf64-alpha-freebsd. Approved by: Alan Modra <amodra@bigpond.net.au> Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>