OSDN Git Service
Nick Clifton [Tue, 6 Mar 2001 20:13:31 +0000 (20:13 +0000)]
est of the changes for Coldfire V4
Nick Clifton [Tue, 6 Mar 2001 20:12:21 +0000 (20:12 +0000)]
Rest of the changes for Coldfire V4
DJ Delorie [Tue, 6 Mar 2001 19:03:36 +0000 (19:03 +0000)]
merge from gcc
DJ Delorie [Mon, 5 Mar 2001 19:42:04 +0000 (19:42 +0000)]
merge from gcc
Dave Brolley [Mon, 5 Mar 2001 16:01:29 +0000 (16:01 +0000)]
Correct filenames from last commit.
Dave Brolley [Mon, 5 Mar 2001 15:55:01 +0000 (15:55 +0000)]
2001-03-05 Dave Brolley <brolley@redhat.co
* opcodes/fr30-asm.c: Regenerate.
* opcodes/fr30-desc.c: Regenerate.
* opcodes/fr30-desc.h: Regenerate.
* opcodes/fr30-dis.c: Regenerate.
* opcodes/fr30-ibld.c: Regenerate.
* opcodes/fr30-opc.c: Regenerate.
* opcodes/fr30-opc.h: Regenerate.
* opcodes/m32r-asm.c: Regenerate.
* opcodes/m32r-desc.c: Regenerate.
* opcodes/m32r-desc.h: Regenerate.
* opcodes/m32r-dis.c: Regenerate.
* opcodes/m32r-ibld.c: Regenerate.
* opcodes/m32r-opc.c: Regenerate.
* opcodes/m32r-opc.h: Regenerate.
* opcodes/m32r-opinst.c: Regenerate.
Alan Modra [Mon, 5 Mar 2001 05:02:03 +0000 (05:02 +0000)]
* emultempl/m68kelf.em (m68k_elf_after_allocation): Call
after_allocation_default, not gld..._before_allocation.
Dave Brolley [Fri, 2 Mar 2001 22:50:36 +0000 (22:50 +0000)]
2001-03-02 Dave Brolley <brolley@redhat.com>
* config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather than
m32r_do_align.
Nick Clifton [Fri, 2 Mar 2001 18:43:13 +0000 (18:43 +0000)]
Print warnings if NaNs are found and the target CPU does not support them
DJ Delorie [Fri, 2 Mar 2001 02:12:03 +0000 (02:12 +0000)]
merge from gcc
Matthew Hiller [Thu, 1 Mar 2001 19:39:30 +0000 (19:39 +0000)]
*** empty log message ***
Matthew Hiller [Thu, 1 Mar 2001 19:13:27 +0000 (19:13 +0000)]
2001-02-28 Matt Hiller <hiller@redhat.com>
* testsuite/ld-scripts/crossref.exp: Initialize flags to
[big_or_little_endian].
* testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
in ld invocations.
* testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
-eb, EL and el.
(is_endian_output_format): New function.
(default_ld_link): Set flags to [big_or_little_endian] only if ld
is being invoked such that the output format being used is of
known endianness.
(default_ld_simple_link): Ditto.
Nick Clifton [Thu, 1 Mar 2001 18:48:14 +0000 (18:48 +0000)]
Add s390 target
Nick Clifton [Wed, 28 Feb 2001 23:47:10 +0000 (23:47 +0000)]
new defines for Coldfire V4.
Nick Clifton [Wed, 28 Feb 2001 19:40:12 +0000 (19:40 +0000)]
Remove non-K&R compliant LHS type cast in call to GET_DATA_ALLOC macro.
Andreas Jaeger [Wed, 28 Feb 2001 12:49:40 +0000 (12:49 +0000)]
2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
* config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
anymore since we use bfd_elf_generic_reloc now.
(md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
Andreas Jaeger [Wed, 28 Feb 2001 12:32:10 +0000 (12:32 +0000)]
2001-02-28 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation
to addend.
Phil Blundell [Wed, 28 Feb 2001 10:15:57 +0000 (10:15 +0000)]
2001-02-28 Philip Blundell <pb@futuretv.com>
* readelf.c (decode_ARM_machine_flags): Explicitly mention which
ABI is in use; remove ambiguity between the "unknown" EABI and
unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
renamed EF_xx constants.
Phil Blundell [Wed, 28 Feb 2001 10:13:20 +0000 (10:13 +0000)]
2001-02-28 Philip Blundell <pb@futuretv.com>
* elf32-arm.h: Update mentions of renamed EF_xx constants.
(elf32_arm_print_private_bfd_data): Handle ARM EABI version 2.
Phil Blundell [Wed, 28 Feb 2001 10:11:36 +0000 (10:11 +0000)]
2001-02-27 Philip Blundell <pb@futuretv.com>
* arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01.
(EF_PIC, et al.): Rename to EF_ARM_xx.
H.J. Lu [Tue, 27 Feb 2001 18:45:45 +0000 (18:45 +0000)]
2001-02-27 H.J. Lu <hjl@gnu.org>
* aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if
abfd->tdata.aout_data == NULL.
Alan Modra [Tue, 27 Feb 2001 07:11:41 +0000 (07:11 +0000)]
Fix some comments, and a formatting error.
Alan Modra [Tue, 27 Feb 2001 06:43:56 +0000 (06:43 +0000)]
Bump version to 2.11.90, fix missing dependencies in bfd/,
and run "make dep-am".
Timothy Wall [Tue, 27 Feb 2001 03:26:47 +0000 (03:26 +0000)]
Update elf64 aix5 comments.
Timothy Wall [Tue, 27 Feb 2001 03:23:00 +0000 (03:23 +0000)]
Add aix5 settings.
Nick Clifton [Tue, 27 Feb 2001 01:56:26 +0000 (01:56 +0000)]
Set SEC_NEVER_LOAD when the 'n' flag is used.
Nick Clifton [Tue, 27 Feb 2001 01:38:06 +0000 (01:38 +0000)]
BFD: Catch & report unhandled PE section flags.
LD: Catch BFD errors whilst loading symbols and do not produce an executable.
H.J. Lu [Mon, 26 Feb 2001 17:40:07 +0000 (17:40 +0000)]
2001-02-26 H.J. Lu <hjl@gnu.org>
* gas/ia64/opc-a-err.l: Change "Operand [3|4]" to "Operand [34]".
Andreas Jaeger [Mon, 26 Feb 2001 07:50:22 +0000 (07:50 +0000)]
2001-02-26 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
Stephane Carrez [Sat, 24 Feb 2001 09:57:24 +0000 (09:57 +0000)]
* symbols.c (decode_local_label_name): Initialize message_format
only when an error is reported (perf pb due to I18N).
H.J. Lu [Sat, 24 Feb 2001 04:59:03 +0000 (04:59 +0000)]
2001-02-23 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
BFD_ASSEMBLER is not defined.
H.J. Lu [Fri, 23 Feb 2001 21:57:48 +0000 (21:57 +0000)]
2001-02-23 David Mosberger <davidm@hpl.hp.com>
* ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
* ia64-asmtab.c: Regenerate.
H.J. Lu [Fri, 23 Feb 2001 21:47:33 +0000 (21:47 +0000)]
2001-02-23 H.J. Lu <hjl@gnu.org>
* gas/ia64/opc-a-err.l: Fix "cmp4.lt.or".
* gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and
"cmp4".
* gas/ia64/opc-a.s: Rebuilt.
* gas/ia64/opc-a.d: Likewise.
Nick Clifton [Fri, 23 Feb 2001 18:32:51 +0000 (18:32 +0000)]
Don't mark a fixup as done if it's against a symbol.
Jeff Johnston [Thu, 22 Feb 2001 22:26:34 +0000 (22:26 +0000)]
2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Remove DJ Delorie's address because it is no
longer valid.
Timothy Wall [Thu, 22 Feb 2001 17:24:33 +0000 (17:24 +0000)]
Add ia64-*-aix* configuration.
Timothy Wall [Thu, 22 Feb 2001 17:16:38 +0000 (17:16 +0000)]
Added ia64-*-aix* configuration.
Timothy Wall [Thu, 22 Feb 2001 16:38:46 +0000 (16:38 +0000)]
ia64-*-aix* support.
Jim Wilson [Thu, 22 Feb 2001 03:16:21 +0000 (03:16 +0000)]
Improve gas error messages for invalid instructions.
* cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for
C8 said "1" instead of "8". Clarify error string for IMM22:
"signed integer" instead of just "integer".
* config/tc-ia64.c (enum operand_match_result): New type.
(operand_match): Change return type to operand_match_result.
Fix all returns appropriately, adding support for returning the
out-of-range result.
(parse_operands): New locals result, error_pos, out_of_range_pos,
curr_out_of_range_pos. Rewrite operand matching loop to give better
error messages.
* ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
separate variants: one for IMM22 and the other for IMM14.
* ia64-asmtab.c: Regenerate.
Jim Wilson [Wed, 21 Feb 2001 22:39:59 +0000 (22:39 +0000)]
Fix bugs in handling of the .restore directive.
* config/tc-ia64.c (struct unwind): Add member "prologue_count".
(dot_proc): Clear unwind.prologue_count to zero.
(dot_prologue): Increment unwind.prologue_count.
(dot_restore): If second operand is omitted, use
unwind.prologue_count -1 for "ecount" (# of additional regions to
pop). Decrement unwind.prologue_count by number of regions
popped.
Greg McGary [Wed, 21 Feb 2001 21:54:31 +0000 (21:54 +0000)]
* cgen-opc.c (cgen_get_insn_value): Add missing `return'.
Nick Clifton [Wed, 21 Feb 2001 19:43:36 +0000 (19:43 +0000)]
Note that some flags to the COFF version of .section remove attributes rather
than setting them.
Kazu Hirata [Wed, 21 Feb 2001 00:19:45 +0000 (00:19 +0000)]
Fix a typo.
H.J. Lu [Wed, 21 Feb 2001 00:07:39 +0000 (00:07 +0000)]
2001-02-20 H.J. Lu <hjl@gnu.org>
* Makefile.am (ia64-ic.tbl): Remove the target.
(ia64-raw.tbl): Likewise.
(ia64-waw.tbl): Likewise.
(ia64-war.tbl): Likewise.
(ia64-asmtab.c): Generate it in the source directory.
* Makefile.in: Regenerated.
Kazu Hirata [Wed, 21 Feb 2001 00:04:47 +0000 (00:04 +0000)]
2001-02-20 Kazu Hirata <kazu@hxi.com>
* tc-pdp11.c: Fix formatting.
* tc-pdp11.h: Likewise.
H.J. Lu [Tue, 20 Feb 2001 21:07:24 +0000 (21:07 +0000)]
2001-02-20 H.J. Lu <hjl@gnu.org>
* ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
false if we found the file.
Andreas Jaeger [Tue, 20 Feb 2001 09:48:45 +0000 (09:48 +0000)]
2001-02-20 Bo Thorsen <bo@suse.de>
* config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
entry.
Andreas Jaeger [Tue, 20 Feb 2001 08:01:32 +0000 (08:01 +0000)]
2001-02-20 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make
PLT entries that could serve as a definition for a weak symbol.
Jakub Jelinek [Mon, 19 Feb 2001 22:35:47 +0000 (22:35 +0000)]
* elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.
* elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise.
David O'Brien [Mon, 19 Feb 2001 06:51:51 +0000 (06:51 +0000)]
001-02-18 David O'Brien <obrien@FreeBSD.org>
* configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
Approved by: Philip Blundell <philb@gnu.org>
Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
David O'Brien [Mon, 19 Feb 2001 06:40:29 +0000 (06:40 +0000)]
001-02-18 David O'Brien <obrien@FreeBSD.org>
* configure.in (cpu_type, arch): Add a generic FreeBSD specification as
all FreeBSD platforms should look the same at this level.
* configure: Rebuilt.
* config/tc-i386.c: Add support for old FreeBSD a.out hosts.
Approved by: Philip Blundell <philb@gnu.org>
Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
David O'Brien [Mon, 19 Feb 2001 06:33:41 +0000 (06:33 +0000)]
2001-02-18 David O'Brien <obrien@FreeBSD>
* configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat
FreeBSD/i386-CURRENT differently until I can figure out the needed
corefile changes.
* configure: Regenerate.
* config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm,
FreeBSD/PowerPC, and FreeBSD/sparc64.
Approved by: Philip Blundell <philb@gnu.org>
Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
Nick Clifton [Sun, 18 Feb 2001 23:33:11 +0000 (23:33 +0000)]
Add PDP-11 support
Nick Clifton [Sun, 18 Feb 2001 22:29:52 +0000 (22:29 +0000)]
Set the architecture (GDB multiarch needs it).
H.J. Lu [Sun, 18 Feb 2001 22:04:08 +0000 (22:04 +0000)]
2001-02-18 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_input_bfd): Ignore invalid section symbol
index.
Kazu Hirata [Sun, 18 Feb 2001 21:35:55 +0000 (21:35 +0000)]
2001-02-18 Kazu Hirata <kazu@hxi.com>
* vms-misc.c: Fix formatting.
David O'Brien [Sun, 18 Feb 2001 02:17:24 +0000 (02:17 +0000)]
2001-02-17 David O'Brien <obrien@FreeBSD.org>
* configure.host: Add a generic FreeBSD configuration entry such that
all [modern] FreeBSD systems on all platforms will look the same.
Approved by: Alan Modra <alan@linuxcare.com.au>
<Pine.LNX.4.21.
0102172155140.30011-100000@front.linuxcare.com.au>
Chris Demetriou [Sun, 18 Feb 2001 01:57:20 +0000 (01:57 +0000)]
2001-02-17 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips32.d: Remove ELF dependencies. This test
wasn't meant to be ELF specific, and doesn't have to be.
* gas/mips/mips64.d: Likewise.
Chris Demetriou [Sun, 18 Feb 2001 01:52:11 +0000 (01:52 +0000)]
2001-02-17 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp: Don't attempt the elf_e_flags family of
tests if not ELF; they test ELF-specific features.
Nick Clifton [Sat, 17 Feb 2001 00:53:44 +0000 (00:53 +0000)]
Allow configuration of texinfo for Cygwin hosts.
DJ Delorie [Sat, 17 Feb 2001 00:11:29 +0000 (00:11 +0000)]
merge from gcc
Kazu Hirata [Fri, 16 Feb 2001 19:22:12 +0000 (19:22 +0000)]
2001-02-16 Kazu Hirata <kazu@hxi.com>
* vms.c: Fix formatting.
Matthew Green [Fri, 16 Feb 2001 12:29:39 +0000 (12:29 +0000)]
2001-02-16 matthew green <mrg@redhat.com>
* gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
H.J. Lu [Thu, 15 Feb 2001 17:18:35 +0000 (17:18 +0000)]
Change "armelf" to armelf.
H.J. Lu [Thu, 15 Feb 2001 01:17:07 +0000 (01:17 +0000)]
2001-02-14 H.J. Lu <hjl@gnu.org>
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
for -static on ia64.
* ld-checks/checks.exp: Don't run on ia64-*-elf* nor
ia64-*-linux*.
* ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.
* ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
Set up expected failures for ia64-*-linux*.
* ld-shared/shared.exp: Likewise.
Jim Wilson [Wed, 14 Feb 2001 20:30:26 +0000 (20:30 +0000)]
Fix DV bug reported by Intel against the setf instruction.
* ia64-ic.tbl: Update from Intel. Add setf to fr-writers.
* ia64-asmtab.c: Regenerate.
Nick Clifton [Wed, 14 Feb 2001 19:58:45 +0000 (19:58 +0000)]
fixes for elf_find_nearest_line
Nick Clifton [Wed, 14 Feb 2001 19:37:05 +0000 (19:37 +0000)]
Fix initialisation of asection structure
Nick Clifton [Wed, 14 Feb 2001 19:18:53 +0000 (19:18 +0000)]
Apply changes to Makefile.in to Makefile.am
Nick Clifton [Wed, 14 Feb 2001 18:49:56 +0000 (18:49 +0000)]
Add obvious fix rule
H.J. Lu [Wed, 14 Feb 2001 18:34:13 +0000 (18:34 +0000)]
2001-02-14 H.J. Lu <hjl@gnu.org>
* configure.tgt: Remove mention of earmelf_linux26.
H.J. Lu [Wed, 14 Feb 2001 17:29:47 +0000 (17:29 +0000)]
2001-02-14 H.J. Lu <hjl@gnu.org>
* libcoff-in.h (pe_tdata): Add members target_subsystem and
force_minimum_alignment.
Andreas Jaeger [Wed, 14 Feb 2001 10:57:47 +0000 (10:57 +0000)]
2001-02-14 Bo Thorsen <bo@suse.de>
* elf64-x86-64.c: Small formatting fixes and rearrangements of code.
(elf64_86_64_size_info): Struct added to fix a problem
with the hashtable string entries.
(elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt.
(elf64_x86_64_size_dynamic_sections): A FIXME removed.
(elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and
remove the FIXME for this.
(elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt
section. Also removed the FIXME for it.
(x86_64_elf_howto_table): Use bfd_elf_generic_reloc.
(ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker.
(elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
Jim Wilson [Wed, 14 Feb 2001 01:46:10 +0000 (01:46 +0000)]
Address comment from Richard about relocs always needing a type.
* config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
reloc instead of a 0 reloc.
(md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
as done.
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
H.J. Lu [Tue, 13 Feb 2001 23:58:35 +0000 (23:58 +0000)]
It is SYMTAB, not STMTAB.
Richard Henderson [Tue, 13 Feb 2001 23:08:09 +0000 (23:08 +0000)]
* elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required
and not user provided.
Richard Henderson [Tue, 13 Feb 2001 23:07:54 +0000 (23:07 +0000)]
* emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
Kazu Hirata [Tue, 13 Feb 2001 22:41:23 +0000 (22:41 +0000)]
2001-02-13 Kazu Hirata <kazu@hxi.com>
* rs6000-core.c: Fix formatting.
Kazu Hirata [Tue, 13 Feb 2001 22:39:17 +0000 (22:39 +0000)]
2001-02-13 Kazu Hirata <kazu@hxi.com>
* vms.c (vms_print_symbol): Remove unreachable code.
H.J. Lu [Tue, 13 Feb 2001 22:23:33 +0000 (22:23 +0000)]
2001-02-13 H.J. Lu <hjl@gnu.org>
* ldexp.h (node_type): Add etree_provided.
* ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
type to etree_provided if defined by PROVIDE. Allow updating
for etree_provided.
(exp_print_tree): Handle etree_provided.
* mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
etree_provided.
Ian Lance Taylor [Tue, 13 Feb 2001 21:27:52 +0000 (21:27 +0000)]
* write.c (is_dnrange): Stop as soon as the address becomes
larger.
(relax_frag): Add segment parameter. Only call symbol_get_frag
once. Only call is_dnrange if the symbol is in the same segment,
and the symbol address is larger.
(relax_segment): Pass segment to md_relax_frag and relax_frag.
* write.h (relax_frag): Update declaration.
* config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
it to relax_frag.
* config/tc-m32r.c (m32r_relax_frag): Likewise.
* config/tc-m32r.h (md_relax_frag): Add segment parameter.
(m32r_relax_frag): Update declaration.
* config/tc-mips.h (md_relax_frag): Add segment parameter.
* config/tc-tic54x.h (md_relax_frag): Likewise.
* doc/internals.texi (CPU backend): Update documentation for
md_relax_frag.
DJ Delorie [Tue, 13 Feb 2001 21:05:09 +0000 (21:05 +0000)]
Regenerate
DJ Delorie [Tue, 13 Feb 2001 21:01:44 +0000 (21:01 +0000)]
* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
PEP64AOUTSZ to PEPAOUTSZ.
DJ Delorie [Tue, 13 Feb 2001 19:23:08 +0000 (19:23 +0000)]
* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
as _bfd_XXi_only_swap_filehdr_out.
(pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set
pe->force_minimum_alignment to TRUE.
(pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to
PEI_TARGET_SUBSYSTEM.
(pe_print_private_bfd_data): Call
_bfd_XX_print_private_bfd_data_common() instead of
_bfd_pe_print_private_bfd_data_common().
(pe_bfd_copy_private_bfd_data): Call
_bfd_XX_bfd_copy_private_bfd_data_common() instead of
_bfd_pe_bfd_copy_private_bfd_data_common().
(coff_bfd_copy_private_section_data): Define as
_bfd_XX_bfd_copy_private_section_data instead of
_bfd_pe_bfd_copy_private_section_data.
(coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead
of a _bfd_pe_get_symbol_info.
* peigen.c: Delete.
* peXXigen.c: Renamed from peigen.c.
(COFF_WITH_XX): Define this macro (will get expanded into
COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being
compiled as peigen.c or pepigen.c.
[COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to
define the canonical PEP structures and definitions.
(_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in
effect, enforce minimum file and section alignments. If
extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to
pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,
so, by default, this is a no-op).
* libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.
(_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map
_bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to
_bfd_pefoo if it's not defined. Use these macros to define
coff swap macros.
* libcoff.h (pe_tdata): Add members target_subsystem and
force_minimum_alignment.
* efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to
COFF_WITH_pep.
(PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.
* configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of
peigen.lo.
* coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.
(AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and
PEPAOUTHDR.
* Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.
(BFD64_BACKENDS_CFILES): Mention pepigen.c
(peigen.c): Add rule to generate from peXXigen.c.
(pepigen.c): Ditto.
(pepigen.lo): List dependencies for pepigen.lo.
* unwind-ia64.c (unw_decode_x1): Declare code arg with
ATTRIBUTE_UNUSED.
(unw_decode_x2): Ditto.
(unw_decode_x3): Ditto.
(unw_decode_x4): Ditto.
* pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ.
Rename from PEPAOUTHDR.
Alan Modra [Tue, 13 Feb 2001 12:44:19 +0000 (12:44 +0000)]
Handle long jumps for .code16 and .arch < 386 by using a two
instruction sequence consisting of a conditional jump of the
opposite sense around an unconditional jump to the target.
Add jumps/nojumps .arch modifier.
Alan Modra [Tue, 13 Feb 2001 11:17:48 +0000 (11:17 +0000)]
Update copyright date.
Alan Modra [Tue, 13 Feb 2001 11:13:53 +0000 (11:13 +0000)]
Fix parsing of multi-char operators.
Alan Modra [Tue, 13 Feb 2001 10:14:14 +0000 (10:14 +0000)]
(elf32_hppa_set_gp): Handle weak $global$.
If $global$ referenced but not defined, set its value here.
Jan Hubicka [Mon, 12 Feb 2001 16:54:08 +0000 (16:54 +0000)]
2001-02-09 Bo Thorsen <bo@suse.de>
* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
alignment to 3.
(elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
and relocation.
(elf64_x86_64_relocate_section): Fix formatting.
(elf64_x86_64_relocate_section): Fix addend for relocation of
R_X86_64_(8|16|32|PC8|PC16|PC32).
Jan Hubicka [Mon, 12 Feb 2001 16:47:15 +0000 (16:47 +0000)]
* elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
* tc-i386.c (i386_displacement): Fix handling of
BFD_RELOC_X86_64_GOTPCREL.
(i386_validate_fix): Likewise.
Jan Hubicka [Mon, 12 Feb 2001 16:42:49 +0000 (16:42 +0000)]
* i386.h (i386_optab): SSE integer converison instructions have
64bit versions on x86-64.
* i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
instructions.
(putop): Handle 'Y'
Phil Blundell [Mon, 12 Feb 2001 13:32:25 +0000 (13:32 +0000)]
2001-02-12 Philip Blundell <pb@futuretv.com>
* config/tc-arm.c (do_ldst): Improve warnings for unpredictable
ldrt/strt instructions.
H.J. Lu [Mon, 12 Feb 2001 00:23:37 +0000 (00:23 +0000)]
2001-02-11 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_bfd_final_link): Use file_align for STMTAB
alignment.
H.J. Lu [Mon, 12 Feb 2001 00:21:59 +0000 (00:21 +0000)]
2001-02-11 H.J. Lu <hjl@gnu.org>
* config/default.exp: Set up gcc_gas_flag.
* binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag
for Linux only.
* binutils-all/testprog.c: Include <string.h> and don't use
exit ().
Nick Clifton [Sun, 11 Feb 2001 23:22:25 +0000 (23:22 +0000)]
fix formatting
Nick Clifton [Sun, 11 Feb 2001 23:21:01 +0000 (23:21 +0000)]
oops - omitted from previous delta
Michael Sokolov [Sun, 11 Feb 2001 23:13:38 +0000 (23:13 +0000)]
* unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
literal concatenation.
Nick Clifton [Sun, 11 Feb 2001 23:11:41 +0000 (23:11 +0000)]
Apply several patches from Maciej W. Rozycki
Michael Sokolov [Sun, 11 Feb 2001 23:11:39 +0000 (23:11 +0000)]
* readelf.c (struct unw_aux_info): Remove const from the info member.
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.
Michael Sokolov [Sun, 11 Feb 2001 22:56:42 +0000 (22:56 +0000)]
* Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
directory.
* Makefile.in: Regenerate.