Kaz Kojima
044ad7e3d7
* elf32-sh.c (tpoff): Take alignment into account.
2004-10-28 12:00:17 +00:00
Mark Kettenis
c18c06be5e
* proc-events.c: Fix several coding-style issues. Consistently
...
use #ifdef instead of #if defined().
(proc_prettyfprint_fault, proc_prettyfprint_faultset): Use
ARRAY_SIZE.
(_initialize_proc_events): New prototype.
2004-10-28 11:45:43 +00:00
Mark Kettenis
7a9525427b
* proc-why.c: Fix several coding-style issues.
...
(proc_prettyfprint_why): Use ARRAY_SIZE.
2004-10-28 11:04:07 +00:00
Tomer Levi
f39c96a9c0
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
...
* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.
2004-10-28 10:31:14 +00:00
Tomer Levi
343cbeea1e
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.
2004-10-28 10:29:56 +00:00
Tomer Levi
49c4a1800a
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
...
* gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler).
2004-10-28 10:19:30 +00:00
Tomer Levi
3ad3f5ad1c
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
...
* config/tc-crx.c (getreg_image): Bug fix, a return value was mistakenly ommited from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
2004-10-28 10:14:46 +00:00
Nick Clifton
0d48eab68d
Fix spelling typo
2004-10-28 09:56:14 +00:00
Nick Clifton
d5cb4bb8aa
iq2000_elf_relocate_section): Do nothing when perfoming a relocatable link.
...
(iq2000_elf_object_p): Do not set elf_bad_symtab. This is only for MIPS ports
under Irix.
2004-10-28 09:53:44 +00:00
Alan Modra
e5be0a72e1
daily update
2004-10-28 00:00:10 +00:00
gdbadmin
014457d27f
*** empty log message ***
2004-10-28 00:00:02 +00:00
Paul Brook
5b5bb74101
2004-10-27 Richard Earnshaw <rearnsha@arm.com>
...
bfd/
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle
R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24.
(elf32_arm_final_link_relocate): Ditto.
(arm_add_to_rel, elf32_arm_relocate_section): Ditto.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto
(elf32_arm_adjust_dynamic_symbol): Ditto.
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and
R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}...
(elf32_arm_r_howto): ... To here.
(elf32_arm_howto_from_type): Use elf32_arm_r_howto.
include/
* elf/arm.h: Add R_ARM_CALL and R_ARM_JUMP32.
2004-10-27 20:48:22 +00:00
Jim Blandy
fcad0fa40f
* remote.c (fetch_register_using_p): Construct 'p' packet in a
...
manner independent of the host byte order.
2004-10-27 20:03:50 +00:00
Mark Kettenis
c163184fa2
* mips-tdep.c (id_delayed): Remove prototype.
2004-10-27 19:50:24 +00:00
Andrew Cagney
1ca6491a29
2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
Committed by Andrew Cagney.
* traps-linux.c: Don't include linux/module.h.
(m32r_trap): Remove dummy systemcall's entry of __NR_ustat and
__NR_get_kernel_syms.
2004-10-27 17:19:02 +00:00
Nick Clifton
7a5df8d098
emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter to
...
invocation of lang_section_start.
emultempl/aix.em (_handle_option): Likewise.
Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, eelf64alpha_nbsd.c): Add
dependency upon emultempl/alphaelf.em.
Makefile.in: Regenerate.
2004-10-27 15:53:21 +00:00
Tomer Levi
902143eff6
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.
* gas/crx/cop_insn.d: Regenerate.
* gas/crx/list_insn.d: Likewise.
2004-10-27 10:34:24 +00:00
Tomer Levi
3da4500a06
* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
2004-10-27 10:32:51 +00:00
Tomer Levi
0be469faab
* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.
2004-10-27 10:32:30 +00:00
Tomer Levi
c815a6163a
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* config/tc-crx.c: Remove global variable 'post_inc_mode'.
(get_flags): New function.
(get_number_of_bits): Edit comments, update numeric values to supported sizes.
(process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
(getreg_image): Remove redundant code, update according to latest CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
(assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.
2004-10-27 10:31:39 +00:00
Tomer Levi
9bb1ebc211
* config/tc-crx.c: Remove global variable 'post_inc_mode'.
...
(get_flags): New function.
(get_number_of_bits): Edit comments, update numeric values to supported sizes.
(process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
(getreg_image): Remove redundant code, update according to latest CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
(assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.
2004-10-27 10:28:22 +00:00
Tomer Levi
812337be05
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
(getregliststring): Support HI/LO and user registers.
* crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file.
(crx_regtab): Likewise.
(crx_optab): Likewise.
(crx_instruction): Reorder load/stor instructions, remove unsupported formats.
support new Co-Processor instruction 'cpi'.
2004-10-27 10:27:00 +00:00
Tomer Levi
ec20305230
* crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file.
...
(crx_regtab): Likewise.
(crx_optab): Likewise.
(crx_instruction): Reorder load/stor instructions, remove unsupported formats.
support new Co-Processor instruction 'cpi'.
2004-10-27 10:24:39 +00:00
Tomer Levi
a58a37627f
* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
...
(getregliststring): Support HI/LO and user registers.
2004-10-27 10:24:01 +00:00
Tomer Levi
9268a8d21a
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* opcode/crx.h (enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
(enum operand_type): Rearrange operands, edit comments.
replace us<N> with ui<N> for unsigned immediate.
replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively).
replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
(instruction type): Add NO_TYPE_INS.
(instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
(operand_entry): New field - 'flags'.
(operand flags): New.
2004-10-27 10:22:56 +00:00
Tomer Levi
5531e44c20
(enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
...
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
(enum operand_type): Rearrange operands, edit comments.
replace us<N> with ui<N> for unsigned immediate.
replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively).
replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
(instruction type): Add NO_TYPE_INS.
(instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
(operand_entry): New field - 'flags'.
(operand flags): New.
2004-10-27 10:17:39 +00:00
Nick Clifton
4030fa5ade
Add an index operand to some of the iq2000 co-processor instructions
2004-10-27 09:30:09 +00:00
Mark Mitchell
6f372e19e7
* emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
...
__exidx_{start,end} when not relocating.
2004-10-27 06:57:43 +00:00
H.J. Lu
97ecf3226d
2004-10-26 H.J. Lu <hongjiu.lu@intel.com>
...
PR 475
* elfxx-ia64.c (elfNN_ia64_relocate_section): Correct
R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB
and R_IA64_SECREL64LSB.
2004-10-27 00:46:05 +00:00
gdbadmin
f9dd442b25
*** empty log message ***
2004-10-27 00:00:33 +00:00
Alan Modra
6cb7e1ce46
daily update
2004-10-27 00:00:06 +00:00
Paul Brook
0c6616e1ae
Missed from previous commit.
...
ld/testsuite/
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.
2004-10-26 21:00:23 +00:00
Aaron W. LaFramboise
caeba88f70
* configure.in (case ${target}): Do not build fixincludes
...
on platforms where it is not used.
* configure: Regenerated.
----------------------------------------------------------------------
2004-10-26 20:39:00 +00:00
Mark Kettenis
9c46b6f006
* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,
...
MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM
to enum with register numbers.
(enum mips_insn_size): New enum.
2004-10-26 19:40:39 +00:00
Mark Mitchell
ba916c8af2
* Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
...
* ldexp.h (segment_type): New type.
(segments): New variable.
* ldexp.c (segments): New variable.
(exp_print_token): Handle SEGMENT_START.
(fold_binary): Likewise.
* ldgram.y (SEGMENT_START): Declare it as a token.
(exp): Handle SEGMENT_START.
* ldlang.h (lang_address_statement_type): Add segment field.
(lang_section_start): Change prototype.
* ldlang.c (map_input_to_output_sections): Do not process section
assignments if a corresponding SEGMENT_START has already been
seen.
(lang_section_start): Add segment parameter.
* ldlex.l (SEGMENT_START): Add it.
* lexsup.c (seg_segment_start): New function.
(parse_args): Use it for -Tbss, -Tdata, and -Ttext.
* ld.texinfo (SEGMENT_START): Document it.
* emulparams/armsymbian.sh (EMBEDDED): Set it.
* scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
base addresses. Do not map relocations.
* NEWS: Mention SEGMENT_START.
2004-10-26 18:41:52 +00:00
Nick Clifton
1ec5cd3721
readelf.c (get_note_type): Handle notes not in core files.
...
(process_note_sections): New function.
(process_corefile_contents): Rename to ...
(process_notes): ... this.
(process_object): Call process_notes, not process_corefile_contents.
doc/binutils.texi: Update readelf -n documentation.
2004-10-26 16:05:42 +00:00
Andrew Cagney
e7d6a6d283
2004-10-26 Andrew Cagney <cagney@gnu.org>
...
* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE.
* mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub.
(mips_gdbarch_init): Update.
(mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
2004-10-26 14:44:00 +00:00
Andrew Cagney
c5115f39aa
2004-10-26 Andrew Cagney <cagney@gnu.org>
...
* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
* config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
IN_SOLIB_RETURN_TRAMPOLINE.
* mips-tdep.c (mips_dump_tdep): Do not print
IN_SOLIB_RETURN_TRAMPOLINE.
(mips_in_solib_return_trampoline): Rename mips_in_return_stub.
(mips_gdbarch_init): Update.
2004-10-26 14:24:38 +00:00
Andrew Cagney
0d0266c631
2004-10-26 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.h (mips_software_single_step): Move to here ...
* config/mips/tm-mips.h: ... from here.
* config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P)
(SOFTWARE_SINGLE_STEP): Delete.
* mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
2004-10-26 14:13:24 +00:00
Paul Brook
3e3b46e5c8
bfd/
...
* elflink.c (elf_finalize_dynstr): Skip shared aux structure.
(bfd_elf_size_dynamic_sections): Create default version definition.
(elf_link_output_extsym): Adjust for default symbol version.
include/
* bfdlink.h (struct bfd_link_info): Add create_default_symver.
ld/
* ld.texinfo: Document --default-symver.
* ldmain.c (main): Set link_info.create_default_symver.
* lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
(ld_options): Add default-symver.
(parse_args): Handle OPTION_DEFAULT_SYMVER.
ld/testsuite/
* ld-elfvers/vers.exp (build_binary): Add ldargs parameter.
(build_vers_lib_pic_flags): New function.
Add vers29 test.
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.
2004-10-26 13:46:05 +00:00
Jakub Jelinek
b3f21e4a58
* ar.c (extract_file): Set atime to mtime for ar xo.
2004-10-26 08:08:21 +00:00
Nick Clifton
fcf640ecb2
(sim_run): Add support for the "rawsid" protocol.
2004-10-26 08:07:59 +00:00
Alan Modra
1c24292617
daily update
2004-10-26 00:00:06 +00:00
gdbadmin
afa8f99d0b
*** empty log message ***
2004-10-26 00:00:02 +00:00
Andrew Cagney
156a53caf0
2004-10-25 Andrew Cagney <cagney@gnu.org>
...
* NEWS: Add Changes since GDB 6.3 section.
2004-10-25 18:50:09 +00:00
H.J. Lu
ed7af9f9c1
2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
...
* config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
in an epilogue directive go negative.
2004-10-25 15:47:52 +00:00
H.J. Lu
ac025970cb
2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
...
PR 474
* config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
after reporting template error during manual bundling. Reported
by Michael Dupont, michaelx.dupont@intel.com .
2004-10-25 15:32:18 +00:00
Ian Lance Taylor
2b4c4cc415
* stabs.c (stab_demangle_v3_arglist): New static function, broken
...
out of stab_demangle_v3_argtypes.
(stab_demangle_v3_argtypes): Call it.
(stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
If we find an unrecognized component, print out its number.
2004-10-25 15:25:20 +00:00
H.J. Lu
1ffa9a1825
2004-10-25 David Mosberger <davidm@hpl.hp.com>
...
* readelf.c (slurp_ia64_unwind_table): Support relocations against
non-section symbols by adding in the symbol value.
2004-10-25 15:24:25 +00:00
Nick Clifton
a394c00fe6
Add ARM CFI support
2004-10-25 12:26:04 +00:00