OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years agomerge from gcc
DJ Delorie [Tue, 13 Jul 2004 21:10:23 +0000 (21:10 +0000)]
merge from gcc

20 years ago(make_import_fixup): Use bfd_get_32 to correct for endian-ness of extracted
Nick Clifton [Tue, 13 Jul 2004 18:56:38 +0000 (18:56 +0000)]
(make_import_fixup): Use bfd_get_32 to correct for endian-ness of extracted
addend.

20 years agoAdd support for & | << >> ~ arithmetic operators in Intel mode
Nick Clifton [Tue, 13 Jul 2004 17:31:15 +0000 (17:31 +0000)]
Add support for  & | << >> ~  arithmetic operators in Intel mode

20 years ago* ld-h8300/h8300.exp: Addition of gcsection test case.
Nick Clifton [Tue, 13 Jul 2004 16:56:09 +0000 (16:56 +0000)]
* ld-h8300/h8300.exp: Addition of gcsection test case.
* ld-h8300/gcsection.s: New test source file.
* ld-h8300/gcsection.d: New test expected disassembly file.

20 years ago* dllwrap.c: Replace 'program_name' with 'prog_name' to avoid conflicts with
Nick Clifton [Tue, 13 Jul 2004 16:46:51 +0000 (16:46 +0000)]
* dllwrap.c: Replace 'program_name' with 'prog_name' to avoid conflicts with
  exported global defined in bucomm.h.
  (deduce_name): Rename parameter 'program_name' to 'name' to avoid shadowing
  the global defined in bucomm.h.

20 years agoFix typo in comment
Nick Clifton [Tue, 13 Jul 2004 16:28:05 +0000 (16:28 +0000)]
Fix typo in comment

20 years agoDelete vtable tests
Nick Clifton [Tue, 13 Jul 2004 16:17:28 +0000 (16:17 +0000)]
Delete vtable tests

20 years agofix typo
Nick Clifton [Tue, 13 Jul 2004 15:34:41 +0000 (15:34 +0000)]
fix typo

20 years ago(elf_sort_symbol): Restructure code to avoid bug in Solairs hosted versions of
Nick Clifton [Tue, 13 Jul 2004 12:55:42 +0000 (12:55 +0000)]
(elf_sort_symbol): Restructure code to avoid bug in Solairs hosted versions of
gcc.

20 years ago * gprof.c (main): For line-by-line profiling, there is no need to
Ben Elliston [Tue, 13 Jul 2004 12:18:57 +0000 (12:18 +0000)]
* gprof.c (main): For line-by-line profiling, there is no need to
specially exclude the default function set from the flat profile.

20 years ago* pe-dll.c (auto_export): Filter on just the import prefix, "_imp_", not
Nick Clifton [Tue, 13 Jul 2004 08:55:53 +0000 (08:55 +0000)]
* pe-dll.c (auto_export):  Filter on just the import prefix, "_imp_", not
"_imp__".

20 years agodaily update
Alan Modra [Tue, 13 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agodlltool.c (ext_prefix_alias): New global variable.
Nick Clifton [Mon, 12 Jul 2004 17:07:55 +0000 (17:07 +0000)]
dlltool.c (ext_prefix_alias): New global variable.
 (make_one_lib_file): Add aliases with prefixes for external and import
 definitions.
 (usage): Document -p option.
 (long_options): Add --ext-prefix-alias option.
 (main): Handle -p.
* doc/binutils.texi: Document new switch.
* NEWS: Mention new switch.

20 years ago2004-07-12 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 12 Jul 2004 12:03:42 +0000 (12:03 +0000)]
2004-07-12  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Add noconfigdirs for crx-*-*.
* configure: Regenerate.

2004-07-09  Loren J. Rittle <ljrittle@acm.org>

* configure.in: Build libmudflap by default on FreeBSD.
* configure: Regenerated.

2004-07-09  Mark Mitchell  <mark@codesourcery.com>

* configure.in: Do not build libmudflap by default on non-GNU/Linux
systems.
* configure: Regenerated.

2004-07-08 John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR target/16344
* Makefile.tpl (profiledbootstrap): Build runtime libraries with
feedback based compiler.
* Makefile.in: Rebuilt.

2004-07-05  Phil Edwards  <phil@codesourcery.com>

* configure.in:  Do not prepend $srcdir to /dev/null in
makefile fragments.
* configure:  Regenerate.

20 years agodaily update
Alan Modra [Mon, 12 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * config/tc-m68k.c: Convert to C90. Remove redundant
Andreas Schwab [Sun, 11 Jul 2004 15:20:30 +0000 (15:20 +0000)]
* config/tc-m68k.c: Convert to C90.  Remove redundant
declarations.  Indentation fixup.
[M68KCOFF]: Include "obj-coff.h" instead of declaring
obj_coff_section ourselves.

20 years ago* m68k-dis.c (m68k_valid_ea): Fix typos in last change.
Andreas Schwab [Sun, 11 Jul 2004 14:29:50 +0000 (14:29 +0000)]
* m68k-dis.c (m68k_valid_ea): Fix typos in last change.

20 years agoFix linker big-endian support.
Jim Wilson [Sun, 11 Jul 2004 03:15:29 +0000 (03:15 +0000)]
Fix linker big-endian support.
* elfxx-ia64.c (elfNN_ia64_relax_ldxmov): Remove abfd parameter.
(elfNN_ia64_install_value, elfNN_ia64_relax_brl): Likewise.
(elfNN_ia64_relax_section, elfNN_ia64_relocate_section,
elfNN_ia64_finish_dynamic_symbol, elfNN_ia64_finish_dynamic_sections):
Fix callers.
(elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64.  Change
bfd_put_64 to bfd_putl64.
(elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise.

20 years agodaily update
Alan Modra [Sun, 11 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sat, 10 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years agoMake -meb/-mel options work.
Jim Wilson [Fri, 9 Jul 2004 23:21:54 +0000 (23:21 +0000)]
Make -meb/-mel options work.
* config/tc-ia64.c (default_big_endian): New.
(dot_byteorder, md_begin): Use it.
(md_parse_option): Set it.

20 years ago2004-07-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 9 Jul 2004 19:27:15 +0000 (19:27 +0000)]
2004-07-09  H.J. Lu  <hongjiu.lu@intel.com>

PR 240
* elfxx-ia64.c (elfNN_ia64_relax_section): Only warn br in
.init/.fini sections when trying to relax it.

20 years agobinutils/testsuite/:
Andreas Schwab [Fri, 9 Jul 2004 18:42:14 +0000 (18:42 +0000)]
binutils/testsuite/:
* binutils-all/m68k/movem.s: New file.

* binutils-all/m68k/objdump.exp: New file.

include/opcode/:
* m68k.h: Fix comment.

opcodes/:
* m68k-dis.c (m68k_valid_ea): Check validity of all codes.

20 years ago* gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT.
Nick Clifton [Fri, 9 Jul 2004 16:32:01 +0000 (16:32 +0000)]
* gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT.
* gas/m32r/pic2.d: New file: Expected results.

20 years ago (asm_prefix): Add parameter: name. No underscore for symbols beginning with ?.
Nick Clifton [Fri, 9 Jul 2004 16:20:05 +0000 (16:20 +0000)]
 (asm_prefix): Add parameter: name. No underscore for symbols beginning with ?.
(ASM_PREFIX): Add parameter: NAME.
(gen_exp_file): Use new parameter.
(make_label): Likewise.
(make_imp_label): Likewise.
(make_one_lib_file): Likewise.

20 years ago* elf.c (assign_file_positions_for_segments): Make sure the .dynamic section
Nick Clifton [Fri, 9 Jul 2004 16:06:20 +0000 (16:06 +0000)]
* elf.c (assign_file_positions_for_segments): Make sure the .dynamic section
is the first section in the PT_DYNAMIC segment

20 years agoRename sh-symbian-elf toolchain to sh-*-symbianelf
Nick Clifton [Fri, 9 Jul 2004 12:32:35 +0000 (12:32 +0000)]
Rename sh-symbian-elf toolchain to sh-*-symbianelf

20 years agodaily update
Alan Modra [Fri, 9 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago* Makefile.def (host_modules): Set bootstrap=true for flex.
Alexandre Oliva [Thu, 8 Jul 2004 19:46:05 +0000 (19:46 +0000)]
* Makefile.def (host_modules): Set bootstrap=true for flex.
* Makefile.tpl (all-gcc): Depend on texinfo and flex.
* Makefile.in: Rebuilt.

20 years ago * ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test.
Richard Sandiford [Thu, 8 Jul 2004 15:43:00 +0000 (15:43 +0000)]
* ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test.
* ld-mips-elf/mips-elf.exp: Run it.

20 years agoRemove superfluous stuff from 2004-07-03 entry.
Richard Sandiford [Thu, 8 Jul 2004 15:41:11 +0000 (15:41 +0000)]
Remove superfluous stuff from 2004-07-03 entry.

20 years ago * config/tc-mips.c (mips_fix_adjustable): If the full addend is
Richard Sandiford [Thu, 8 Jul 2004 15:39:43 +0000 (15:39 +0000)]
* config/tc-mips.c (mips_fix_adjustable): If the full addend is
going to be split into more than one in-place addend, return 0
for relocations against mergeable sections.  Associate comments
with code.

20 years agodaily update
Alan Modra [Thu, 8 Jul 2004 00:00:37 +0000 (00:00 +0000)]
daily update

20 years agoUndo accidental commit whilst adding crx-elf port
Nick Clifton [Wed, 7 Jul 2004 17:37:19 +0000 (17:37 +0000)]
Undo accidental commit whilst adding crx-elf port

20 years agoAdd new port: crx-elf
Nick Clifton [Wed, 7 Jul 2004 17:28:53 +0000 (17:28 +0000)]
Add new port: crx-elf

20 years agodaily update
Alan Modra [Wed, 7 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agoAdd support for sh-symbian-elf target
Nick Clifton [Tue, 6 Jul 2004 16:58:43 +0000 (16:58 +0000)]
Add support for sh-symbian-elf target

20 years ago(output_file_create): Report the target format chosen when bfd_openw reports
Nick Clifton [Tue, 6 Jul 2004 16:42:04 +0000 (16:42 +0000)]
(output_file_create): Report the target format chosen when bfd_openw reports
that it is invalid.

20 years ago(coff_pseudo_table): Only define the weak pseudo for BFD based assemblers.
Nick Clifton [Tue, 6 Jul 2004 15:30:26 +0000 (15:30 +0000)]
(coff_pseudo_table): Only define the weak pseudo for BFD based assemblers.

20 years agodaily update
Alan Modra [Tue, 6 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
Dave Anglin [Mon, 5 Jul 2004 20:00:13 +0000 (20:00 +0000)]
* emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
* emulparams/hppalinux.sh: Likewise.
* scripttempl/elf.sc: Place .plt just before .got when .plt is in
data segment and PLT_BEFORE_GOT is defined.

20 years ago2004-06-30 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Mon, 5 Jul 2004 13:35:44 +0000 (13:35 +0000)]
2004-06-30  Andrew Stubbs <andrew.stubbs@superh.com>

bfd:
* elf32-sh.c: Include ../opcodes/sh-opc.h .
* Makefile.am: Ran make dep-am .
* Makefile.in: Ran make dep-in .

gas:
* config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
(md_parse_option): Remove redundant -isa testing.
Make bfd_arch variable const.
(md_show_usage): Make bfd_arch variable const.

20 years agodaily update
Alan Modra [Mon, 5 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years agoEmit error for unaligned instructions.
Jim Wilson [Sun, 4 Jul 2004 00:29:21 +0000 (00:29 +0000)]
Emit error for unaligned instructions.
* config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
* config/tc-ia64.h (md_frag_check): Define.

20 years agodaily update
Alan Modra [Sun, 4 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-07-04 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
Christopher Faylor [Sat, 3 Jul 2004 16:07:51 +0000 (16:07 +0000)]
2004-07-04  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>

* bfd/cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak
externals properly.
* src/gas/config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
externals.
* binutils/doc/binutils.texi (nm): Clarify weak symbol description.
* gas/config/tc-i386.c (tc_gen_reloc): Use addend for weak symbols in TE_PE.
* gas/doc/as.texinfo (Weak): Document PE weak symbols.
* ld/ld.texinfo (WIN32): Document PE weak symbols.

20 years ago * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
Richard Sandiford [Sat, 3 Jul 2004 15:20:53 +0000 (15:20 +0000)]
* config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
(reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
(mips_frob_file): Rework so that only a single pass through the
relocs is needed.  Allow %lo()s to have higher offsets than their
corresponding %hi()s or %got()s.

testsuite/
* gas/mips/elf{,el}-rel.d: Adjust so that the earliest %hi() matches
the earliest %lo().
* gas/mips/elf-rel11.d: Don't expect the relocs to be reordered.
* gas/mips/elf-rel20.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago2004-07-03 Maciej W. Rozycki <macro@linux-mips.org>
Richard Sandiford [Sat, 3 Jul 2004 15:17:42 +0000 (15:17 +0000)]
2004-07-03  Maciej W. Rozycki  <macro@linux-mips.org>

* gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression.

20 years agodaily update
Alan Modra [Sat, 3 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * config.bfd: Add want64 to configuration target s390-*-linux*.
Martin Schwidefsky [Fri, 2 Jul 2004 14:12:01 +0000 (14:12 +0000)]
* config.bfd: Add want64 to configuration target s390-*-linux*.

20 years ago * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
Kaz Kojima [Fri, 2 Jul 2004 11:25:54 +0000 (11:25 +0000)]
* emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.

* ld-elf/frame.exp: Don't run on sh*-*-elf*.
* ld-sh/shared-1.d: Adjust for section reordering changes.
* ld-sh/shared-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/sh64/abi32.xd: Likewise.
* ld-sh/sh64/abi64.xd: Likewise.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/shdl32.xd: Likewise.
* ld-sh/sh64/shdl64.xd: Likewise.

20 years ago(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have come
Nick Clifton [Fri, 2 Jul 2004 11:12:29 +0000 (11:12 +0000)]
(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have come
from undefined symbols.
Always consider this fixup to have been processed as a reloc cannot be
generated for it.

20 years ago2004-07-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 2 Jul 2004 07:56:07 +0000 (07:56 +0000)]
2004-07-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (build_modules): Add bison, byacc, flex,
m4, texinfo.
(flags_to_pass): Add FLEX.
* Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New.
(BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it.
(DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4,
DEFAULT_MAKEINFO): Remove.
(CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON,
CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute.
(YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into
objdir or else use configured tool.
(all-build): New.
(all): Depend on it.
(Build module dependencies): Add.
* Makefile.in: Regenerate.
* configure.in: Better support for multiple build modules,
matching what is done for host/target modules.  Do not look
for "plausible" locations of build tools if Canadian cross.
Use autoconf's AC_PROG_CC to find a C compiler.  Define
BUILD_DIR_PREFIX.  Look for flex, makeinfo and m4.
* configure: Regenerate.

20 years ago * ld-discard/static.d: Accept both original sym and section sym.
Alan Modra [Fri, 2 Jul 2004 06:46:17 +0000 (06:46 +0000)]
* ld-discard/static.d: Accept both original sym and section sym.

20 years ago * frags.h (struct frag): Add has_code and insn_addr fields.
Alan Modra [Fri, 2 Jul 2004 06:40:19 +0000 (06:40 +0000)]
* frags.h (struct frag): Add has_code and insn_addr fields.
* write.c (cvt_frag_to_fill): Invoke md_frag_check.
* config/tc-ppc.c (md_assemble): Check and set insn_addr.
* config/tc-ppc.h (md_frag_check): Define.

20 years ago2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Jul 2004 02:01:23 +0000 (02:01 +0000)]
2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: New.
* gas/ia64/group-1.s: Likewise.

* gas/ia64/ia64.exp: Add group-1 to test comdat group.

20 years agobfd/
H.J. Lu [Fri, 2 Jul 2004 01:39:32 +0000 (01:39 +0000)]
bfd/

2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* bfd.c (bfd_get_section_ident): New.

* elflink.c (elf_link_read_relocs_from_section): Call
bfd_get_section_ident to identify the section when reporting
error.
(_bfd_elf_link_output_relocs): Likewise.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
(bfd_elf_gc_record_vtinherit): Likewise.

* bfd-in2.h: Regenerated.
ld/

2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
the section.

20 years agodaily update
Alan Modra [Fri, 2 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
Jakub Jelinek [Thu, 1 Jul 2004 16:24:51 +0000 (16:24 +0000)]
* ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunpic32.dd: Likewise.
* ld-sparc/tlssunpic32.sd: Likewise.
* ld-sparc/tlssunbin32.dd: Likewise.
* ld-sparc/tlssunbin32.sd: Likewise.
* ld-sparc/tlssunbin32.td: Likewise.

20 years ago(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
Nick Clifton [Thu, 1 Jul 2004 14:53:40 +0000 (14:53 +0000)]
(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
mips_elf_sort_hash_table ().

20 years agobfd/
Alan Modra [Thu, 1 Jul 2004 13:48:53 +0000 (13:48 +0000)]
bfd/
* elflink.c (elf_section_ignore_discarded_relocs): Revert last
change.  Comment.
(elf_section_complain_discarded): New function.  Handle
.gcc_except_table too.
(elf_link_input_bfd): Rewrite handling of relocs against symbols
in discarded sections.
* elf-bfd.h (elf_discarded_section): Protect macro arg.
ld/testsuite/
* ld-discard/extern.d: Update.
* ld-discard/start.d: Update.
* ld-discard/static.d: Update.

20 years agodaily update
Alan Modra [Thu, 1 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agoFix @pltoff linker segfault for non-shared link.
Jim Wilson [Wed, 30 Jun 2004 20:23:23 +0000 (20:23 +0000)]
Fix @pltoff linker segfault for non-shared link.
* elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff.  Initialize
to NULL.  Call get_pltoff if NULL and NEED_PLTOFF is true.

20 years agoAdjust for "mov rX=imm" changes.
Jim Wilson [Wed, 30 Jun 2004 18:14:38 +0000 (18:14 +0000)]
Adjust for "mov rX=imm" changes.
* gas/ia64/dv-imply.d: Update.
* gas/ia64/dv-mutex.d: Likewise.
* gas/ia64/dv-safe.d: Likewise.

20 years agoCorrectly assemble mov rX=imm.
Jim Wilson [Wed, 30 Jun 2004 18:12:38 +0000 (18:12 +0000)]
Correctly assemble mov rX=imm.
* ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds.
* ia64-asmtab.c: Regnerate.

20 years agobfd/
H.J. Lu [Wed, 30 Jun 2004 16:19:20 +0000 (16:19 +0000)]
bfd/

2004-06-30  H.J. Lu  <hongjiu.lu@intel.com>

PR 233
* elflink.c (elf_link_input_bfd): Issue an error for non-debug
local references to discarded sections and report their
locations.

ld/testsuite/

2004-06-30  H.J. Lu  <hongjiu.lu@intel.com>

PR 233
* ld-discard/extern.d: Updated.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.

20 years ago * elflink.c (elf_section_ignore_discarded_relocs): Don't test
Alan Modra [Wed, 30 Jun 2004 13:42:45 +0000 (13:42 +0000)]
* elflink.c (elf_section_ignore_discarded_relocs): Don't test
sec_info_type, test section name instead.

20 years ago2004-06-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 30 Jun 2004 03:51:25 +0000 (03:51 +0000)]
2004-06-29  H.J. Lu  <hongjiu.lu@intel.com>

PR 240
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch
in .init/.fini sections.

20 years agodaily update
Alan Modra [Wed, 30 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Use
Bob Wilson [Tue, 29 Jun 2004 22:03:33 +0000 (22:03 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Use
bfd_get_section_limit.

20 years ago * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
Bob Wilson [Tue, 29 Jun 2004 21:03:13 +0000 (21:03 +0000)]
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
output section size.

20 years ago* doc/Makefile.am (info): Rename goal to...
Maciej W. Rozycki [Tue, 29 Jun 2004 19:41:23 +0000 (19:41 +0000)]
* doc/Makefile.am (info): Rename goal to...
(info-local): ... this, to preserve implicit dependencies.
* doc/Makefile.in: Regenerate with automake 1.8.5.

20 years agogas/testsuite:
Joern Rennecke [Tue, 29 Jun 2004 16:35:05 +0000 (16:35 +0000)]
gas/testsuite:
Actually add these files:
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
ld/testsuite:
Actually add these files:
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.

20 years ago * ld-elf/frame.exp: Don't run on mcore.
Alan Modra [Tue, 29 Jun 2004 14:44:25 +0000 (14:44 +0000)]
* ld-elf/frame.exp: Don't run on mcore.

20 years ago * gas/m68k/mode5.s: Pad section.
Alan Modra [Tue, 29 Jun 2004 14:43:55 +0000 (14:43 +0000)]
* gas/m68k/mode5.s: Pad section.
* gas/m68k/mode5.d: Update.

20 years agobfd/
Alan Modra [Tue, 29 Jun 2004 14:13:47 +0000 (14:13 +0000)]
bfd/
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in
rawsize.
(mmix_elf_perform_relocation): Adjust for above change.
(mmix_elf_relocate_section): Likewise.
(mmix_elf_relax_section): Likewise.  Use output_section->rawsize.
(mmix_elf_get_section_contents): Delete.
(bfd_elf64_get_section_contents): Delete.
(mmix_elf_relocate_section): Zero stub area.
* linker.c (default_indirect_link_order): Alloc max of section size
and rawsize.
* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
* section.c (bfd_malloc_and_get_section): Likewise.
(struct bfd_section): Update rawsize comment.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (lang_reset_memory_regions): Save last relax pass section
size in rawsize.

20 years ago * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
Alan Modra [Tue, 29 Jun 2004 13:51:20 +0000 (13:51 +0000)]
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.

20 years ago * bfd-in.h (bfd_get_section_limit): Define.
Alan Modra [Tue, 29 Jun 2004 13:46:34 +0000 (13:46 +0000)]
* bfd-in.h (bfd_get_section_limit): Define.
* reloc.c (bfd_perform_relocation, bfd_install_relocation)
(_bfd_final_link_relocate): Use bfd_get_section_limit.
* aout-tic30.c (tic30_aout_final_link_relocate): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Likewise.
(bfd_ns32k_final_link_relocate): Likewise.
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise.
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise.
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc)
(i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise.
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc)
(m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise.
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elf32-or32.c (or32_elf_consth_reloc): Likewise.
* elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise.
* elf32-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Likewise.
* elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise.
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise.
* elf32-v850.c (v850_elf_reloc): Likewise.
* elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise.
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise.
* elf64-mips.c (mips_elf64_gprel32_reloc)
(mips16_gprel_reloc): Likewise.
* elf64-mmix.c (mmix_elf_reloc): Likewise.
* elf64-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf64-sparc.c (init_insn_reloc): Likewise.
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp)
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc)
(_bfd_mips_elf_generic_reloc): Likewise.
* bfd-in2.h: Regenerate.

20 years agomerge from gcc
DJ Delorie [Tue, 29 Jun 2004 12:51:56 +0000 (12:51 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Tue, 29 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Mon, 28 Jun 2004 18:01:46 +0000 (18:01 +0000)]
merge from gcc

20 years ago* Makefile.in: Regenerate to clean up breakage.
Maciej W. Rozycki [Mon, 28 Jun 2004 15:11:14 +0000 (15:11 +0000)]
* Makefile.in: Regenerate to clean up breakage.

20 years agoopcodes/
Alan Modra [Mon, 28 Jun 2004 14:08:08 +0000 (14:08 +0000)]
opcodes/
* ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf.
(extract_fxm): Don't test dialect.
(XFXFXM_MASK): Include the power4 bit.
(XFXM): Add p4 param.
(powerpc_opcodes): Add mfocrf and mtocrf.  Adjust mtcr.

gas/testsuite/
* gas/ppc/power4.d: Update.

20 years ago * bfd-in.h (struct stab_info): Move from stabs.c.
Alan Modra [Mon, 28 Jun 2004 13:57:59 +0000 (13:57 +0000)]
* bfd-in.h (struct stab_info): Move from stabs.c.
* stabs.c (struct stab_link_includes_table): Delete.
(stab_link_includes_lookup): Delete.
(_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one
level of indirection from sinfo parm.
(_bfd_link_section_stabs): Likewise.  Set SEC_LINKER_CREATED on
stabstr section.  Adjust hash table accesses.
* coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents
alloc.  Adjust stab_info test.
* cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info.
(_bfd_coff_final_link): Adjust stab_info test.
(_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections.
* elf-bfd.h (struct elf_link_hash_table): Include struct stab_info
in place.
* libcoff-in.h (struct coff_link_hash_table): Likewise.
* elf.c (_bfd_elf_link_hash_table_init): Clear stab_info.
* elflink.c (bfd_elf_final_link): Don't attempt to link linker created
stabstr section.  Adjust stab_info test.
* libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs)
(_bfd_write_stab_strings): Adjust prototypes.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
* bfd-in2.h: Regenerate.

20 years agodaily update
Alan Modra [Mon, 28 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agoFrom Miod Vallat <miod@online.fr>:
Mark Kettenis [Sun, 27 Jun 2004 15:08:05 +0000 (15:08 +0000)]
From Miod Vallat <miod@online.fr>:
* aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k.

20 years ago2003-07-21 Richard Sandiford <rsandifo@redhat.com>
Alexandre Oliva [Sun, 27 Jun 2004 06:31:22 +0000 (06:31 +0000)]
2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
* disassemble.c (disassembler): Handle bfd_mach_h8300sxn.

20 years ago* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
Alexandre Oliva [Sun, 27 Jun 2004 03:02:21 +0000 (03:02 +0000)]
* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
(struct elf32_mn10300_link_hash_entry): Remove
pcrel_relocs_copied.
(mn10300_elf_check_relocs): Only reserve dynamic relocations for
R_MN10300_32.  Don't adjust pcrel_relocs_copied.
(mn10300_elf_final_link_relocate): Fail for direct, pc-relative
and gotoff relocations if the symbol doesn't bind locally.  Use
_bfd_elf_symbol_refs_local_p to test.  Don't create dynamic
relocation for PCREL32.
(mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p
to test whether a symbol binds locally.
(elf32_mn10300_link_hash_newfunc): Don't initialize
pcrel_relocs_copied.
(_bfd_mn10300_elf_discard_copies): Delete.
(_bfd_mn10300_elf_size_dynamic_sections): Don't call it.

20 years agodaily update
Alan Modra [Sun, 27 Jun 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * ppc-opc.c (BH, XLBH_MASK): Define.
Alan Modra [Sat, 26 Jun 2004 08:32:12 +0000 (08:32 +0000)]
* ppc-opc.c (BH, XLBH_MASK): Define.
(powerpc_opcodes): Allow BH field on bclr, bclrl, bcctr, bcctrl.

20 years ago* config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*.
Mark Kettenis [Sat, 26 Jun 2004 07:05:15 +0000 (07:05 +0000)]
* config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*.

20 years ago * ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets.
Alan Modra [Sat, 26 Jun 2004 04:20:14 +0000 (04:20 +0000)]
* ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets.

20 years agodaily update
Alan Modra [Sat, 26 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * som.c (som_set_reloc_info): Correct small typo.
Joel Brobecker [Fri, 25 Jun 2004 18:30:54 +0000 (18:30 +0000)]
    * som.c (som_set_reloc_info): Correct small typo.

20 years ago2004-06-25 J"orn Rennecke <joern.rennecke@superh.com>
Joern Rennecke [Fri, 25 Jun 2004 16:48:01 +0000 (16:48 +0000)]
2004-06-25  J"orn Rennecke <joern.rennecke@superh.com>

include/gdb:
* callback.h (host_callback_struct): Replace members fdopen and
        alwaysopen with fd_buddy.
sim/common:
* callback.c: Changed all users.

20 years agomention remgenerated files
Nick Clifton [Fri, 25 Jun 2004 16:21:24 +0000 (16:21 +0000)]
mention remgenerated files

20 years agoAdd support for M32R GOT relocs
Nick Clifton [Fri, 25 Jun 2004 16:11:09 +0000 (16:11 +0000)]
Add support for M32R GOT relocs

20 years agodaily update
Alan Modra [Fri, 25 Jun 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago2004-06-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Jun 2004 15:07:43 +0000 (15:07 +0000)]
2004-06-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp: Use PIC for shared libraries by default.

20 years ago2004-06-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Jun 2004 15:07:02 +0000 (15:07 +0000)]
2004-06-24  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_check_relocs): Warn overflow
relocation symbol.
(elf64_x86_64_relocate_section): Issue an error for
R_X86_64_PC8, R_X86_64_PC16 and R_X86_64_PC32 relocations
against global symbols when building shared library.