Maxim Grigoriev
bdb4c075a2
2007-08-17 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS)
(C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS)
(C0_CONST, C0_INEXP, C0_NOSTK): New macros.
(xtensa_read_register): New function.
(xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg)
(xtensa_insn_kind): New types.
(xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache)
(xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue)
(xtensa_verify_config, xtensa_pseudo_register_read)
(xtensa_pseudo_register_write, xtensa_extract_return_value)
(xtensa_store_return_value)
(xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI.
(windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id)
(xtensa_frame_this_id, xtensa_frame_prev_register)
(xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes.
(call0_frame_cache, call0_frame_get_reg_at_entry)
(call0_classify_opcode, call0_track_op)
(call0_analyze_prologue, call0_frame_cache): New functions.
2007-08-17 21:53:29 +00:00
DJ Delorie
cefec4092d
merge from gcc
2007-08-17 19:31:01 +00:00
Vladimir Prus
198757a8b1
* breakpoint.c (bpstat_free): New.
...
(bpstat_clear): Use bpstat_free.
(delete_breakpoint): Document why we cannot
remove bpstats from stop_bpstat.
* breakpoint.h (bpstat_free): Declare.
2007-08-17 17:06:04 +00:00
Alan Modra
3992d3b7e2
PR gas/4079
...
* config/tc-i386.c (x86_cons): Complain about invalid @got etc.
expressions.
(i386_immediate): Detect and complain about more cases of
invalid immediate expressions. Return failure rather than
converting them to zero.
(i386_displacement): Likewise.
2007-08-17 14:12:43 +00:00
Alan Modra
442996eee8
* emultempl/alphaelf.em: Format option help.
...
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
2007-08-17 13:50:48 +00:00
Alan Modra
c58dea77ff
* ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
...
* lexsup.c (ld_options): Don't use tabs in help text.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
* emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.
2007-08-17 13:23:08 +00:00
Richard Sandiford
3935e1af80
ld/testsuite/
...
* lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
to appear in assembler and linker options.
* ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].
2007-08-17 13:22:44 +00:00
Richard Sandiford
429acdec2b
2007-08-17 Richard Sandiford <richard@codesourcery.com>
...
Nigel Stephens <nigel@mips.com>
* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza. Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.
2007-08-17 13:15:24 +00:00
Alan Modra
e9f274335b
* po/Make-in: Add --msgid-bugs-address to xgettext invocation.
2007-08-17 01:04:52 +00:00
Alexandre Oliva
8520c40866
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
...
Add to flags_to_pass. Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.
2007-08-17 00:03:44 +00:00
gdbadmin
db6d03e8ff
*** empty log message ***
2007-08-17 00:00:33 +00:00
Alan Modra
f556786a27
daily update
2007-08-17 00:00:06 +00:00
H.J. Lu
2b05f1b7bb
bfd/
...
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* elf.c: Revert last change.
binutils/
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c: Revert last change.
include/elf/
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* common.h: Revert last change.
2007-08-16 18:49:42 +00:00
Michael Snyder
dc66ab8ae2
event-loop.c (gdb_wait_for_event): Move statement into if block.
2007-08-16 14:51:22 +00:00
Alan Modra
ea9c645141
* ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
...
xfails.
2007-08-16 13:51:27 +00:00
H.J. Lu
94b11780ad
bfd/
...
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.
binutils/
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.
include/elf/
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New. Make an alias of PT_GNU_ATTR.
2007-08-16 13:38:09 +00:00
Alan Modra
1192f4a2b3
daily update
2007-08-16 00:00:06 +00:00
gdbadmin
b3641d5f5e
*** empty log message ***
2007-08-16 00:00:04 +00:00
Joel Brobecker
40c8aaa9fe
* ada-lang.c (resolve_subexp): Correct arity of binary operators.
2007-08-15 18:43:15 +00:00
Joel Brobecker
ee90b9ab36
* ada-lang.c (possible_user_operator_p): Alternative fix to last
...
checkin guarding against NULL.
2007-08-15 18:36:37 +00:00
Alan Modra
d10e7fcce7
PR 4923
...
* emultempl/elf32.em (after_open): Return immediately when
non-ELF output.
2007-08-15 06:03:11 +00:00
Michael Snyder
e5908723e5
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
go at beginning of new line.
2007-08-15 00:19:44 +00:00
Alan Modra
8676c0493c
daily update
2007-08-15 00:00:06 +00:00
gdbadmin
3b93fc3def
*** empty log message ***
2007-08-15 00:00:02 +00:00
Michael Snyder
08ef48c5ac
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c,
tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c,
tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h,
tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c,
tui-winsource.h, tui.c, tui.h: Function declarations and
definitions, wrap long lines.
2007-08-14 23:50:39 +00:00
Michael Snyder
ef5eab5a0f
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
Reformat block comments to GNU standard.
2007-08-14 21:39:22 +00:00
Michael Snyder
1cc6d956c1
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
tui.c, tui.h: Comment reformatting to coding standard (capitals,
spaces after periods, etc).
2007-08-14 21:20:09 +00:00
Michael Snyder
5b6fe301a1
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
tui-winsource.h: Whitespace changes, fix pointer declarations
to be consistant.
2007-08-14 20:23:29 +00:00
Joel Brobecker
64a1bf1957
* ada-lang.c (field_alignment): Guard against NULL.
2007-08-14 20:16:18 +00:00
Joel Brobecker
e933291e4c
* MAINTAINERS (Global Maintainers): Add self.
2007-08-14 20:10:47 +00:00
Michael Snyder
068acb6c00
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable.
2007-08-14 19:51:37 +00:00
H.J. Lu
a3fadc9a17
bfd/
...
2007-08-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4918
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
on ___tls_get_addr for GD->LE/LD->LE transitions when not
building shared library.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
when not building shared library.
ld/testsuite/
2007-08-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4918
* ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
* ld-x86-64/x86-64.exp (x86_64tests): Likewise.
* ld-i386/tlsgd1.dd: New file.
* ld-i386/tlsgd1.s: Likewise.
* ld-i386/tlsld1.dd: Likewise.
* ld-i386/tlsld1.s: Likewise.
* ld-x86-64/tlsgd1.dd: Likewise.
* ld-x86-64/tlsgd1.s: Likewise.
* ld-x86-64/tlsld1.dd: Likewise.
* ld-x86-64/tlsld1.s: Likewise.
2007-08-14 19:48:21 +00:00
Michael Snyder
6d307763fb
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* ada-lang.c (possible_user_operator_p): Guard against NULL.
2007-08-14 18:32:45 +00:00
Michael Snyder
348144bad4
2007-08-14 Michael Snyder <msnyder@access-company.com>
...
* varobj.c (cplus_describe_child): Guard against null.
Use "NULL" instead of "0" to initialize pointers.
2007-08-14 18:26:46 +00:00
Daniel Jacobowitz
b8926edcac
* arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
...
to match any gdbarch with matching OSABI. Set default ABI and FPU
after running the OSABI handler.
2007-08-14 15:47:00 +00:00
Daniel Jacobowitz
cdd6623c94
* config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
...
* config/i386/linux.mt (TDEPFILES): ...to here.
2007-08-14 12:51:59 +00:00
Vladimir Prus
1267554726
Fix changelog formatting
2007-08-14 11:18:56 +00:00
Vladimir Prus
cb85195420
gdb/
...
* breakpoint.c (disable_breakpoints_in_shlibs): Remove
the 'silent' parameter and code to implement that.
* breakpoint.h (disable_breakpoints_in_shlibs): Adjust
prototype.
* win32-nat.c: Adjust.
* solib.c: Adjust.
2007-08-14 11:09:45 +00:00
Andreas Schwab
cf73852866
* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
...
unrepresentable.
2007-08-14 10:44:12 +00:00
Vladimir Prus
e14a792bcf
gdb/
...
* breakpoint.c (update_breakpoints_after_exec): Don't
set address to zero.
2007-08-14 08:11:45 +00:00
Jan Kratochvil
3fec76aafa
2007-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
...
* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now
initialized only on the first PT_LOAD. New variable LOADBASE_SET.
Removed PF_R checking for IA-64 vDSOs as redundant now.
Code advisory: Roland McGrath
2007-08-14 08:04:47 +00:00
Michael Snyder
ac3eeb4911
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* valops.c: Whitespace clean-up.
2007-08-14 00:31:40 +00:00
gdbadmin
9763fb7a94
*** empty log message ***
2007-08-14 00:00:34 +00:00
Alan Modra
6fecce6b64
daily update
2007-08-14 00:00:06 +00:00
Michael Snyder
81b7c67a8b
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation.
2007-08-13 23:06:34 +00:00
Michael Snyder
f5b73fbba3
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* event-top.c (command_line_handler): Memory leak.
2007-08-13 23:02:08 +00:00
Michael Snyder
b538c23453
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
No need to make copy.
2007-08-13 22:57:39 +00:00
Michael Snyder
be8ca11b9e
2007-08-13 Michael Snyder <msnyder@access-company.com>
...
* source.c (find_source_lines): Require symtab 's'.
2007-08-13 22:25:14 +00:00
Richard Sandiford
8275b357ad
bfd/
...
* elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
(mips_elf_record_global_got_symbol): Increment local_gotno for
each forced-local symbol.
(_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
mips_elf_record_global_got_symbol for VxWorks too.
(_bfd_mips_elf_always_size_sections): Set computed_got_sizes
to true after computing the GOT size.
(_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
got.offset == 1. Only adjust global_gotno if computed_got_sizes.
For VxWorks, add a local entry when hiding a symbol that needs a
plt but has not been marked as needing a global got entry.
(_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
false.
ld/testsuite/
* ld-mips-elf/vxworks-forced-local-1.d,
* ld-mips-elf/vxworks-forced-local-1.s,
* ld-mips-elf/vxworks-forced-local-1.ver: New test.
* ld-mips-elf/mips-elf.exp: Run it.
* ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
local GOT entry.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/vxworks1-lib.dd: Likewise.
* ld-mips-elf/vxworks1-lib.rd: Likewise.
2007-08-13 21:16:39 +00:00
Daniel Jacobowitz
2cc176786d
* config/default.exp: New file.
2007-08-13 14:35:59 +00:00