Alan Modra
b0b76dfd36
daily update
2009-08-10 00:00:06 +00:00
Bernd Schmidt
cb88ce9fd1
bfd/
...
From Mike Frysinger <michael.frysinger@analog.com>
* elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs,
bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook,
_bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section,
bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs,
bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs):
Adjust to match the renamed reloc definitions.
gas/testsuite/
From Mike Frysinger <michael.frysinger@analog.com>
* gas/bfin/reloc.d: Adjust for the renamed relocations.
include/elf/
From Mike Frysinger <michael.frysinger@analog.com>
* bfin.h (R_BFIN_UNUSED, R_BFIN_PCREL5M2, R_BFIN_UNUSED1,
R_BFIN_PCREL10, R_BFIN_PCREL12_JUMP, R_BFIN_RIMM16,
R_BFIN_LUIMM16, R_BFIN_HUIMM16, R_BFIN_PCREL12_JUMP_S,
R_BFIN_PCREL24_JUMP_X, R_BFIN_PCREL24, R_BFIN_UNUSEDB,
R_BFIN_UNUSEDC, R_BFIN_PCREL24_JUMP_L, R_BFIN_PCREL24_CALL_X,
R_BFIN_VAR_EQ_SYMB, R_BFIN_BYTE_DATA, R_BFIN_BYTE2_DATA,
R_BFIN_BYTE4_DATA, R_BFIN_PCREL11, R_BFIN_PUSH, R_BFIN_CONST,
R_BFIN_ADD, R_BFIN_SUB, R_BFIN_MULT, R_BFIN_DIV, R_BFIN_MOD,
R_BFIN_LSHIFT, R_BFIN_RSHIFT, R_BFIN_AND, R_BFIN_OR, R_BFIN_XOR,
R_BFIN_LAND, R_BFIN_LOR, R_BFIN_LEN, R_BFIN_NEG, R_BFIN_COMP,
R_BFIN_PAGE, R_BFIN_HWPAGE, R_BFIN_ADDR, R_BFIN_PLTPLC,
R_BFIN_GOT, R_BFIN_MAX): Renamed from R_unused0, R_pcrel5ms,
R_unused1, R_pcrel10, R_pcrel12_jump, R_rimm16, R_luimm16,
R_huimm16, R_pcrel12_jump_s, R_pcrel24_jump_x, R_pcrel24,
R_unusedb, R_unusedc, R_pcrel24_jump_l, R_pcrel24_call_x,
R_var_eq_symb, R_byte_data, R_byte2_data, R_byte4_data, R_pcrel11,
R_push, R_const, R_add, R_sub, R_mult, R_div, R_mod, R_lshift,
R_rshift, R_and, R_or, R_xor, R_land, R_lor, R_len, R_neg, R_comp,
R_page, R_hwpage, R_addr, R_pltpc, R_got.
2009-08-09 16:45:05 +00:00
Michael Eager
44db4087da
Add EM_resnnn, new EM_ entries, change EM_MICROBLAZE.
2009-08-09 13:42:26 +00:00
gdbadmin
08ab23f3fc
*** empty log message ***
2009-08-09 00:00:33 +00:00
Alan Modra
c21f905443
daily update
2009-08-09 00:00:05 +00:00
Pedro Alves
891e75843a
* bfd-target.c (struct target_bfd_data): New.
...
(target_bfd_xfer_partial): Adjust to get at the section table from
the new structure.
(target_bfd_get_section_table): Ditto.
(target_bfd_xclose): Ditto. Get the bfd pointer from the
target_bfd_data structure, from the section table.
(target_bfd_reopen): Store a struct target_bfd_data in the
target_ops to_data field, instead of a target_section_table.
2009-08-08 16:32:37 +00:00
Hui Zhu
280d8011ec
2009-08-08 Aleksandar Ristovski <aristovski@qnx.com>
...
Hui Zhu <teawater@gmail.com>
* record.c (record_store_registers): Remove unused variable.
2009-08-08 01:57:44 +00:00
Alan Modra
e7e75368a3
PR 10494
...
* elf.c (_bfd_elf_make_section_from_shdr): When setting up section
LMAs, use ELF_IS_SECTION_IN_SEGMENT to match sections with headers.
2009-08-08 01:43:28 +00:00
gdbadmin
93da6da6f9
*** empty log message ***
2009-08-08 00:00:34 +00:00
Alan Modra
95a1256c6a
daily update
2009-08-08 00:00:06 +00:00
Tom Tromey
bda180e011
gdb
...
* language.c (set_language_command): Strip whitespace.
(set_type_command): Likewise.
(set_range_command): Likewise.
gdb/testsuite
* gdb.base/setshow.exp: Add tests for changes to set language, set
check range, and set check type.
2009-08-07 23:28:13 +00:00
Tom Tromey
6cc0b2563e
PR gdb/8869:
...
* language.c (language_completer): New function.
(range_or_type_completer): New function.
(case_completer): New function.
(_initialize_language): Set completers.
* cli/cli-decode.c (add_setshow_string_cmd): Return the "set"
command.
(add_setshow_string_noescape_cmd): Likewise.
(add_setshow_integer_cmd): Likewise.
(add_setshow_uinteger_cmd): Likewise.
(add_setshow_zinteger_cmd): Likewise.
(add_setshow_zuinteger_cmd): Likewise.
* command.h (add_setshow_string_cmd,
add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd,
add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.
2009-08-07 20:44:15 +00:00
Daniel Jacobowitz
cf2a6cfab6
binutils/testsuite/
...
* binutils-all/testranges.s: Use %progbits. Use ";#" for comments.
2009-08-07 19:32:06 +00:00
Daniel Jacobowitz
940b5ce099
gas/
...
* config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
variables.
(mapping_state): Use the section's mapstate.
(mapping_state_2): Likewise. Skip special sections.
(s_arm_unwind_fnend): Use the section's marked_pr_dependency.
(arm_elf_change_section): Do not set deleted globals.
* config/tc-arm.h (struct arm_segment_info_type): Document
marked_pr_dependency.
gas/testsuite/
* gas/arm/mapping2.s: Test code after .ident.
2009-08-07 19:30:31 +00:00
Sriraman Tallam
ddd3c53c3d
*** empty log message ***
2009-08-07 18:48:44 +00:00
Sriraman Tallam
2772106215
*** empty log message ***
2009-08-07 18:29:54 +00:00
Tom Tromey
918d974241
* elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict
...
aliasing error.
2009-08-07 17:10:43 +00:00
Michael Eager
caa03924aa
Mention MicroBlaze.
2009-08-07 12:12:52 +00:00
Alan Modra
d31eb57c18
missed from last commit
2009-08-07 06:26:33 +00:00
gdbadmin
88cd6f5e2a
*** empty log message ***
2009-08-07 00:00:33 +00:00
Alan Modra
ac2b810bbb
daily update
2009-08-07 00:00:05 +00:00
Paul Pluzhnikov
e5af178fbf
2009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
...
gold/10400
* dwarf2-frame.c (qsort_fde_cmp): Use stable sort.
2009-08-06 23:25:49 +00:00
Paul Pluzhnikov
b01c84103b
2009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* dwarf2-frame.c (struct dwarf2_cie): Remove 'next'.
(struct dwarf2_cie_table): New.
(struct dwarf2_fde): Remove 'next'.
(struct dwarf2_fde_table): New.
(struct comp_unit): Remove 'cie'.
(bsearch_cie_cmp, bsearch_fde_cmp): New function.
(find_cie, dwarf2_frame_find_fde): Use bsearch.
(add_cie, add_fde): Use array instead of linked list.
(decode_frame_entry, decode_frame_entry_1): New parameters.
(qsort_fde_cmp): New function.
(dwarf2_build_frame_info): Adjust.
2009-08-06 23:19:47 +00:00
Nick Roberts
d837706a7c
(Server Prefix): Explain that server prefix suppresses
...
confirmation request.
2009-08-06 23:08:16 +00:00
Nick Roberts
43089a6e06
*** empty log message ***
2009-08-06 23:06:54 +00:00
Nick Clifton
25a07265bd
* configure.ac: Add Microblaze target.
...
* configure: Regenerate.
2009-08-06 17:46:43 +00:00
Nick Clifton
7ba29e2a41
Add support for Xilinx MicroBlaze processor.
...
* bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
* bfd/Makefile.in: Same.
* bfd/archures.c: Add bfd_arch_microblaze.
* bfd/bfd-in2.h: Regenerate.
* bfd/config.bfd: Add microblaze target.
* bfd/configure: Add bfd_elf32_microblaze_vec target.
* bfd/configure.in: Same.
* bfd/cpu-microblaze.c: New.
* bfd/elf32-microblaze.c: New.
* bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
* bfd/libbfd.h: Regenerate.
* bfd/reloc.c: Add MICROBLAZE relocations.
* bfd/section.c: Add struct relax_table and relax_count to section.
* bfd/targets.c: Add bfd_elf32_microblaze_vec.
* binutils/MAINTAINERS: Add self as maintainer.
* binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE &
EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(),
get_machine_name().
* config.sub: Add microblaze target.
* configure: Same.
* configure.ac: Same.
* gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
DEP_microblaze_elf target.
* gas/Makefile.in: Same.
* gas/config/tc-microblaze.c: Add MicroBlaze assembler.
* gas/config/tc-microblaze.h: Add header for tc-microblaze.c.
* gas/configure: Add microblaze target.
* gas/configure.in: Same.
* gas/configure.tgt: Same.
* gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
* gas/doc/Makefile.in: Same.
* gas/doc/all.texi: Set MICROBLAZE.
* gas/doc/as.texinfo: Add MicroBlaze doc links.
* gas/doc/c-microblaze.texi: New MicroBlaze docs.
* include/dis-asm.h: Decl print_insn_microblaze().
* include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
* include/elf/microblaze.h: New reloc definitions.
* ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
ALL_EMULATIONS, targets.
* ld/Makefile.in: Same.
* ld/configure.tgt: Add microblaze*-linux*, microblaze* targets.
* ld/emulparams/elf32mb_linux.sh: New.
* ld/emulparams/elf32microblaze.sh. New.
* ld/scripttempl/elfmicroblaze.sc: New.
* opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
* opcodes/Makefile.in: Same.
* opcodes/configure: Add bfd_microblaze_arch target.
* opcodes/configure.in: Same.
* opcodes/disassemble.c: Define ARCH_microblaze, return
print_insn_microblaze().
* opcodes/microblaze-dis.c: New MicroBlaze disassembler.
* opcodes/microblaze-opc.h: New MicroBlaze opcode definitions.
* opcodes/microblaze-opcm.h: New MicroBlaze opcode types.
2009-08-06 17:38:04 +00:00
H.J. Lu
9961db38d4
Correct date.
2009-08-06 16:23:30 +00:00
H.J. Lu
9c04f6ba66
2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/10492
* binutils-all/objcopy.exp: Run strip-10.
* binutils-all/strip-10.d: New.
* binutils-all/unique.s: Likewise.
2009-08-06 16:22:36 +00:00
Jakub Jelinek
e47bf6909e
PR binutils/10492
...
* elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE
symbols.
* elf32-mips.c (mips_elf_sym_is_global): Likewise.
* elfn32-mips.c (mips_elf_sym_is_global): Likewise.
2009-08-06 13:08:24 +00:00
Nathan Sidwell
3ae046ccd3
bfd/
...
* elf32-arm.c (elf32_arm_size_stubs): Call layout_sections_again
at least once when fixing cortex-a8.
ld/testsuite/
* ld-arm/arm-elf.exp: Add new test.
* ld-arm/cortex-a8-fix-hdr.d: New.
* ld-arm/cortex-a8-fix-hdr.s: New.
* ld-arm/cortex-a8-fix-hdr.t: New.
2009-08-06 13:05:24 +00:00
Don Lee
5f814c3b3f
* score-tdep.c: Support a new Sunplus CT S+core variant, S+core 3.
...
* score-tdep.h: Ditto.
* NEWS: Ditto.
* configure.tgt: Test do we have a simulator.
* MAINTAINERS: Add myself under target score
2009-08-06 10:28:38 +00:00
Nick Clifton
c877a2f277
* config/tc-arm.c (md_assemble): Call mapping_state from inside a
...
block in case it is a null macro.
2009-08-06 10:10:50 +00:00
Nick Roberts
a502cf95fe
(defaulted_query): Don't ask for confirmation if server
...
prefix is used.
2009-08-06 08:19:58 +00:00
Nick Roberts
78ad01c15f
*** empty log message ***
2009-08-06 08:11:22 +00:00
Alan Modra
3197491598
daily update
2009-08-06 00:00:05 +00:00
gdbadmin
8dfc33311a
*** empty log message ***
2009-08-06 00:00:03 +00:00
Chao-ying Fu
da57d33ec2
2009-08-05 Chao-ying Fu <fu@mips.com>
...
* gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d,
gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr.
2009-08-05 21:24:21 +00:00
Chao-ying Fu
b12dd2e413
2009-08-05 Chao-ying Fu <fu@mips.com>
...
* config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
true for new abi. For non-IRIX targets, it is always true.
(macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
2009-08-05 21:22:15 +00:00
Chao-ying Fu
cd8d5a82a2
2009-08-05 Chao-ying Fu <fu@mips.com>
...
* elf32-mips.c (mips_reloc_map): Add BFD_RELOC_MIPS_JALR.
* elfxx-mips.c (JAL_TO_BAL_P): New define to transform JAL to BAL
for CPUs. It is true for RM9000.
(JALR_TO_BAL_P): New define to transform JALR to BAL. It is true
for all CPUs.
(mips_elf_perform_relocation): Use JAL_TO_BAL_P and JALR_TO_BAL_P
to guard the transformation.
2009-08-05 21:17:51 +00:00
Sriraman Tallam
ef15dade89
*** empty log message ***
2009-08-05 20:51:56 +00:00
Trevor Smigiel
9cc305ec20
bfd/
...
* elf32-spu.h (spu_elf_params): Add member emit_fixups.
(spu_elf_size_sections): Declare prototype.
* elf32-spu.c (spu_link_hash_table): Add member sfixup.
(FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros.
(spu_elf_emit_fixup): New function.
(spu_elf_relocate_section): Emit fixup for each SPU_ADDR32.
(spu_elf_size_sections): New function.
ld/
* emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
section and __fixup_start symbol.
* emultempl/spuelf.em (params): Initialize emit_fixups member.
(spu_before_allocation): Call spu_elf_size_sections.
(OPTION_SPU_EMIT_FIXUPS): Define.
(PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
(PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
* ld.texinfo (--emit-fixups): Document.
ld/testsuite/
* ld-spu/fixup.d: New.
* ld-spu/fixup.s: New.
2009-08-05 20:40:34 +00:00
Eli Zaretskii
99e008fef7
* gdb.texinfo (Separate Debug Files, Remote Protocol): Clarified
...
CRC definitions.
2009-08-05 17:47:09 +00:00
Tom Tromey
768f092942
* spu-tdep.h (SPUADDR_SPU): Cast result to int.
2009-08-05 15:11:45 +00:00
Eric B. Weddington
8453da2e57
/gas:
...
2009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
attiny861a, atmega644pa, attiny24a, attiny44a.
* doc/c-avr.texi: Likewise.
2009-08-05 12:47:33 +00:00
Nathan Sidwell
eb7c4339fa
bfd/
...
* elf32-arm.c (elf32_arm_stub_type): Add arm_stub_a8_veneer_lwm.
(arm_build_one_stub): Build a8 veneers as a separate pass.
(cortex_a8_erratum_scan): Add prev_num_a8_fixes and stub_changed_p
parameters. Use them to check if we create a different a8 fixup
than the previous pass.
(elf32_arm_size_stubs): Move scope of stub_changed and
prev_num_a8_fixes into main loop.
(elf32_arm_build_stubs): Build a8 veneers in a second pass.
ld/testsuite/
* ld-arm/cortex-a8-far-1.s: New.
* ld-arm/cortex-a8-far-2.s: New.
* ld-arm/cortex-a8-far.d: New.
* ld-arm/arm-elf.exp: Add new test.
2009-08-05 12:36:14 +00:00
Sandra Loosemore
30f8113aa7
2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
...
gas/
* doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
* config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
2009-08-05 00:44:01 +00:00
gdbadmin
e1d0c9e0d7
*** empty log message ***
2009-08-05 00:00:35 +00:00
Alan Modra
20e80fb5ac
daily update
2009-08-05 00:00:11 +00:00
Thiago Jung Bauermann
6b3ae8188c
2009-08-04 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
...
gdb/
* linux-tdep.c (check_is_pie_binary,
_initialize_linux_tdep): New functions.
gdb/testsuite/
* gdb.base/pie-support.exp: New file.
* gdb.base/pie-support.c: New file.
2009-08-04 20:41:13 +00:00