aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-10-262005-10-26 Paul Brook <paul@codesourcery.com>Paul Brook6-4/+16
gas/ * config/tc-arm.c (insns): Correct "sel" entry. gas/testsuite/ * gas/arm/archv6.d: Adjust expected output. opcodes/ * arm-dis.c (arm_opcodes): Correct "sel" entry.
2005-10-26gas/Jan Beulich11-34/+179
2005-10-26 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (i386_operand): Don't check register prefix here. (parse_real_register): Rename from parse_register. (parse_register): New. (i386_parse_name): New. (md_operand): New. (intel_e11): Don't tolerate registers in offset expressions anymore. (intel_get_token): Don't check register prefix here. Copy the actual register token, not the canonical register name. * config/tc-i386.h (md_operand): Delete. (i386_parse_name): Declare. (md_parse_name): Define. gas/testsuite/ 2005-10-26 Jan Beulich <jbeulich@novell.com> * gas/i386/intel.s: Replace register used in offset expression. * gas/i386/intel.e: Adjust. * gas/i386/intelbad.l: Adjust. * gas/i386/equ.[sed]: New. * gas/i386/i386.exp: Run new test.
2005-10-26 * cache.c (bfd_cache_lookup_worker): Don't abort on failing toAlan Modra6-12/+54
reopen file. (cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on bfd_cache_lookup failure. (cache_bread, cache_bwrite): Return 0 on the same. * bfdwin.c (bfd_get_file_window): Likewise. * hppabsd-core.c (hppabsd_core_core_file_p): Likewise. * sco5-core.c (sco5_core_file_p): Likewise. * trad-core.c (trad_unix_core_file_p): Likewise.
2005-10-26 * ld-elf/empty2.d: Allow more symbols.Alan Modra2-0/+5
2005-10-26 * m32r.opc (parse_hi16): Do not assume a 32-bit host word size.Alan Modra4-4/+20
2005-10-26 * cache.c (bfd_cache_lookup_worker): Use bfd_error_handlerAlan Modra2-1/+8
rather than bfd_perror. Print file name. Internationalise.
2005-10-26 * cache.c (bfd_open_file): Set bfd_error_system_call on failureAlan Modra2-8/+20
to open file. (bfd_cache_lookup_worker): Remove check that file pos is in unsigned long range. Print system error before aborting.
2005-10-26 * ld-mmix/bpo-6.d, ld-mmix/bpo-19.d: Adjust for symbols betweenHans-Peter Nilsson3-0/+7
section symbols and the _start symbol.
2005-10-26 * gas/z80/z80.exp: Fix misplaced-open-brace typo.Hans-Peter Nilsson2-2/+5
2005-10-26daily updateAlan Modra1-1/+1
2005-10-26*** empty log message ***gdbadmin1-1/+1
2005-10-25* m32c.cpu (add16-bQ-sp,add16-wQ-sp): Fix to allow either width byDJ Delorie10-260/+246
making one a macro of the other. * m32c-asm.c: Regenerate. * m32c-desc.c: Regenerate. * m32c-desc.h: Regenerate. * m32c-dis.c: Regenerate. * m32c-ibld.c: Regenerate. * m32c-opc.c: Regenerate. * m32c-opc.h: Regenerate.
2005-10-25oops - omitted from previous deltaNick Clifton2-0/+5
2005-10-25Add support for the Z80 processor familyNick Clifton59-15/+3927
2005-10-25 PR ld/1540Alan Modra20-345/+319
* elf-bfd.h (elf_backend_copy_indirect_symbol): Replace pointer to elf_backend_data with pointer to bfd_link_info. (_bfd_elf_link_hash_copy_indirect): Likewise. * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Handle direct and indirect symbols both having dynamic link info. * elf32-arm.c (elf32_arm_copy_indirect_symbol): Likewise. * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf32-m32r.c (m32r_elf_copy_indirect_symbol): Likewise. * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_copy_indirect_symbol): Likewise. * elflink.c: Adjust all calls to bed->elf_backend_copy_indirect_symbol. * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Update prototype. * elfxx-sparc.h (_bfd_sparc_elf_copy_indirect_symbol): Likewise.
2005-10-252005-10-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+6
* write.c (adjust_reloc_syms): Undo the change made on 2005-04-26 to allow local symbol set to undefined symbol.
2005-10-25 * regformats/reg-ia64.dat: Remove NAT registers.Andreas Schwab5-148/+14
gdbserver: * server.c (main): Allocate mem_buf with PBUFSIZ bytes. * linux-ia64-low.c (ia64_regmap): Remove NAT registers. (ia64_num_regs): Reduce to 462.
2005-10-252005-10-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-5/+10
* Makefile.am (bfin-parse.tab.h): Removed. (bfin-parse.h): Added. * Makefile.in: Regenerated.
2005-10-25RegenerateAlan Modra16-4560/+4350
2005-10-25*** empty log message ***gdbadmin1-1/+1
2005-10-25daily updateAlan Modra1-1/+1
2005-10-24 * ld.texinfo (--reduce-memory-overheads): Fix typo.Alan Modra2-1/+5
2005-10-24 * ld-elf/orphan.d: Adjust for mips.Alan Modra2-2/+6
2005-10-24 * gas/bfin/flow2.d: Match changed assembler behaviour.Bernd Schmidt3-11/+10
* gas/bfin/reloc.d: Likewise.
2005-10-24 * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,Bernd Schmidt3-0/+24
make a single reloc with an offset rather than a stack. * config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
2005-10-24Add self as Blackfin maintainer.Bernd Schmidt2-0/+5
2005-10-24gas/ChangeLog:Alexandre Oliva21-30/+1028
* read.c (potable): Add weakref. (s_weakref): New. * read.h (s_weakref): Declare. * struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd. * symbols.c (colon): Clear weakrefr. (symbol_find_exact): Rename to, and reimplement in terms of... (symbol_find_exact_noref): ... new function. (symbol_find): Likewise... (symbol_find_noref): ... ditto. (resolve_symbol_value): Resolve weakrefr without setting their values. (S_SET_WEAK): Call hook. (S_GET_VALUE): Follow weakref link. (S_SET_VALUE): Clear weakrefr. (S_IS_WEAK): Follow weakref link. (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New. (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New. (symbol_set_value_expression, symbol_set_frag): Clear weakrefr. (symbol_mark_used): Follow weakref link. (print_symbol_value_1): Print weak, weakrefr and weakrefd. * symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare. (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare. (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare. * write.c (adust_reloc_syms): Follow weakref link. Do not complain if target is undefined. (write_object_file): Likewise. Remove weakrefr symbols. Drop unreferenced weakrefd symbols. * config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD symbols EXTERNAL. (pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New. * config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define. * doc/as.texinfo: Document weakref. * doc/internals.texi: Document new struct members, internal functions and hooks. gas/testsuite/ChangeLog: * gas/all/weakref1.s, gas/all/weakref1.d: New test. * gas/all/weakref1g.d, gas/all/weakref1l.d: New tests. * gas/all/weakref1u.d, gas/all/weakref1w.d: New tests. * gas/all/weakref2.s, gas/all/weakref3.s: New tests. * gas/all/gas.exp: Run new tests.
2005-10-24bfd/Jie Zhang7-14/+26
* elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness warning. gas/ * Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h. (EXTRA_DIST): Add bfin-parse.h and bfin-lex.c. * Makefile.in: Regenerate. * config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h. * config/tc-bfin.c (md_chars_to_number): Change the type of first argument from unsigned char * to char * to remove signedness warnings.
2005-10-24 * elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.Jie Zhang2-96/+112
(bfin_imm16_reloc): Always add in the addend. Don't fetch existing contents from section. (bfin_relocate_section): Rework so as to not call special_functions. Handle the relocation stack here. Treat pcrel24 relocs specially.
2005-10-24 * elflink.c (elf_link_input_bfd): Don't use linker_mark andAlan Modra3-21/+22
SEC_EXCLUDE to test for sections dropped from output. Instead, use bfd_section_removed_from_list on normal sections. Don't attempt to handle symbols with unknown reserved section indices. * linker.c (_bfd_generic_link_output_symbols): Don't use linker_mark to test for symbols belonging to dropped sections. Do allow absolute symbols.
2005-10-24 * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE onAlan Modra2-1/+6
group sections.
2005-10-24ld/testsuite/Jan Beulich3-0/+33
2005-10-24 Jan Beulich <jbeulich@novell.com> * ld-elf/empty2.[sd]: New.
2005-10-24include/opcode/Jan Beulich14-105/+274
2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64.h (enum ia64_opnd): Move memory operand out of set of indirect operands. bfd/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of set of indirect operands. gas/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM. (dot_rot): Change type of num_* variables. Check for positive count. (ia64_optimize_expr): Re-structure. (md_operand): Check for general register. gas/testsuite/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * gas/ia64/index.[sl]: New. * gas/ia64/rotX.[sl]: New. * gas/ia64/ia64.exp: Run new tests. opcodes/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64-asmtab.c: Regenerate.
2005-10-24gas/Jan Beulich6-27/+30
2005-10-24 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (declare_register): Call symbol_create. (md_begin): Remove local variables total, ar_base, and cr_base. Start loops for registers at their respective first one. Don't update md.regsym for alias names. Generate alias name tp for r13. gas/testsuite/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * gas/ia64/regs.pl: Also check tp alias of r13. * gas/ia64/regs.s: Regenerate. * gas/ia64/regs.d: Adjust.
2005-10-24 * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE onAlan Modra2-1/+6
group sections.
2005-10-242005-10-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+13
* coff-rs6000.c (rs6000coff_vec): Initialize _bfd_init_private_section_data with _bfd_generic_init_private_section_data. (pmac_xcoff_vec): Likewise. * coff64-rs6000.c (rs6000coff64_vec): Likewise. (aix5coff64_vec): Likewise.
2005-10-24bfd/H.J. Lu13-125/+185
2005-10-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/1487 * elf-bfd.h (_bfd_generic_init_private_section_data): New. (_bfd_elf_init_private_section_data): New. * elf.c (elf_fake_sections): Don't set SHF_GROUP for relocatable link. (bfd_elf_set_group_contents): Don't handle relocatable link specially. (assign_section_numbers): If it isn't called by assembler, use the output section of elf_linked_to_section for SHF_LINK_ORDER. (_bfd_elf_init_private_section_data): New. (_bfd_elf_copy_private_section_data): Call it. * libbfd-in.h (_bfd_generic_init_private_section_data): New. * libbfd.c (_bfd_generic_init_private_section_data): New. * targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_generic_init_private_section_data. (bfd_init_private_section_data): Likewise. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. ld/ 2005-10-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/1487 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call bfd_match_sections_by_type to match section types. * ldlang.c (init_os): Take the input section. Call bfd_init_private_section_data if the input section isn't NULL. (exp_init_os): Pass NULL to init_os. (map_input_to_output_sections): Likewise. (lang_add_section): Pass the input section to init_os. ld/testsuite/ 2005-10-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/1487 * ld-ia64/tlspic.rd: Updated.
2005-10-24daily updateAlan Modra1-1/+1
2005-10-24*** empty log message ***gdbadmin1-1/+1
2005-10-23 * elf64-ppc.c (dec_dynrel_count): Don't report errors for localAlan Modra2-8/+42
syms in gc'd sections. (ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS. (elf_backend_action_discarded): Define. (ppc64_elf_action_discarded): New function.
2005-10-23*** empty log message ***gdbadmin1-1/+1
2005-10-23daily updateAlan Modra1-1/+1
2005-10-22* rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.Mark Kettenis2-8/+5
(rs6000_info_powerpc_command): Remove function.
2005-10-222005-10-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-31/+83
PR bootstrap/24297 * Makefile.tpl (do-[+make-target+], do-check, install, stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s are set before recursing. * Makefile.in: Regenerate.
2005-10-22* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. PrintDJ Delorie2-3/+24
names unstead of numbers.
2005-10-22[cpu]DJ Delorie10-699/+1597
* m32c.cpu (lde, ste): Add dsp[a0] and [a1a] addressing. (indexb, indexbd, indexbs, indexw, indexwd, indexws, indexl, indexld, indexls): .w variants have `1' bit. (rot32.b): QI, not SI. (rot32.w): HI, not SI. (xchg16): HI for .w variant. [opcodes] * m32c-asm.c: Regenerate. * m32c-desc.c: Regenerate. * m32c-desc.h: Regenerate. * m32c-dis.c: Regenerate. * m32c-ibld.c: Regenerate. * m32c-opc.c: Regenerate. * m32c-opc.h: Regenerate.
2005-10-22daily updateAlan Modra1-1/+1
2005-10-22*** empty log message ***gdbadmin1-1/+1
2005-10-21Fix typoMark Mitchell1-1/+1
2005-10-21 * texi2pod.pl: Substitue for @value even when part of @include.Mark Mitchell2-3/+8