Commit Graph

40510 Commits

Author SHA1 Message Date
Alan Modra ec178e1bbb * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
only for V850_OPERAND_DISP operands.
2003-07-15 04:04:18 +00:00
Alan Modra e85ca5bb79 * frags.c (frag_more): Move segment checks to..
(frag_alloc_check): ..here.  New function.
	(frag_append_1_char): Call frag_alloc_check.
2003-07-15 01:33:54 +00:00
Jason Eckhardt 1df8af7012 2003-07-14 Christian Groessler <chris@groessler.org>
* i860.h (AOUTSZ): Define properly for i860 coff.
2003-07-15 01:15:08 +00:00
Alan Modra 0502b0971b daily update 2003-07-15 00:00:15 +00:00
gdbadmin 8144ab2540 *** empty log message *** 2003-07-15 00:00:02 +00:00
Nathanael Nerode 295efaf010 * Makefile.in: Regenerate, correctly this time. 2003-07-14 23:50:30 +00:00
Zack Weinberg 86d22d06c9 Import from gcc repository:
2003-07-07  Zack Weinberg  <zack@codesourcery.com>

	* gettext.m4: Delete all former contents.
	(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
	* progtest.m4: New file.

2003-07-04  Zack Weinberg  <zack@codesourcery.com>

	* gettext.m4: New file - copy of gettext.m4 from binutils
2003-07-14 18:38:36 +00:00
Nick Clifton 76bff7057c Update Turkish translation files for bfd, gas and opcodes 2003-07-14 11:18:13 +00:00
Nick Clifton 278ed1281c Remove uses of ctype.h 2003-07-14 10:06:06 +00:00
Richard Sandiford 2808c7aac4 Missing from 2003-07-11 commit. 2003-07-14 06:27:24 +00:00
Alan Modra 542df965d0 daily update 2003-07-14 00:00:07 +00:00
gdbadmin c0c8832020 *** empty log message *** 2003-07-14 00:00:02 +00:00
Mark Kettenis 88a115f752 Fix last Changelog entry to reflect reality. 2003-07-13 22:07:37 +00:00
Nathanael Nerode e5c3f801c7 * Makefile.tpl: Set INSTALL and friends using autoconf. Remove
unused INSTALL_PROGRAM_ARGS.
	* configure.in: Use AC_PROG_INSTALL.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
2003-07-13 20:49:42 +00:00
Mark Kettenis 249de4f63c *** empty log message *** 2003-07-13 16:38:04 +00:00
Mark Kettenis 01e4b82365 * x86-64-tdep.c (x86_64_store_return_value): Use an intermediate
buffer when storing double and float varibles into %xmm0.
2003-07-13 16:31:43 +00:00
Mark Kettenis 68cc0bfb7d * configure.host: Add x86_64-*-freebsd*.
* configure.tgt: Add x86_64-*-freebsd*.
* Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets.
* amd64fbsd-nat.c: New file.
* amd64fbsd-tdep.c: New file.
* config/i386/nm-fbsd64.h: New file.
* config/i386/fbsd64.mh: New file.
* config/i386/fbsd64.mt: New file.
2003-07-13 16:15:59 +00:00
Alan Modra 974b2f82b1 daily update 2003-07-13 00:00:05 +00:00
gdbadmin 2d03296d28 *** empty log message *** 2003-07-13 00:00:02 +00:00
Nick Clifton d0facd1b42 Set maxpagesize for NTO targets to 4k 2003-07-12 11:16:46 +00:00
Nick Clifton bcb9b88db6 Set the IMAGE_FILE_32BIT_MACHINE flag for PE targets. 2003-07-12 10:55:05 +00:00
Alan Modra 3c11cdbf48 daily update 2003-07-12 00:00:05 +00:00
gdbadmin fe680a5d42 *** empty log message *** 2003-07-12 00:00:02 +00:00
Mark Kettenis 138e7be507 * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset',
`sc_regs_offset' and `sc_fpregs_offset'.
* alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF,
SIGFRAME_FPREGSAVE_OFF): Remove defines.
(alpha_sigtramp_register_address): Rewrite to use new members of
`struct gdbarch_tdep'.
(alpha_gdbarch_init): Initialize new members of struct
gdbarch_tdep'.
* alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use
ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE.
(alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables.
(alphafbsd_pc_in_sigtramp): Implement.
(alphafbsd_sigtramp_offset): New function.
(alphafbsd_sigcontext_addr): New function.
(alphafbsd_init_abi): Initialize signal trampoline related members
of `struct gdbarch_tdep'.
(_initialize_alphafbsd_tdep): Add prototype.
2003-07-11 21:49:04 +00:00
Theodore A. Roth ba292e4cc0 Fix my previous entry to denote the rule I changed. 2003-07-11 18:03:36 +00:00
Theodore A. Roth 95303a6828 * Makefile.in: Quote sed expression when generating transformed_name. 2003-07-11 17:53:20 +00:00
Richard Henderson 6896c0c737 * Makefile.in (dwarf2-frame.o): Add complaints_h.
* dwarf2-frame.c: Include complaints.h.
        (decode_frame_entry_1): Rename from decode_frame_entry; tidy
        variable initialization; return NULL on error.
        (decode_frame_entry): New.
2003-07-11 16:22:17 +00:00
Andrew Cagney c4a095243b 2003-07-11 Andrew Cagney <cagney@redhat.com>
* frame.h (frame_address_in_block): Delete declaration.
	* blockframe.c (frame_address_in_block): Delete function.
	(get_frame_block): Use get_frame_address_in_block.
	(block_innermost_frame): Ditto.
	* stack.c (print_frame, backtrace_command_1): Ditto.
2003-07-11 15:31:43 +00:00
Richard Sandiford 7a9823f1a9 bfd/
* bfd-in.h (bfd_h8300_pad_address): Declare.
	* bfd-in2.h: Regenerate.
	* cpu-h8300.c (bfd_h8300_pad_address): New function.
	* coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize
	addresses before checking whether they can be relaxed.
	(h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check.
	Don't complain about overflows in general 8-bit relocations.
	* elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address.
	Fix handling of R_H8_DIR24A8.

ld/testsuite/
	* ld-h8300/relax-3{.s,.d,-coff.d}: New test.
	* ld-h8300/h8300.exp: Run it.
2003-07-11 14:59:41 +00:00
Andrew Cagney 91f78506d2 Oops, revert unintended commit. Next patch will do this properly. 2003-07-11 14:56:05 +00:00
Andrew Cagney 8edd5d0153 2003-07-11 Andrew Cagney <cagney@redhat.com>
* frame.h (get_frame_address_in_block): Declare.
	(frame_unwind_address_in_block): Declare.
	* frame.c (frame_unwind_address_in_block): New function.
	(get_frame_address_in_block): New function.
2003-07-11 14:52:17 +00:00
Richard Sandiford c6baf75ed1 * elf32-h8300.c: Convert function prototypes and definitions
to C90 syntax.
	* coff-h8300.c: Likewise.
	* cpu-h8300.c: Likewise.
2003-07-11 11:08:30 +00:00
Michal Ludvig 27e417a2c4 2003-07-09 Michal Ludvig <mludvig@suse.cz>
* gdb.c++/templates.exp (test_ptype_of_templates): Recognize
	expansion of size_t to 'unsigned long', not only to 'unsigned'.
2003-07-11 06:44:34 +00:00
Alan Modra fce0080055 Update pot files. 2003-07-11 05:10:21 +00:00
Andrew Cagney f796845108 2003-07-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Simplify predicate methods.  Remove need to provide
	pre-default.   Note: re-generate has no effect.
2003-07-11 03:01:38 +00:00
Andrew Cagney ae99b39843 2003-07-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: When a variable, but not a function, compare against
	0.  Fix problem in previous patch.
	* gdbarch.c: Re-generate.
2003-07-11 01:35:54 +00:00
Alan Modra 82599cce24 daily update 2003-07-11 00:00:05 +00:00
gdbadmin ddfd64e7b5 *** empty log message *** 2003-07-11 00:00:01 +00:00
Andrew Cagney 956ac32883 2003-07-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Use gdb_assert instead of internal_error.  Compare
	functions against NULL, not 0.
	* gdbarch.c: Re-generate.
2003-07-10 22:01:14 +00:00
Fred Fish 287c324016 2003-07-10 Fred Fish <fnf@ninemoons.com>
* coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a
	null string instead of a null pointer.
	* solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto.
	(Also updated copyrights)
2003-07-10 21:56:25 +00:00
Bob Wilson e901de8951 bfd ChangeLog:
* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new
	.got.loc section.  Do not set SEC_ALLOC or SEC_LOAD flags for the
	.xt.lit.plt section.
	(elf_xtensa_size_dynamic_sections): Set size of the .got.loc section
	and allocate memory for it.
	(elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output
	section to the .got.loc section.
	(elf_xtensa_finish_dynamic_sections): Fix up call to
	elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to
	the address of .got.loc.
	(relax_property_section): Shrink .got.loc to match changes in any
	literal table section.
	(xtensa_is_property_section): Change to match
	xtensa_get_property_section_name.
	(xtensa_is_littable_section): New.
ld ChangeLog:
	* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
	with new .got.loc section.
	(OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
	non-relocating links.
	(OTHER_SECTIONS): Add .xt.lit here.  Change it to keep linkonce
	sections separate for non-relocating links; likewise for .xt.insn.
2003-07-10 19:01:48 +00:00
Jakub Jelinek 75e21f08dc * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
	tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
	DWARF2_CIE_DATA_ALIGNMENT): Define.
	(ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
	prototypes.
	(ppc_cie_data_alignment): Declare.
	* config/tc-ppc.c: Include dw2gencfi.h.
	(ppc_cie_data_alignment): Define.
	(md_begin): Initialize ppc_cie_data_alignment.
	(ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
	functions.
	* config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
	(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
	tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
	DWARF2_CIE_DATA_ALIGNMENT): Define.
	(s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
	New prototypes.
	(s390_cie_data_alignment): Declare.
	* config/tc-s390.c: Include dw2gencfi.h.
	(s390_cie_data_alignment): Define.
	(md_begin): Initialize s390_cie_data_alignment.
	(s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
	New functions.

	* gas/cfi/cfi-ppc-1.s: New test.
	* gas/cfi/cfi-ppc-1.d: New test.
	* gas/cfi/cfi-s390-1.s: New test.
	* gas/cfi/cfi-s390-1.s: New test.
	* gas/cfi/cfi-s390x-1.s: New test.
	* gas/cfi/cfi-s390x-1.s: New test.
	* gas/cfi/cfi.exp: Run them.
2003-07-10 16:46:38 +00:00
H.J. Lu eff26f7814 2003-07-10 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1 instead of
	-1LL.
2003-07-10 14:22:15 +00:00
Alan Modra 942e0f4252 * Makefile.am (BFD32_BACKENDS): Add elf32-am33lin.lo.
(BFD32_BACKENDS_CFILES): elf32-am33lin.c not elf32-am33lin.lo.
	Run "make dep-am".
	* Makefile.in: Regenerate.
2003-07-10 07:48:46 +00:00
Bob Wilson 05235f71c5 * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:11:16 +00:00
Alexandre Oliva 4a18bd6b6e * configure: Rebuilt.
2001-09-26  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build
newlib nor libgloss.
Wed May  9 10:07:19 2001  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0-*-linux*): Added.
2003-07-10 05:04:25 +00:00
Bob Wilson fbd1054d53 * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
* configure: Regenerate.
2003-07-10 05:00:47 +00:00
Alexandre Oliva 4a096548a6 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
* emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* configure.host (am33_2.0-*-linux*): Added.
* configure.tgt (am33_2.0-*-linux*): Likewise.
* emulparams/elf32am33lin.sh: New.
* Makefile.am (eelf32am33lin.c): New rule.
* Makefile.in: Rebuilt.
2003-07-10 04:45:16 +00:00
Alexandre Oliva 2ce28d43c4 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
* config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0, mn10300-*-linux*): Added.
* configure: Rebuilt.
* config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to
elf32-am33lin.
* config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0
by default.
2003-07-10 04:44:56 +00:00
Alexandre Oliva 73c3cd1c3d 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
* elf32-am33lin.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
2001-06-02  Nick Clifton  <nickc@cambridge.redhat.com>
* elf32-am33lin.c: Rename global functions.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* config.bfd (am33_2.0, am33_2.0-*-linux*): Added.
* configure.in (bfd_elf32_am33lin_vec): Added.
* Makefile.am (BFD32_BACKENDS): Added elf32-am33lin.lo.
(elf32-am33lin.lo): List dependencies.
* aclocal.m4, configure, Makefile.in: Rebuilt.
* elf-m10300.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME,
ELF_ARCH, ELF_MACHINE_CODE, ELF_MAXPAGESIZE): Define only if
ELF_ARCH was not defined before.
(elf_symbol_leading_char): Define if not defined.
* elf32-am33lin.c: Override the definitions above.
* targets.c (bfd_elf32_am33lin_vec): New.
2003-07-10 04:44:37 +00:00