Nick Clifton
29b058f1b4
Add -U for compatibility with wrc, rc, and cpp. Just pass the -U option down
...
to the preprocessor.
2003-04-03 13:40:51 +00:00
Nick Clifton
ff0c9faf3b
(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
...
executables.
(coff_swap_scnhdr_in): Only set the s_size field for object files or for
executables who have not already initialised the field.
(bfd_pe_executable_p): New macro. Return true if the PE format bfd is an
executable.
2003-04-03 11:13:27 +00:00
Nick Clifton
9a1b6dc5fd
Replace "Static" with "classname" so that results match the behaviour of the
...
Windows' resource compiler.
2003-04-03 10:48:16 +00:00
Nick Clifton
e8fd74766a
Mention support for Xtensa architecture
2003-04-03 07:37:41 +00:00
Alan Modra
c8b21ee577
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.
2003-04-03 04:02:02 +00:00
Alan Modra
2b98e6c032
* elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
...
here as it's too early to reliably determine locality.
(ppc_elf_gc_sweep_hook): Likewise.
2003-04-03 02:54:52 +00:00
Phil Blundell
8fbf1ae596
2003-04-03 Philip Blundell <philb@gnu.org>
...
* gas/arm/offset.s: New test.
* gas/arm/arm.exp (run_errors_test): Run it.
2003-04-03 00:25:02 +00:00
Bob Rossi
4313689990
Fixing Changelog for Makefile.in that I just committed
2003-04-03 00:09:57 +00:00
Alan Modra
03189cd937
daily update
2003-04-03 00:00:05 +00:00
gdbadmin
9c911da218
*** empty log message ***
2003-04-03 00:00:01 +00:00
Bob Rossi
4e35d5f041
I broke my first ChangeLog :), fixing it.
2003-04-02 23:48:21 +00:00
Phil Blundell
472816383c
2003-04-02 Philip Blundell <philb@gnu.org>
...
* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
2003-04-02 23:31:25 +00:00
Bob Rossi
1abaf70c94
Adding -file-list-exec-source-file command to MI
2003-04-02 22:10:35 +00:00
Chris Demetriou
af22f5b24a
[ gas/ChangeLog ]
...
2003-04-02 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (macro2): Adjust implementation of
M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
in the case where the source and destination registers
are the same.
[ gas/testsuite/ChangeLog ]
2003-04-02 Chris Demetriou <cgd@broadcom.com>
* gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes.
* gas/mips/mips.exp: Define new "gpr_ilocks" architecture
property, and add it to mips2 (and later) chips and r3900.
* gas/mips/uld2.s: New test source file.
* gas/mips/ulh2.s: Likewise.
* gas/mips/ulw2.s: Likewise.
* gas/mips/uld2.l: New test stderr listing.
* gas/mips/ulh2.l: Likewise.
* gas/mips/ulw2.l: Likewise.
* gas/mips/uld2-eb.d: New test.
* gas/mips/uld2-el.d: Likewise.
* gas/mips/ulh2-eb.d: Likewise.
* gas/mips/ulh2-el.d: Likewise.
* gas/mips/ulw2-eb-ilocks.d: Likewise.
* gas/mips/ulw2-eb.d: Likewise.
* gas/mips/ulw2-el-ilocks.d: Likewise.
* gas/mips/ulw2-el.d: Likewise.
* gas/mips/mips.exp: Run new tests for appropriate architectures.
2003-04-02 18:43:16 +00:00
Bob Wilson
8fdeb6e3c5
* ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*.
...
* ld-xtensa/lcall.exp: Likewise.
2003-04-02 18:00:34 +00:00
Nick Clifton
2b817be136
pe-dll.c (pe_detail_list): arm-pe targets use underscores.
...
(process_def_file): Don't create an export section if there are no exports and
we're building an exe.
(pe_dll_build_sections): Ditto
(pe_dll_fill_sections): Conditionalize setting abfd->dll true on info->shared
emultempl/pe.em (gld_${EMULATION_NAME}_after_open): If i386pe or armpe, call
pe_dll_build_section() for both exe's and dll's, not just dll's. Don't call
pe_dll_build_section() if link_info.relocateable.
(gld_${EMULATION_NAME}_finish): For all targets except shpe and mipspe, call
pe_dll_fill_sections() for both exe's and dll's, not just dll's. Don't call
pe_dll_fill_sections() if link_info.relocateable.
2003-04-02 17:39:24 +00:00
Bob Wilson
f6c8b716bd
* emulparams/xtensa-config.sh: Remove comment indicating that this is
...
a generated file.
2003-04-02 16:56:56 +00:00
Bob Wilson
c6d600f0f1
* xtensa-config.h: Remove comment indicating that this is a
...
generated file.
2003-04-02 16:55:26 +00:00
Bob Wilson
9240357975
* xtensa-modules.c: Remove comment indicating that this is a
...
generated file.
2003-04-02 16:53:44 +00:00
Kevin Buettner
040b99fd42
* mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
...
(mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
2003-04-02 05:12:25 +00:00
Adam Fedor
9a3d7dfd2e
* Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
...
* language.h (struct language_defn): Add la_demangle.
(language_demangle): Declare.
* language.c (language_demangle): New function.
(unk_lang_demangle): Likewise.
(unknown_language_defn, auto_language_defn, local_language_defn):
Add ukn_lang_demangle.
* ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
* f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
* c-lang.c (c_language_defn, asm_language_defn): Likewise.
(cplus_language_defn): Add cplus_demangle for la_demangle element.
* jv-lang.c (java_demangle): New function
(java_language_defn): Use it for la_demangle element.
* objc-lang.c (objc_demangle): Add options argument
(objc_language_defn): Use objc_demangle for la_demangle element.
* maint.c (maintenance_demangle): Replace switch with
call to language_demangle.
* utils.c (fprintf_symbol_filtered): Likewise.
2003-04-02 03:02:46 +00:00
Alan Modra
5eb7f2340a
daily update
2003-04-02 00:00:05 +00:00
gdbadmin
c70bbc9bfb
*** empty log message ***
2003-04-02 00:00:01 +00:00
Andrew Cagney
5e07400370
2003-04-01 Andrew Cagney <cagney@redhat.com>
...
* printcmd.c (print_frame_nameless_args): Delete #ifdef
NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
PRINT_TYPELESS_INTEGER.
* config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
PUSH_RETURN_ADDRESS.
2003-04-01 23:51:17 +00:00
Alan Modra
c45a316a0b
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
2003-04-01 23:44:45 +00:00
Christopher Faylor
3126d709ed
* windres.c (usage): Report -r option.
...
(main): Ignore the -r option.
* doc/binutils.texi: Add -r to the list of options.
2003-04-01 23:09:29 +00:00
Andrew Cagney
270cb5d6bd
2003-04-01 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (d10v-tdep.o): Update dependencies.
* d10v-tdep.c: Include "frame-base.h".
(d10v_frame_unwind): Make constant.
(d10v_frame_base_address): New function.
(d10v_frame_base): New variable.
(d10v_gdbarch_init): Set frame_base default.
(struct d10v_unwind_cache): Add the field "prev_sp". Update
comment for base.
(d10v_frame_unwind_cache): Set and use "prev_sp".
(d10v_frame_this_id): Use the previous frame's inner most stack
address and this frame's func address for the frame ID. Use
frame_id_build. Don't analyze beyond the current instruction.
2003-04-01 19:55:03 +00:00
Andrew Cagney
6bfb3e36df
2003-04-01 Andrew Cagney <cagney@redhat.com>
...
* frame.h (get_frame_locals_address, get_frame_args_address):
Refer to the base address, instead of the address of the first
local or parameter.
2003-04-01 19:26:52 +00:00
Bob Wilson
c46ac7116d
* MAINTAINERS: Add myself as Xtensa maintainer.
2003-04-01 19:14:27 +00:00
Andrew Cagney
da62e63311
2003-04-01 Andrew Cagney <cagney@redhat.com>
...
Add frame debug info addresses:
* frame-base.c: New file.
* frame-base.h: New file.
* frame.h (struct frame_base): Add opaque declaration.
(get_frame_base): Update comment.
(get_frame_base_address): Declare.
(get_frame_locals_address): Declare.
(get_frame_args_address): Declare.
(struct frame_info): Add "base" and "base_cache". Update
comments on the unwinder.
* frame.c: Include "frame-base.h".
(get_frame_locals_address): New function.
(get_frame_base_address): New function.
(get_frame_args_address): New function.
* findvar.c (read_var_value): Use get_frame_locals_address and
get_frame_args_address.
* stack.c (frame_info): Use get_frame_locals_address and
get_frame_args_address.
(FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
moved to "frame-base.c".
* printcmd.c (print_frame_nameless_args): Ditto.
* symtab.h (address_class): Update comments.
* dwarf2loc.c (dwarf_expr_frame_base): Add note about
get_frame_base_address.
* dwarf2expr.c (execute_stack_op): Ditto.
* Makefile.in (frame_base_h): Define.
(frame.o): Update dependencies.
(frame-base.o): Add dependencies.
(SFILES): Add frame-base.c.
(COMMON_OBS): Add frame-base.o.
2003-04-01 19:11:01 +00:00
Andrew Cagney
3d30e9c264
2003-04-01 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
CALL_DUMMY_LENGTH): Ditto.
* gdbarch.c: Re-generate.
* inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
(CALL_DUMMY_LENGTH): Delete macro.
* alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
2003-04-01 17:17:29 +00:00
Nick Clifton
88da68203d
Add Xtensa port (omitted from previous delta)
2003-04-01 15:53:47 +00:00
Nick Clifton
e0001a05d2
Add Xtensa port
2003-04-01 15:50:31 +00:00
Corinna Vinschen
ce0c72625a
* frame.c (get_prev_frame): Disable call to inside_entry_file().
2003-04-01 15:26:08 +00:00
Andrew Cagney
73dd234f2f
2003-04-01 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
(CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
* infcmd.c (run_stack_dummy): Simplify assuming
CALL_DUMMY_BREAKPOINT_OFFSET_P.
* infrun.c (handle_inferior_event): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Do not set
call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
2003-04-01 14:38:51 +00:00
Daniel Jacobowitz
97606a13b0
* symfile.c (symfile_relocate_debug_section): Update call to
...
bfd_simple_get_relocated_section_contents.
2003-04-01 14:17:20 +00:00
Jakub Jelinek
276e509410
* configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
...
targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
if --enable-64-bit-bfd.
2003-04-01 14:08:00 +00:00
Nick Clifton
394ce546ee
fix spelling typo
2003-04-01 13:10:07 +00:00
Nick Clifton
5a6c681789
Fixes for iWMMXt contribution.
2003-04-01 13:08:06 +00:00
Nick Clifton
49634642a5
Add tests for ARM simulator.
2003-04-01 11:07:58 +00:00
Nick Clifton
27a710e55c
Change "arm-pe*" to "arm-*-pe*". Similarly for thumb-pe*, mcore-pe and
...
mcore-*elf.
2003-04-01 10:52:43 +00:00
Ben Elliston
0cc1cf992d
* dwarf2.c (read_attribute_value): Correct typo in comment.
2003-04-01 10:49:02 +00:00
Nick Clifton
d63fd5d103
Make add_line_info() take a copy of the filename.
2003-04-01 10:31:34 +00:00
Nick Clifton
af3ef9fe5c
Remove use of concat() inside concat_filename()
2003-04-01 10:18:54 +00:00
Alexandre Oliva
a6e028719a
* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
...
--section-start.
2003-04-01 00:34:04 +00:00
Alexandre Oliva
335a186916
* objdump.c (dump_data): Don't truncate the address to long; make
...
the width large enough, and uniform for all entries in a section.
2003-04-01 00:32:47 +00:00
Daniel Jacobowitz
6e84a90684
* simple.c (bfd_simple_get_relocated_section_contents): Add
...
parameter symbol_table. Optionally use it instead of the symbol
table from the bfd. Save and restore output offsets and output
sections around bfd_get_relocated_section_contents. Fix a memory
leak.
(simple_save_output_info, simple_restore_output_info): New
functions.
* bfd-in2.h: Regenerate.
* dwarf2.c (read_abbrevs): Use
bfd_simple_get_relocated_section_contents instead of
bfd_get_section_contents.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise. Don't call
find_rela_addend.
(find_rela_addend): Remove.
* elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
debugging sections.
(elfNN_ia64_hash_table_create): Create the hash table with malloc,
not bfd_zalloc.
2003-04-01 00:12:12 +00:00
gdbadmin
b985b5ac74
*** empty log message ***
2003-04-01 00:00:32 +00:00
Alan Modra
8f3c2f1544
daily update
2003-04-01 00:00:17 +00:00
Andrew Cagney
e8ab51f713
2003-03-31 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* inferior.h (FIX_CALL_DUMMY): Delete macro.
* valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
available.
* frame.h (generic_fix_call_dummy): Delete declaration.
* dummy-frame.h: Update comment.
* dummy-frame.c (generic_fix_call_dummy): Delete function.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
fix_call_dummy.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
2003-03-31 23:52:38 +00:00