OSDN Git Service
Alan Modra [Sun, 25 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
DJ Delorie [Sat, 24 Jul 2004 18:04:39 +0000 (18:04 +0000)]
merge from gcc
Nick Clifton [Fri, 23 Jul 2004 16:32:53 +0000 (16:32 +0000)]
(_place_orphan): Use an already existing section name if that section does not
have any flags set.
H.J. Lu [Fri, 23 Jul 2004 15:40:19 +0000 (15:40 +0000)]
2004-07-23 H.J. Lu <hongjiu.lu@intel.com>
* bin-bugs.h (REPORT_BUGS_TO): Set to
"<URL:http://www.sourceware.org/bugzilla/>".
H.J. Lu [Thu, 22 Jul 2004 19:14:51 +0000 (19:14 +0000)]
Set BFD_VERSION_DATE to
20040722.
H.J. Lu [Thu, 22 Jul 2004 19:10:49 +0000 (19:10 +0000)]
2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Allow cs/ds in 64bit for branch hints.
H.J. Lu [Thu, 22 Jul 2004 18:09:02 +0000 (18:09 +0000)]
2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-inval.l: Remove the leading `+'.
Nick Clifton [Thu, 22 Jul 2004 16:52:43 +0000 (16:52 +0000)]
Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 disassemblers
H.J. Lu [Thu, 22 Jul 2004 15:06:32 +0000 (15:06 +0000)]
2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_fixup_link_order): Add _() to error message.
H.J. Lu [Thu, 22 Jul 2004 14:19:04 +0000 (14:19 +0000)]
bfd/
2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_fixup_link_order): Issue a warning and flag
an error if failed.
ld/
2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/crossref.exp: XFAIL ia64-*-* on the first test.
Nick Clifton [Thu, 22 Jul 2004 10:45:40 +0000 (10:45 +0000)]
oops - omitted from previous delta
Jim Wilson [Wed, 21 Jul 2004 19:21:41 +0000 (19:21 +0000)]
knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
Nick Clifton [Wed, 21 Jul 2004 18:18:04 +0000 (18:18 +0000)]
For DefaultSize instructions, don't guess a 'q' suffix if the instruction
doesn't support it.
DJ Delorie [Wed, 21 Jul 2004 17:27:07 +0000 (17:27 +0000)]
merge from gcc
Nick Clifton [Wed, 21 Jul 2004 16:09:43 +0000 (16:09 +0000)]
Corrections for x86_64 assembly.
H.J. Lu [Wed, 21 Jul 2004 15:46:22 +0000 (15:46 +0000)]
Update BFD_VERSION_DATE to
20040721.
H.J. Lu [Wed, 21 Jul 2004 15:42:58 +0000 (15:42 +0000)]
bfd/
2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
* aout-adobe.c (aout_32_section_already_linked): Defined.
* aout-target.h (MY_section_already_linked): Likewise.
* aout-tic30.c (MY_section_already_linked): Likewise.
* binary.c (binary_section_already_linked): Likewise.
* bout.c (b_out_section_already_linked): Likewise.
* coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise.
* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
* coffcode.h (coff_section_already_linked): Likewise.
* i386msdos.c (msdos_section_already_linked): Likewise.
* i386os9k.c (os9k_section_already_linked): Likewise.
* ieee.c (ieee_section_already_linked): Likewise.
* ihex.c (ihex_section_already_linked): Likewise.
* mach-o.c (bfd_mach_o_section_already_linked): Likewise.
* mmo.c (mmo_section_already_linked): Likewise.
* nlm-target.h (nlm_section_already_linked): Likewise.
* oasys.c (oasys_section_already_linked): Likewise.
* pef.c (bfd_pef_section_already_linked): Likewise.
* ppcboot.c (ppcboot_section_already_linked): Likewise.
* som.c (som_bfd_discard_group): Likewise.
* srec.c (srec_section_already_linked): Likewise.
* tekhex.c (tekhex_section_already_linked): Likewise.
* versados.c (versados_section_already_linked): Likewise.
* vms.c (vms_section_already_linked): Likewise.
* coff-target.h (_bfd_xcoff_section_already_linked): Likewise.
* xsym.c (bfd_sym_section_already_linked): Likewise.
* bfd-in.h (bfd_section_already_linked_table_init): New.
(bfd_section_already_linked_table_free): Likewise.
* coff-rs6000.c (rs6000coff_vec): Add
_bfd_generic_section_already_linked.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
* elf-bfd.h (_bfd_elf_section_already_linked): New prototype.
* elflink.c (_bfd_elf_section_already_linked): New function.
* elfxx-target.h (bfd_elfNN_section_already_linked): Defined.
* libbfd-in.h (_bfd_nolink_section_already_linked): Defined.
(_bfd_generic_section_already_linked): New.
(bfd_section_already_linked_hash_entry): Likewise.
(bfd_section_already_linked): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
* linker.c (bfd_section_already_linked): New.
(_bfd_section_already_linked_table): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
(already_linked_newfunc): Likewise.
(bfd_section_already_linked_table_init): Likewise.
(bfd_section_already_linked_table_free): Likewise.
(_bfd_generic_section_already_linked): Likewise.
* section.c (bfd_section): Remove comdat.
(bfd_comdat_info): Moved to ...
* bfd-in.h (coff_comdat_info): Here.
(bfd_coff_get_comdat_section): New.
* coffgen.c (bfd_coff_get_comdat_section): Likewise.
* libcoff-in.h (coff_section_tdata): Add comdat.
* coffcode.h (handle_COMDAT): Updated.
* cofflink.c (coff_link_add_symbols): Likewise.
* ecoff.c (bfd_debug_section): Likewise.
* targets.c (bfd_target): Add _section_already_linked.
(BFD_JUMP_TABLE_LINK): Updated.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libcoff.h: Likewise.
binutils/
2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
to access comdat.
* objdump.c (dump_section_header): Likewise.
ld/
2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (already_linked_hash_entry): Removed.
(already_linked): Likewise.
(already_linked_table): Likewise.
(section_already_linked): Call bfd_section_already_linked.
(lang_process): Replace already_linked_table_init with
bfd_section_already_linked_table_init and check return. Replace
already_linked_table_free with bfd_section_already_linked_table_free.
Nick Clifton [Wed, 21 Jul 2004 15:05:46 +0000 (15:05 +0000)]
(init_os): Make sure that the newly allocated userdata structure is zeroed out.
Paul Brook [Wed, 21 Jul 2004 13:32:26 +0000 (13:32 +0000)]
* elflink.c (elf_get_linked_section_vma, compare_link_order,
elf_fixup_link_order): New functions.
(bfd_elf_final_link): Call elf_fixup_link_order.
Alexandre Oliva [Wed, 21 Jul 2004 06:46:20 +0000 (06:46 +0000)]
* elf-bfd.h (ELF_COMMON_DEF_P): New.
* elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle
common definitions.
* elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of
_bfd_elf_symbol_refs_local_p.
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common
symbols.
Maciej W. Rozycki [Tue, 20 Jul 2004 18:02:09 +0000 (18:02 +0000)]
* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test
expects load delay slots.
Maciej W. Rozycki [Tue, 20 Jul 2004 17:59:00 +0000 (17:59 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Move coprocessor 2
move/branch operations to the bottom so that VR5400 multimedia
instructions take precedence in disassembly.
gas/testsuite/
* gas/mips/vr5400.d: Update for a correct disassembly of
"racm.ob".
Maciej W. Rozycki [Tue, 20 Jul 2004 17:55:02 +0000 (17:55 +0000)]
* config/tc-mips.c (append_insn): Handle constant expressions with
no associated relocation.
(mips_ip): Cancel the expression after use for the Q format
specifier.
(parse_relocation): Return no relocation for unsupported
operators.
(my_getSmallExpression): Return no relocation if no relocation
operators are used.
Maciej W. Rozycki [Tue, 20 Jul 2004 17:49:31 +0000 (17:49 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Remove the MIPS32
ISA-specific "break" encoding.
gas/testsuite/
* gas/mips/mips32.s: Adjust for the unified "break" syntax. Add
another "break" case. Update the comment accordingly.
* gas/mips/set-arch.s: Likewise.
* gas/mips/mips32.d: Adjust for the new output.
* gas/mips/set-arch.d: Likewise.
Dave Anglin [Tue, 20 Jul 2004 03:07:08 +0000 (03:07 +0000)]
* config/obj-som.c (adjust_stab_sections): Add prototype.
(obj_som_compiler, obj_som_version, obj_som_copyright,
adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
* config/tc-hppa.c (update_subspace): Likewise.
(is_defined_subspace): Amplify comment.
* config/obj-som.h (som_frob_file): Add prototype.
H.J. Lu [Mon, 19 Jul 2004 19:15:43 +0000 (19:15 +0000)]
2004-07-19 Christopher Faylor <cgf@timesys.com>
H.J. Lu <hongjiu.lu@intel.com>
* subsegs.c (section_symbol): Don't create a new segment when
existing segment is undefined.
H.J. Lu [Mon, 19 Jul 2004 19:14:51 +0000 (19:14 +0000)]
2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention the new --add-needed/--no-add-needed and
--as-needed/--no-as-needed options.
H.J. Lu [Mon, 19 Jul 2004 16:40:52 +0000 (16:40 +0000)]
bfd/
2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and
DYN_NO_NEEDED.
(bfd_elf_get_dyn_lib_class): New prototype.
* elf.c (bfd_elf_get_dyn_lib_class): New function.
* elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED,
DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED
entry is needed. Issue an error if a DT_NEEDED entry is needed
for a file marked DYN_NO_NEEDED.
(elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit
for DT_NEEDED tags.
* bfd-in2.h: Regenerated.
ld/
2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
check the add_needed field.
(dt_needed): New struct.
(gld${EMULATION_NAME}_try_needed): Change the first argument
to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
bit in the file where the DT_NEEDED entry comes from.
(gld${EMULATION_NAME}_search_needed): Change the second
argument to a pointer to struct dt_needed.
(gld${EMULATION_NAME}_check_ld_so_conf): Updated.
(gld${EMULATION_NAME}_after_open): Likewise.
* ld.texinfo: Add --add-needed document.
* ldlang.c (new_afile): Set p->add_needed.
* ldlang.h (lang_input_statement_type): Add add_needed field.
* ldmain.h (add_needed): Declare.
* ldmain.c (add_needed): New global var.
* lexsup.c (option_values): Add OPTION_ADD_NEEDED and
OPTION_NO_ADD_NEEDED.
(ld_options): Likewise.
(parse_args): Handle them.
Richard Earnshaw [Fri, 16 Jul 2004 22:12:26 +0000 (22:12 +0000)]
* config/tc-arm.c: Include include/opcode/arm.h.
(ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
(FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
(FPU_ARCH_*): Delete.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.
Richard Earnshaw [Fri, 16 Jul 2004 21:59:35 +0000 (21:59 +0000)]
* arm.h: Remove all old content. Replace with architecture defines
from gas/config/tc-arm.c.
Nick Clifton [Fri, 16 Jul 2004 11:14:33 +0000 (11:14 +0000)]
oops - omitted from previous delta
Nick Clifton [Thu, 15 Jul 2004 16:26:41 +0000 (16:26 +0000)]
Accept armbe as a big-endian arm configuration.
Nick Clifton [Thu, 15 Jul 2004 15:11:56 +0000 (15:11 +0000)]
Support MAP directive
Nick Clifton [Thu, 15 Jul 2004 14:04:31 +0000 (14:04 +0000)]
gas/h8300/h8300.exp (do_h8300hn_addressgen): Addition of new test case for
H8300H normal target to check symbol address generation.
gas/h8300/symaddgen.s: New test.
Alan Modra [Thu, 15 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
Dave Anglin [Wed, 14 Jul 2004 20:07:41 +0000 (20:07 +0000)]
* elflink.c (elf_section_complain_discarded): Don't complain in
.PARISC.unwind.
Nick Clifton [Wed, 14 Jul 2004 08:53:59 +0000 (08:53 +0000)]
Revert previous delta - the bug had already been fixed.
Alan Modra [Wed, 14 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
DJ Delorie [Tue, 13 Jul 2004 21:10:23 +0000 (21:10 +0000)]
merge from gcc
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.
Nick Clifton [Tue, 13 Jul 2004 17:31:15 +0000 (17:31 +0000)]
Add support for & | << >> ~ arithmetic operators in Intel mode
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.
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.
Nick Clifton [Tue, 13 Jul 2004 16:28:05 +0000 (16:28 +0000)]
Fix typo in comment
Nick Clifton [Tue, 13 Jul 2004 16:17:28 +0000 (16:17 +0000)]
Delete vtable tests
Nick Clifton [Tue, 13 Jul 2004 15:34:41 +0000 (15:34 +0000)]
fix typo
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.
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.
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__".
Alan Modra [Tue, 13 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
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.
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.
Alan Modra [Mon, 12 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
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.
Andreas Schwab [Sun, 11 Jul 2004 14:29:50 +0000 (14:29 +0000)]
* m68k-dis.c (m68k_valid_ea): Fix typos in last change.
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.
Alan Modra [Sun, 11 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 10 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
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
Nick Clifton [Fri, 9 Jul 2004 12:32:35 +0000 (12:32 +0000)]
Rename sh-symbian-elf toolchain to sh-*-symbianelf
Alan Modra [Fri, 9 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
Richard Sandiford [Thu, 8 Jul 2004 15:41:11 +0000 (15:41 +0000)]
Remove superfluous stuff from 2004-07-03 entry.
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.
Alan Modra [Thu, 8 Jul 2004 00:00:37 +0000 (00:00 +0000)]
daily update
Nick Clifton [Wed, 7 Jul 2004 17:37:19 +0000 (17:37 +0000)]
Undo accidental commit whilst adding crx-elf port
Nick Clifton [Wed, 7 Jul 2004 17:28:53 +0000 (17:28 +0000)]
Add new port: crx-elf
Alan Modra [Wed, 7 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Nick Clifton [Tue, 6 Jul 2004 16:58:43 +0000 (16:58 +0000)]
Add support for sh-symbian-elf target
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.
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.
Alan Modra [Tue, 6 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
Alan Modra [Mon, 5 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
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.
Alan Modra [Sun, 4 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
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.
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.
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.
Alan Modra [Sat, 3 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
Martin Schwidefsky [Fri, 2 Jul 2004 14:12:01 +0000 (14:12 +0000)]
* config.bfd: Add want64 to configuration target s390-*-linux*.
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.
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.
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.
Alan Modra [Fri, 2 Jul 2004 06:46:17 +0000 (06:46 +0000)]
* ld-discard/static.d: Accept both original sym and section sym.
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.
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.
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.
Alan Modra [Fri, 2 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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 ().
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.
Alan Modra [Thu, 1 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update