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
Paul Pluzhnikov
e3c69974ac
2009-08-04 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* objfiles.h (OBJF_KEEPBFD): Delete.
(gdb_bfd_unref): New prototype.
* objfiles.c (gdb_bfd_unref): New function.
(free_objfile): Call gdb_bfd_unref.
* solib.c (free_so): Likewise.
(symbol_add_stub): Set refcount.
2009-08-04 18:46:05 +00:00
Michael Snyder
afd0cd3fc1
2009-08-04 Hui Zhu <teawater@gmail.com>
...
Michael Snyder <msnyder@vmware.com>
* record.c (record_mem_entry): New field 'mem_entry_not_accessible'.
(record_arch_list_add_mem): Initialize 'mem_entry_not_accessible'.
(record_wait): Set 'mem_entry_not_accessible' flag if target
memory not readable. Don't try to change target memory if
'mem_entry_not_accessible' is set.
2009-08-04 18:19:52 +00:00
Nathan Sidwell
f86adc0752
* config/tc-arm.c (my_get_expression): Detect missing expressions.
...
testsuite/
* gas/arm/missing.s: New.
* gas/arm/missing.d: New.
* gas/arm/missing.l: New.
2009-08-04 14:56:10 +00:00
Alan Modra
07088e9587
PR 10474
...
* emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
not size, after lang_reset_memory_regions.
2009-08-04 08:15:24 +00:00
Alan Modra
a9585d22b5
* elf32-ppc.c (ppc_elf_relax_section): Correct conditions under
...
which find_plt_ent is called. Delete redundant code.
2009-08-04 08:03:35 +00:00
Alan Modra
6fba7a0ec6
daily update
2009-08-04 00:00:05 +00:00
gdbadmin
1b6bf71993
*** empty log message ***
2009-08-04 00:00:03 +00:00