OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years agodaily update
Alan Modra [Mon, 1 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sun, 31 Oct 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 30 Oct 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 30 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 29 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago PR target/18151
Aaron W. LaFramboise [Thu, 28 Oct 2004 19:43:35 +0000 (19:43 +0000)]
   PR target/18151
       * configure.in (case ${target}): Do not build fixincludes for avr.
       * configure: Regenerated.

19 years ago2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 28 Oct 2004 14:58:26 +0000 (14:58 +0000)]
2004-10-28  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.

19 years ago2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 28 Oct 2004 14:55:41 +0000 (14:55 +0000)]
2004-10-28  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak
undefined symbols for R_IA64_SECREL32MSB, R_IA64_SECREL32LSB,
R_IA64_SECREL64MSB and R_IA64_SECREL64LSB.

19 years ago * elf32-sh.c (tpoff): Take alignment into account.
Kaz Kojima [Thu, 28 Oct 2004 12:00:17 +0000 (12:00 +0000)]
* elf32-sh.c (tpoff): Take alignment into account.

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 28 Oct 2004 10:31:14 +0000 (10:31 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 28 Oct 2004 10:29:56 +0000 (10:29 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 28 Oct 2004 10:19:30 +0000 (10:19 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler).

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 28 Oct 2004 10:14:46 +0000 (10:14 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c (getreg_image): Bug fix, a return value was mistakenly ommited from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.

19 years agoFix spelling typo
Nick Clifton [Thu, 28 Oct 2004 09:56:14 +0000 (09:56 +0000)]
Fix spelling typo

19 years agoiq2000_elf_relocate_section): Do nothing when perfoming a relocatable link.
Nick Clifton [Thu, 28 Oct 2004 09:53:44 +0000 (09:53 +0000)]
iq2000_elf_relocate_section): Do nothing when perfoming a relocatable link.
(iq2000_elf_object_p): Do not set elf_bad_symtab.  This is only for MIPS ports
  under Irix.

19 years agodaily update
Alan Modra [Thu, 28 Oct 2004 00:00:10 +0000 (00:00 +0000)]
daily update

19 years ago2004-10-27 Richard Earnshaw <rearnsha@arm.com>
Paul Brook [Wed, 27 Oct 2004 20:48:22 +0000 (20:48 +0000)]
2004-10-27  Richard Earnshaw  <rearnsha@arm.com>

bfd/
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle
R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24.
(elf32_arm_final_link_relocate): Ditto.
(arm_add_to_rel, elf32_arm_relocate_section): Ditto.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto
(elf32_arm_adjust_dynamic_symbol): Ditto.
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and
R_ARM_JUMP32.  Move R_ARM_R{REL32,ABS32,PC24,BASE}...
(elf32_arm_r_howto): ... To here.
(elf32_arm_howto_from_type): Use elf32_arm_r_howto.
include/
* elf/arm.h: Add R_ARM_CALL and R_ARM_JUMP32.

19 years agoemultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter to
Nick Clifton [Wed, 27 Oct 2004 15:53:21 +0000 (15:53 +0000)]
emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter to
  invocation of lang_section_start.
emultempl/aix.em (_handle_option): Likewise.

Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, eelf64alpha_nbsd.c): Add
  dependency upon emultempl/alphaelf.em.
Makefile.in: Regenerate.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Wed, 27 Oct 2004 10:34:24 +0000 (10:34 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.
* gas/crx/cop_insn.d: Regenerate.
* gas/crx/list_insn.d: Likewise.

19 years ago* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
Tomer Levi [Wed, 27 Oct 2004 10:32:51 +0000 (10:32 +0000)]
* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.

19 years ago* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.
Tomer Levi [Wed, 27 Oct 2004 10:32:30 +0000 (10:32 +0000)]
* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Wed, 27 Oct 2004 10:31:39 +0000 (10:31 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Remove global variable 'post_inc_mode'.
(get_flags): New function.
(get_number_of_bits): Edit comments, update numeric values to supported sizes.
(process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
(getreg_image): Remove redundant code, update according to latest CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
(assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.

19 years ago* config/tc-crx.c: Remove global variable 'post_inc_mode'.
Tomer Levi [Wed, 27 Oct 2004 10:28:22 +0000 (10:28 +0000)]
* config/tc-crx.c: Remove global variable 'post_inc_mode'.
(get_flags): New function.
(get_number_of_bits): Edit comments, update numeric values to supported sizes.
(process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
(getreg_image): Remove redundant code, update according to latest CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
(assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Wed, 27 Oct 2004 10:27:00 +0000 (10:27 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
  (getregliststring): Support HI/LO and user registers.
* crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file.
(crx_regtab):  Likewise.
(crx_optab):  Likewise.
(crx_instruction): Reorder load/stor instructions, remove unsupported formats.
support new Co-Processor instruction 'cpi'.

19 years ago* crx-opc.c (crx_instruction): Update data structure according to the rearrangement...
Tomer Levi [Wed, 27 Oct 2004 10:24:39 +0000 (10:24 +0000)]
* crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file.
(crx_regtab):  Likewise.
(crx_optab):  Likewise.
(crx_instruction): Reorder load/stor instructions, remove unsupported formats.
support new Co-Processor instruction 'cpi'.

19 years ago* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
Tomer Levi [Wed, 27 Oct 2004 10:24:01 +0000 (10:24 +0000)]
* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
(getregliststring): Support HI/LO and user registers.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Wed, 27 Oct 2004 10:22:56 +0000 (10:22 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
(enum operand_type): Rearrange operands, edit comments.
replace us<N> with ui<N> for unsigned immediate.
replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively).
replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
(instruction type): Add NO_TYPE_INS.
(instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
(operand_entry): New field - 'flags'.
(operand flags): New.

19 years ago(enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
Tomer Levi [Wed, 27 Oct 2004 10:17:39 +0000 (10:17 +0000)]
(enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
(enum operand_type): Rearrange operands, edit comments.
replace us<N> with ui<N> for unsigned immediate.
replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively).
replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
(instruction type): Add NO_TYPE_INS.
(instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
(operand_entry): New field - 'flags'.
(operand flags): New.

19 years agoAdd an index operand to some of the iq2000 co-processor instructions
Nick Clifton [Wed, 27 Oct 2004 09:30:09 +0000 (09:30 +0000)]
Add an index operand to some of the iq2000 co-processor instructions

19 years ago * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
Mark Mitchell [Wed, 27 Oct 2004 06:57:43 +0000 (06:57 +0000)]
* emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
__exidx_{start,end} when not relocating.

19 years ago2004-10-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 Oct 2004 00:46:05 +0000 (00:46 +0000)]
2004-10-26  H.J. Lu  <hongjiu.lu@intel.com>

PR 475
* elfxx-ia64.c (elfNN_ia64_relocate_section): Correct
R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB
and R_IA64_SECREL64LSB.

19 years agodaily update
Alan Modra [Wed, 27 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agoMissed from previous commit.
Paul Brook [Tue, 26 Oct 2004 21:00:23 +0000 (21:00 +0000)]
Missed from previous commit.
ld/testsuite/
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.

19 years ago * configure.in (case ${target}): Do not build fixincludes
Aaron W. LaFramboise [Tue, 26 Oct 2004 20:39:00 +0000 (20:39 +0000)]
* configure.in (case ${target}): Do not build fixincludes
on platforms where it is not used.
* configure: Regenerated.
----------------------------------------------------------------------

19 years ago * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
Mark Mitchell [Tue, 26 Oct 2004 18:41:52 +0000 (18:41 +0000)]
* Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
* ldexp.h (segment_type): New type.
(segments): New variable.
* ldexp.c (segments): New variable.
(exp_print_token): Handle SEGMENT_START.
(fold_binary): Likewise.
* ldgram.y (SEGMENT_START): Declare it as a token.
(exp): Handle SEGMENT_START.
* ldlang.h (lang_address_statement_type): Add segment field.
(lang_section_start): Change prototype.
* ldlang.c (map_input_to_output_sections): Do not process section
assignments if a corresponding SEGMENT_START has already been
seen.
(lang_section_start): Add segment parameter.
* ldlex.l (SEGMENT_START): Add it.
* lexsup.c (seg_segment_start): New function.
(parse_args): Use it for -Tbss, -Tdata, and -Ttext.
* ld.texinfo (SEGMENT_START): Document it.
* emulparams/armsymbian.sh (EMBEDDED): Set it.
* scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
base addresses.  Do not map relocations.
* NEWS: Mention SEGMENT_START.

19 years agoreadelf.c (get_note_type): Handle notes not in core files.
Nick Clifton [Tue, 26 Oct 2004 16:05:42 +0000 (16:05 +0000)]
readelf.c (get_note_type): Handle notes not in core files.
  (process_note_sections): New function.
  (process_corefile_contents): Rename to ...
  (process_notes): ... this.
  (process_object): Call process_notes, not process_corefile_contents.
doc/binutils.texi: Update readelf -n documentation.

19 years agobfd/
Paul Brook [Tue, 26 Oct 2004 13:46:05 +0000 (13:46 +0000)]
bfd/
* elflink.c (elf_finalize_dynstr): Skip shared aux structure.
(bfd_elf_size_dynamic_sections): Create default version definition.
(elf_link_output_extsym): Adjust for default symbol version.
include/
* bfdlink.h (struct bfd_link_info): Add create_default_symver.
ld/
* ld.texinfo: Document --default-symver.
* ldmain.c (main): Set link_info.create_default_symver.
* lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
(ld_options): Add default-symver.
(parse_args): Handle OPTION_DEFAULT_SYMVER.
ld/testsuite/
* ld-elfvers/vers.exp (build_binary): Add ldargs parameter.
(build_vers_lib_pic_flags): New function.
Add vers29 test.
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.

19 years ago * ar.c (extract_file): Set atime to mtime for ar xo.
Jakub Jelinek [Tue, 26 Oct 2004 08:08:21 +0000 (08:08 +0000)]
* ar.c (extract_file): Set atime to mtime for ar xo.

19 years agodaily update
Alan Modra [Tue, 26 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
H.J. Lu [Mon, 25 Oct 2004 15:47:52 +0000 (15:47 +0000)]
2004-10-25  David Mosberger-Tang  <davidm@hpl.hp.com>

* config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
in an epilogue directive go negative.

19 years ago2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 25 Oct 2004 15:32:18 +0000 (15:32 +0000)]
2004-10-25  H.J. Lu  <hongjiu.lu@intel.com>

PR 474
* config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
after reporting template error during manual bundling. Reported
by Michael Dupont, michaelx.dupont@intel.com.

19 years ago * stabs.c (stab_demangle_v3_arglist): New static function, broken
Ian Lance Taylor [Mon, 25 Oct 2004 15:25:20 +0000 (15:25 +0000)]
* stabs.c (stab_demangle_v3_arglist): New static function, broken
out of stab_demangle_v3_argtypes.
(stab_demangle_v3_argtypes): Call it.
(stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
If we find an unrecognized component, print out its number.

19 years ago2004-10-25 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Mon, 25 Oct 2004 15:24:25 +0000 (15:24 +0000)]
2004-10-25  David Mosberger  <davidm@hpl.hp.com>

* readelf.c (slurp_ia64_unwind_table): Support relocations against
non-section symbols by adding in the symbol value.

19 years agoAdd ARM CFI support
Nick Clifton [Mon, 25 Oct 2004 12:26:04 +0000 (12:26 +0000)]
Add ARM CFI support

19 years agoPR 465
Nick Clifton [Mon, 25 Oct 2004 09:59:01 +0000 (09:59 +0000)]
PR 465
* readelf.c (dynamic_strings_length): New global variable.
(VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
strings in the dynamic string table.
(process_section_headers): Initialise dynamic_strings_length.
(process_dynamic_section): Likewise.
(process_object): Reset dynamic_string_length when the buffer is freed.
(dynamic_sections_mips_val): Use the new macros.
(process_dynamic_section): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(process_syminfo): Likewise.
(process_mips_specific): Likewise.
(dump_relocations): Add a new parameter 'strtablen' and use this to verify that
  string offset in a given reloc is valid.  Print a suitable error message
  otherwise.
(process_relocs): Pass the new argument to dump_relocations.

19 years ago2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 25 Oct 2004 09:47:25 +0000 (09:47 +0000)]
2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively).
  Remove unsupported 'popa' instruction.
Reverse operands order in store co-processor instructions.

19 years ago2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 25 Oct 2004 09:45:36 +0000 (09:45 +0000)]
2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively).
Remove unsupported 'popa' instruction.
Reverse operands order in store co-processor instructions.

19 years ago2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 25 Oct 2004 09:44:27 +0000 (09:44 +0000)]
2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (operand_type): Remove redundant types i3, i4, i5, i8, i12.
Add new unsigned immediate types us3, us4, us5, us16.

19 years ago'gas/crx' update
Tomer Levi [Mon, 25 Oct 2004 09:39:13 +0000 (09:39 +0000)]
'gas/crx' update

19 years agoRemove test for unsupported 'popa' instruction.
Tomer Levi [Mon, 25 Oct 2004 09:36:26 +0000 (09:36 +0000)]
Remove test for unsupported 'popa' instruction.

19 years agoReverse operands order in store co-processor instructions.
Tomer Levi [Mon, 25 Oct 2004 09:36:06 +0000 (09:36 +0000)]
Reverse operands order in store co-processor instructions.

19 years ago'config/tc-crx.c' update.
Tomer Levi [Mon, 25 Oct 2004 09:34:12 +0000 (09:34 +0000)]
'config/tc-crx.c' update.

19 years ago1. Check unsigned immediate operands validity. 2. Update coprocessor id to be unsigne...
Tomer Levi [Mon, 25 Oct 2004 09:30:55 +0000 (09:30 +0000)]
1. Check unsigned immediate operands validity. 2. Update coprocessor id to be unsigned immediate.

19 years agodaily update
Alan Modra [Mon, 25 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago * mmo.c: Adjust to ISO C.
Hans-Peter Nilsson [Sun, 24 Oct 2004 22:50:43 +0000 (22:50 +0000)]
* mmo.c: Adjust to ISO C.

19 years ago * mmo.c (mmo_write_section_description): New function broken out
Hans-Peter Nilsson [Sun, 24 Oct 2004 21:40:36 +0000 (21:40 +0000)]
* mmo.c (mmo_write_section_description): New function broken out
of mmo_internal_write_section.
(mmo_internal_write_section): For each of .text and .data, call
mmo_write_section_description before outputting contents if it has
nontrivially deducible vma or contents.
(mmo_has_leading_or_trailing_zero_tetra_p): New function.
(mmo_canonicalize_symtab): Adjust absolute symbols to .data
symbols if found within the .data address range.

19 years ago * ld-mmix/sec-8m.d: Adjust test for dump using correct section
Hans-Peter Nilsson [Sun, 24 Oct 2004 21:39:30 +0000 (21:39 +0000)]
* ld-mmix/sec-8m.d: Adjust test for dump using correct section
length.
* ld-mmix/sec-9.d: Renamed test, formerly known as sec-5.d.
* ld-mmix/sec-5.d, ld-mmix/b-offloc.s: Rewritten test.

19 years ago * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
Daniel Jacobowitz [Sun, 24 Oct 2004 18:45:38 +0000 (18:45 +0000)]
* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.

19 years ago* dlltool.c: Include <assert.h>.
Aaron W. LaFramboise [Sun, 24 Oct 2004 17:49:55 +0000 (17:49 +0000)]
* dlltool.c: Include <assert.h>.
(PREFIX_ALIAS_BASE): Define.
(struct export): Add member import_name;
(def_exports): Set import_name.
(make_one_lib_file): Remove prefix alias code, use import_name in .idata$6.
(gen_lib_file): Create and delete aliases.

* binutils-all/alias.def: New file.
* binutils-all/dlltool.exp: Two new -p tests.
* config/default.exp (dlltool_gas_flag): New variable.
Copy gas and lds executables into tmpdir/gas directory rather than making
symlinks which might not be supported by the host OS.
Attempt to handle the case where the host OS does not use the .exe extension
but the target OS does.
* lib/utils-lib.exp (exe_ext): New procedure.

19 years ago * mmo.c (File Layout): Correct place of misplaced blurb about
Hans-Peter Nilsson [Sun, 24 Oct 2004 14:09:16 +0000 (14:09 +0000)]
* mmo.c (File Layout): Correct place of misplaced blurb about
special data.

19 years ago * pe-dll.c (process_def_file): Don't export all symbols by default if
Danny Smith [Sun, 24 Oct 2004 01:00:12 +0000 (01:00 +0000)]
* pe-dll.c (process_def_file): Don't export all symbols by default if
building a position-independent executable.

19 years ago * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d,
Hans-Peter Nilsson [Sun, 24 Oct 2004 00:13:15 +0000 (00:13 +0000)]
* ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d,
ld-mmix/getaa14f.d, ld-mmix/jumpa-6b.d, ld-mmix/jumpa-6f.d,
ld-mmix/jumpa14b.d, ld-mmix/jumpa14f.d, ld-mmix/reg-1.d,
ld-mmix/reg-1m.d: Adjust for changed error message format.

19 years agodaily update
Alan Modra [Sun, 24 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * configure.in: Use an absolute path to install-sh.
Daniel Jacobowitz [Sat, 23 Oct 2004 20:30:02 +0000 (20:30 +0000)]
* configure.in: Use an absolute path to install-sh.
* configure: Regenerated.

19 years ago* dlltool.c: Include <assert.h>.
Nick Clifton [Sat, 23 Oct 2004 17:26:36 +0000 (17:26 +0000)]
* dlltool.c: Include <assert.h>.
(PREFIX_ALIAS_BASE): Define.
(struct export): Add member import_name;
(def_exports): Set import_name.
(make_one_lib_file): Remove prefix alias code, use import_name in .idata$6.
(gen_lib_file): Create and delete aliases.

* binutils-all/alias.def: New file.
* binutils-all/dlltool.exp: Two new -p tests.
* config/default.exp (dlltool_gas_flag): New variable.
Copy gas and lds executables into tmpdir/gas directory rather than making
symlinks which might not be supported by the host OS.
Attempt to handle the case where the host OS does not use the .exe extension
but the target OS does.
* lib/utils-lib.exp (exe_ext): New procedure.

19 years ago* config.bfd: Add mips64*-*-openbsd.
Mark Kettenis [Sat, 23 Oct 2004 12:23:15 +0000 (12:23 +0000)]
* config.bfd: Add mips64*-*-openbsd.

19 years agodaily update
Alan Modra [Sat, 23 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 22 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * elf32-xtensa.c (ebb_propose_action): Put declarations before
Bob Wilson [Thu, 21 Oct 2004 16:29:11 +0000 (16:29 +0000)]
* elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.

19 years ago2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 21 Oct 2004 15:32:41 +0000 (15:32 +0000)]
2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
* configure: Regenerate.

19 years agobfd/
H.J. Lu [Thu, 21 Oct 2004 15:28:33 +0000 (15:28 +0000)]
bfd/

2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR 463
* aoutx.h (aout_link_input_section_std): Pass proper hash entry
to linker reloc_overflow callback.
(aout_link_input_section_ext): Likewise.
(aout_link_reloc_link_order): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents):
Likewise.
(alpha_relocate_section): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-h8300.c (h8300_reloc16_extra_cases): Likewise.
* coff-h8500.c (extra_case): Likewise.
* coff-i960.c (coff_i960_relocate_section): Likewise.
* coff-mcore.c (coff_mcore_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
* coff-or32.c (coff_or32_relocate_section): Likewise.
* coff-ppc.c (coff_ppc_relocate_section): Likewise.
* coff-rs6000.c (xcoff_ppc_relocate_section): Likewise.
* coff-sh.c (sh_relocate_section): Likewise.
* coff-tic80.c (coff_tic80_relocate_section): Likewise.
* coff-w65.c (w65_reloc16_extra_cases): Likewise.
* coff-z8k.c (extra_case): Likewise.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* cofflink.c (_bfd_coff_reloc_link_order): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.
* ecoff.c (ecoff_reloc_link_order): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-crx.c (elf32_crx_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elflink.c (elf_reloc_link_order): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
(_bfd_elf_mips_get_relocated_section_contents): Likewise.
* linker.c (_bfd_generic_reloc_link_order): Likewise.
* pdp11.c (pdp11_aout_link_input_section): Likewise.
(aout_link_reloc_link_order): Likewise.
* reloc.c (bfd_generic_get_relocated_section_contents):
Likewise.
* xcofflink.c (xcoff_reloc_link_order): Likewise.
* simple.c (simple_dummy_reloc_overflow): Updated.

include/

2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR 463
* bfdlink.h (bfd_link_callbacks): Add a pointer to struct
bfd_link_hash_entry to reloc_overflow.

ld/

2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR 463
* ldmain.c (reloc_overflow): Accept a pointer to struct
bfd_link_hash_entry. Report symbol location for relocation
overflow.

19 years ago2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 21 Oct 2004 15:20:35 +0000 (15:20 +0000)]
2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

* genscripts.sh (libpath.exp): Really generate for first
emulation only.

19 years agodaily update
Alan Modra [Thu, 21 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * elf32-m68k.c (elf_m68k_plt_sym_val): New function.
Andreas Schwab [Wed, 20 Oct 2004 21:29:45 +0000 (21:29 +0000)]
* elf32-m68k.c (elf_m68k_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.

19 years ago * config.bfd: Set targ_underscore=yes for PE COFF targets.
Danny Smith [Wed, 20 Oct 2004 01:58:47 +0000 (01:58 +0000)]
* config.bfd: Set targ_underscore=yes for PE COFF targets.

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

19 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
Danny Smith [Tue, 19 Oct 2004 20:07:32 +0000 (20:07 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
comparison and replacement of filenames.

19 years ago2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 19 Oct 2004 19:30:33 +0000 (19:30 +0000)]
2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (process_section_groups): Free symtab after use.

19 years ago2004-10-19 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 19 Oct 2004 18:52:04 +0000 (18:52 +0000)]
2004-10-19  Andrew Cagney  <cagney@gnu.org>

* src-release (do-djunpack, do-md5sum): Install the generated file
directly into the proto-toplev/ directory.

19 years ago2004-10-19 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 19 Oct 2004 18:11:16 +0000 (18:11 +0000)]
2004-10-19  Andrew Cagney  <cagney@gnu.org>

* src-release (GDB_SUPPORT_DIRS): Remove utils and intl.

19 years ago2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 19 Oct 2004 17:14:38 +0000 (17:14 +0000)]
2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/exclude.exp: Allow cris-*-elf.

* ld-elf/exclude1.s: Add ".data". Remove "- include_sym".
* ld-elf/exclude2.s: Add ".data".

19 years ago2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 19 Oct 2004 15:44:58 +0000 (15:44 +0000)]
2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>

PR 459
* ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
option on linker script as the one for linker script.

19 years ago * elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
Alan Modra [Tue, 19 Oct 2004 12:00:58 +0000 (12:00 +0000)]
* elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
(ppc64_elf_edit_opd): Likewise.

19 years ago * elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
Mark Mitchell [Tue, 19 Oct 2004 06:02:46 +0000 (06:02 +0000)]
* elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
* elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT,
set SEC_ALLOC and SEC_LOAD.

19 years ago * ld-elf/exclude.exp: Don't run for cris-*-elf.
Hans-Peter Nilsson [Tue, 19 Oct 2004 05:02:49 +0000 (05:02 +0000)]
* ld-elf/exclude.exp: Don't run for cris-*-elf.

19 years agodaily update
Alan Modra [Tue, 19 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agostrings.c (usage): Place radix values for -t option into the correct order.
Nick Clifton [Mon, 18 Oct 2004 14:04:40 +0000 (14:04 +0000)]
strings.c (usage): Place radix values for -t option into the correct order.

objcopy.c (add_redefine_syms_file): Change error messages to use
  <filename>:<linenumber>: format for easier parsing by automatic tools.

srconv.c (show_usage): Fix spelling typo.

windres.c (format_from_filename): Suggest the use of -J instead of -I if the
  file type cannot be determined.

19 years agostrings.c: Include <sys/stat.h>.
Nick Clifton [Mon, 18 Oct 2004 13:44:48 +0000 (13:44 +0000)]
strings.c: Include <sys/stat.h>.

19 years ago * config/tc-i386.c (O_secrel): Delete.
Alan Modra [Mon, 18 Oct 2004 12:32:13 +0000 (12:32 +0000)]
* config/tc-i386.c (O_secrel): Delete.
(tc_pe_dwarf2_emit_offset): New function.
* config/tc-i386.h (O_secrel): Define as O_md1.
(TC_DWARF2_EMIT_OFFSET): Define.

19 years agoCompute 'name' for relocs against both local and global symbols.
Nick Clifton [Mon, 18 Oct 2004 08:06:31 +0000 (08:06 +0000)]
Compute 'name' for relocs against both local and global symbols.

19 years agoAccept and ignore @fptr() directives for 4-byte fixups.
Nick Clifton [Mon, 18 Oct 2004 08:02:25 +0000 (08:02 +0000)]
Accept and ignore @fptr() directives for 4-byte fixups.

19 years ago * budemang.c (demangle): Fix thinko.
Alan Modra [Mon, 18 Oct 2004 07:26:30 +0000 (07:26 +0000)]
* budemang.c (demangle): Fix thinko.

19 years ago * budemang.c (demangle): Handle "@plt" suffix.
Alan Modra [Mon, 18 Oct 2004 07:08:52 +0000 (07:08 +0000)]
* budemang.c (demangle): Handle "@plt" suffix.

19 years agodaily update
Alan Modra [Mon, 18 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sun, 17 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agobfd/
Daniel Jacobowitz [Sat, 16 Oct 2004 18:13:54 +0000 (18:13 +0000)]
bfd/
* bfd-in2.h: Regenerate.
* bfd.c (struct bfd): Add no_export.
* elflink.c (elf_link_add_object_symbols): Handle no_export.
ld/
* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
(check_excluded_libs): New.
(load_symbols): Call check_excluded_libs.
* ldlang.h (add_excluded_libs): New prototype.
* emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
(gld${EMULATION_NAME}_add_options): Add --exclude-libs.
(gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
* ld.texinfo (Command Line Variables): Document --exclude-libs.
(Options Specific to i386 PE Targets): Remove --exclude-libs.
ld/testsuite/
* ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.

19 years agodaily update
Alan Modra [Sat, 16 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
Alan Modra [Fri, 15 Oct 2004 06:00:15 +0000 (06:00 +0000)]
* ldexp.c (exp_fold_tree): Don't immediately exit ld on a
failing link script assert.

19 years ago * ldctor.c (ldctor_add_set_entry): Fix comment typo.
Alan Modra [Fri, 15 Oct 2004 05:54:11 +0000 (05:54 +0000)]
* ldctor.c (ldctor_add_set_entry): Fix comment typo.

19 years ago * Makefile.am: Run "make dep-am"
Alan Modra [Fri, 15 Oct 2004 05:49:33 +0000 (05:49 +0000)]
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.