OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago * ld-cris/stabs1.s: New file.
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:00:55 +0000 (03:00 +0000)]
* ld-cris/stabs1.s: New file.
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.

19 years ago * aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:58:27 +0000 (02:58 +0000)]
* aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
symbol was last.

19 years ago * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:51:28 +0000 (02:51 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.

19 years ago * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:46:15 +0000 (02:46 +0000)]
* ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
ld-elf/warn1.d: New test.

19 years ago* elf32-mips.c (mips_elf_gprel32_reloc): Reject
Maciej W. Rozycki [Mon, 7 Feb 2005 02:44:59 +0000 (02:44 +0000)]
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
R_MIPS_GPREL32 relocations against external symbols.
* elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect
comment.

19 years ago * lib/ld-lib.exp: Support new directive "warning".
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:38:43 +0000 (02:38 +0000)]
* lib/ld-lib.exp: Support new directive "warning".

19 years ago * lib/gas-defs.exp: Support new directive "warning".
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:29:11 +0000 (02:29 +0000)]
* lib/gas-defs.exp: Support new directive "warning".

19 years ago * elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
Alan Modra [Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)]
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of
elf_string_from_elf_strtab.
(_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise.
(bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too
if it exists.  Don't do the reverse for SHT_SYMTAB_SHNDX.  For
SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by
looking at cached symtab info first, before iterating over headers.
For SHT_REL and SHT_RELA, load dynsymtab if needed.
* elfcode.h (elf_object_p): Don't load section header stringtab

19 years agodaily update
Alan Modra [Sun, 6 Feb 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 6 Feb 2005 18:11:30 +0000 (18:11 +0000)]
2005-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF
against protected function when building shared library.

PR 584
* elf64-x86-64.c (is_32bit_relative_branch): New.
(elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a
protected function symbol when building shared library for
32bit relative branch instruction.

19 years ago * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
Alan Modra [Sun, 6 Feb 2005 10:29:39 +0000 (10:29 +0000)]
* elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
syms when doing a relocatable link.
(ppc64_elf_gc_mark_hook): Check that syms are defined before looking
at u.def.section.
(ppc64_elf_tls_setup): Likewise.
(ppc64_elf_edit_opd): Don't use an undefined func desc sym.

19 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
Alan Modra [Thu, 3 Feb 2005 14:48:53 +0000 (14:48 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
(link_hash_newfunc): Clear all locals using memset.
(make_fdh): Remove flags param.  Always create fake func desc
weak.  Link the descriptor with the code entry sym.
(ppc64_elf_archive_symbol_lookup): Don't return fake syms.
(add_symbol_adjust): Adjust make_fdh call.
(func_desc_adjust): Likewise.  Twiddle any pre-existing fake
descriptor to strong undefined if code entry is strong.

19 years agobfd/
Alan Modra [Thu, 3 Feb 2005 14:12:54 +0000 (14:12 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
lookup here.  Set to new before calling bfd_link_repair_undef_list.
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
ld/
emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
look up symbol for etree_provide here.

19 years ago * linker.c (_bfd_link_hash_newfunc): Set all local fields.
Alan Modra [Thu, 3 Feb 2005 13:54:30 +0000 (13:54 +0000)]
* linker.c (_bfd_link_hash_newfunc): Set all local fields.

19 years agoinclude/
Alan Modra [Thu, 3 Feb 2005 03:30:49 +0000 (03:30 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
* elflink.c (elf_smash_syms): Restore symbols that were undefweak
before the as-needed lib was loaded.  Abort on unexpected refs.

19 years agodaily update
Alan Modra [Wed, 2 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
Daniel Jacobowitz [Wed, 2 Feb 2005 20:19:52 +0000 (20:19 +0000)]
* emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.

19 years ago * ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments
Daniel Jacobowitz [Wed, 2 Feb 2005 20:19:35 +0000 (20:19 +0000)]
* ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments
after test commands.
* ld-mips-elf/mips-elf.exp: Skip multi-got-1 on non-GNU/Linux
systems.

19 years agogas/
Jan Beulich [Wed, 2 Feb 2005 07:37:36 +0000 (07:37 +0000)]
gas/
2005-02-02  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
designators along with quoted ones. Free copy of quoted designator
when done.

gas/testsuite/
2005-02-02  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/pred-rel.s: New.
* gas/ia64/ia64.exp: Run new test.

19 years ago * elflink.c (elf_smash_syms): Expand comments.
Alan Modra [Wed, 2 Feb 2005 02:36:35 +0000 (02:36 +0000)]
* elflink.c (elf_smash_syms): Expand comments.
(elf_link_add_object_symbols): Only call elf_smash_syms for
as-needed dynamic objects.

19 years ago * elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Don't clear everything,
Alan Modra [Wed, 2 Feb 2005 01:39:00 +0000 (01:39 +0000)]
* elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Don't clear everything,
just the fields specific to hppa64.

19 years ago * elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear
Alan Modra [Wed, 2 Feb 2005 01:16:36 +0000 (01:16 +0000)]
* elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear
everything, just the field specific to ia64.

19 years agodaily update
Alan Modra [Tue, 1 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years agoAdd a description of how to access linker script defined variables from source
Nick Clifton [Tue, 1 Feb 2005 17:31:01 +0000 (17:31 +0000)]
Add a description of how to access linker script defined variables from source
code.

19 years agobfd/
Alan Modra [Tue, 1 Feb 2005 04:22:41 +0000 (04:22 +0000)]
bfd/
* elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to..
(make_fdh): ..here.  New function.  Don't set BSF_OBJECT for
undefined syms.
(struct add_symbol_adjust_data): New.
(add_symbol_adjust): Make an undefweak func desc for old ABI
objects to link with --as-needed shared libs.  Return fail status.
Don't adjust old ABI func entry sym to weak if func desc syms
isn't defined.
(ppc64_elf_check_directives): Adjust call to add_symbol_adjust,
and return status.
ld/testsuite/
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

19 years ago * cpu-cris.c (get_compatible): Rearrange disabled code and comment
Hans-Peter Nilsson [Tue, 1 Feb 2005 03:27:59 +0000 (03:27 +0000)]
* cpu-cris.c (get_compatible): Rearrange disabled code and comment
for clarity.

19 years agoinclude/
Alan Modra [Tue, 1 Feb 2005 01:11:27 +0000 (01:11 +0000)]
include/
* bfdlink.h (bfd_link_repair_undef_list): Declare.
bfd/
* elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup..
* linker.c (bfd_link_repair_undef_list): ..to new function, but don't
remove anything but new and undefweak.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Override any
existing _DYNAMIC.
(_bfd_elf_create_dynamic_sections): Formatting.
(bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list.
(_bfd_elf_merge_symbol): Don't handle as-needed syms here.
(struct elf_smash_data): New.
(elf_smash_syms): New function.
(elf_link_add_object_symbols): Call elf_smash_syms.  Don't add
unneeded dynamic objects to loaded list.
(elf_link_output_extsym): Don't handle as-needed here.  Strip
bfd_link_hash_new symbols.
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
delref when dynindx is already -1.
* elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new
symbols.
* elfxx-mips.c (mips_elf_output_extsym): Likewise.
ld/
* ld.texinfo: Clarify --as-needed operation.

19 years ago * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.
Ben Elliston [Mon, 31 Jan 2005 23:57:31 +0000 (23:57 +0000)]
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.

19 years ago * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
Ben Elliston [Mon, 31 Jan 2005 23:18:35 +0000 (23:18 +0000)]
* config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
#if 0'd code throughout.

19 years ago * aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,
Ben Elliston [Mon, 31 Jan 2005 23:13:34 +0000 (23:13 +0000)]
* aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,
bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c,
coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c,
coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c,
cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c,
elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c,
elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c,
elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c,
i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c,
nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c,
pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c,
sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, doc/chew.c,
hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code
throughout. Similarly, collapse #if 1'd code.

19 years agodaily update
Alan Modra [Mon, 31 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * elf-bfd.h (bfd_elf_discard_group): Remove.
Ben Elliston [Mon, 31 Jan 2005 22:53:26 +0000 (22:53 +0000)]
* elf-bfd.h (bfd_elf_discard_group): Remove.
* elf.c (bfd_elf_discard_group): Likewise.
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro.

19 years ago * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d,
Daniel Jacobowitz [Mon, 31 Jan 2005 22:01:02 +0000 (22:01 +0000)]
* ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d,
ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d,
ld-mips-elf/elf-rel-xgot-n64-linux.d, ld-mips-elf/elf-rel-xgot-n64.d,
ld-mips-elf/jalbal.d: Force big-endian.
* ld-mips-elf/multi-got-1.d: Make more flexible.
* ld-mips-elf/rel32-n32.d, ld-mips-elf/rel32-o32.d,
ld-mips-elf/rel64.d: Update offsets.

19 years ago * gas/mips/elf-rel23.d, gas/mips/elf-rel23a.d: Accept little-endian.
Daniel Jacobowitz [Mon, 31 Jan 2005 22:00:33 +0000 (22:00 +0000)]
* gas/mips/elf-rel23.d, gas/mips/elf-rel23a.d: Accept little-endian.
* gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d: Accept section
symbol names.

19 years ago * ld-elf/group1.d: Accept OBJECT symbols.
Daniel Jacobowitz [Mon, 31 Jan 2005 21:58:43 +0000 (21:58 +0000)]
* ld-elf/group1.d: Accept OBJECT symbols.

19 years ago * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
Richard Sandiford [Mon, 31 Jan 2005 20:39:11 +0000 (20:39 +0000)]
* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
(_bfd_elf_eh_frame_address_size): Declare.
* elfxx-target.h (elf_backend_eh_frame_address_size): Define a default.
(elfNN_bed): Initialize elf_backend_eh_frame_address_size.
* elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare.
(elf_backend_eh_frame_address_size): Define.
* elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address
size from the new backend hook.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_eh_frame_address_size): New function.

19 years ago * readelf.c (eh_addr_size): New variable.
Richard Sandiford [Mon, 31 Jan 2005 20:35:25 +0000 (20:35 +0000)]
* readelf.c (eh_addr_size): New variable.
(find_section): Move earlier in file.  Return empty sections too.
(process_program_headers): Use find_section to find .dynamic.
(process_section_headers): Initialize eh_addr_size.
(dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
(dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
(display_debug_frames): Use it instead of local addr_size variable.
(size_of_encoded_value): Get pointer size from eh_addr_size rather
than is_32bit_elf.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 31 Jan 2005 20:32:45 +0000 (20:32 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago * elf32-arm.c (elf32_arm_symbian_special_sections): Do not set
Mark Mitchell [Mon, 31 Jan 2005 17:50:20 +0000 (17:50 +0000)]
* elf32-arm.c (elf32_arm_symbian_special_sections): Do not set
SHF_WRITE for .init_array, .fini_array, and .preinit_array.

19 years agoUpdate reported copyright dates.
Nick Clifton [Mon, 31 Jan 2005 17:36:24 +0000 (17:36 +0000)]
Update reported copyright dates.

19 years agoRemove obsolete targets
Nick Clifton [Mon, 31 Jan 2005 17:18:51 +0000 (17:18 +0000)]
Remove obsolete targets

19 years agogas/
Jan Beulich [Mon, 31 Jan 2005 14:30:34 +0000 (14:30 +0000)]
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
that can end with .endr in that case. Make requiring/permitting
pseudo-ops without leading dot closer to the logic in read.c serving
the same purpose.
(expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
ignored.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/macros/repeat.[ds]: New.
* gas/macros/macros.exp: Run new test.

19 years agogas/
Jan Beulich [Mon, 31 Jan 2005 14:26:13 +0000 (14:26 +0000)]
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* macro.c (do_formals): Adjust to no longer accept empty parameter
names.
(define_macro): Adjust to no longer accept empty macro name, garbage
following the parameters, or macros that were previously defined.
* read.c (s_bad_end): Declare.
(potable): Add endm. Handler for endr and endm is s_bad_end.
(s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
and .endr.
* read.h (s_bad_endr): Remove.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/macros/badarg.[ls]: New.
* gas/macros/end.[ls]: New.
* gas/macros/redef.[ls]: New.
* gas/macros/macros.exp (run_list_test): Copy from elsewhere.
Run new tests.

19 years agoAdd Vietnamese translation.
Nick Clifton [Mon, 31 Jan 2005 11:06:09 +0000 (11:06 +0000)]
Add Vietnamese translation.

19 years agogas/
Jan Beulich [Mon, 31 Jan 2005 10:01:02 +0000 (10:01 +0000)]
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_operands): Parse all specified operands,
immediately discarding (but counting) those exceeding the maximum
possible amount. Track whether output and input operand counts ever
matched, and use this to better indicate which of the operands/
operand types was wrong; specifically don't default to pointing to
the first operand.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/operands.[ls]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
Jan Beulich [Mon, 31 Jan 2005 09:46:15 +0000 (09:46 +0000)]
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (unwind): Remove proc_end (now an automatic
variable in dot_endp). Add body and insn. Make prologue,
prologue_mask, body, and insn bitfields.
(fixup_unw_records): Remove spurious new-lines from end of diagnostic
messages.
(in_procedure, in_prologue, in_body): New.
(dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
dot_personality): Use the appropriate one of the above.
(dot_proc): Clear unwind.proc_start; set to current location only if
none of the entry points were valid. Check for non-zero-length entry
point names. Check that entry points aren't defined, yet. Clear
unwind.prologue, unwind.body, and unwind.insn.
(dot_body): Call in_procedure. Check that first directive in procedure
had no insns emitted before. Set unwind.body.
(dot_prologue): Call in_procedure. Check that not already in prologue.
Check that first directive in procedure had no insns emitted before.
Clear unwind.body.
(dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
length entry point names. Check that entry points became defined.
(md_assemble): Set unwind.insn once unwind.proc_start is defined.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/proc.[ls]: New.
* gas/ia64/unwind-err.[ls]: New.
* gas/ia64/ia64.exp: Run new tests.

19 years agogas/
Jan Beulich [Mon, 31 Jan 2005 09:17:14 +0000 (09:17 +0000)]
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
before actually using it. Don't generate an error in manual bundling
mode when looking at an insn requiring slot 2 but not yet at slot 2.
Don't generate an error in manual bundling mode when looking at an
insn required to be last in its group but the required slot hasn't
been reached, yet. Allow conversion from MII to MI;I for bundle
consisting of only 2 insns with the stop between them. Suppress
various meaningless errors resulting from detecting earlier ones.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/bundling.[ds]: New.
* gas/ia64/label.[ls]: New.
* gas/ia64/last.[ls]: New.
* gas/ia64/slot2.[ls]: New.
* gas/ia64/ia64.exp: Run new tests.

19 years agogas/
Jan Beulich [Mon, 31 Jan 2005 08:48:32 +0000 (08:48 +0000)]
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_operands): Also handle alloc without first
input being ar.pfs.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/pseudo.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

opcodes/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* ia64-gen.c (NELEMS): Define.
(shrink): Generate alias with missing second predicate register when
opcode has two outputs and these are both predicates.
* ia64-opc-i.c (FULL17): Define.
(ia64_opcodes_i): Add mov-to-pr alias without second input. Use FULL17
here to generate output template.
(TBITCM, TNATCM): Undefine after use.
* ia64-opc-m.c (ia64_opcodes_i): Add alloc alias without ar.pfs as
first input. Add ld16 aliases without ar.csd as second output. Add
st16 aliases without ar.csd as second input. Add cmpxchg aliases
without ar.ccv as third input. Add cmp8xchg16 aliases without ar.csd/
ar.ccv as third/fourth inputs. Consolidate through...
(CMPXCHG_acq, CMPXCHG_rel, CMPXCHG_1, CMPXCHG_2, CMPXCHG_4, CMPXCHG_8,
CMPXCHGn, CMP8XCHG16, CMPXCHG_ALL): Define.
* ia64-asmtab.c: Regenerate.

19 years agodaily update
Alan Modra [Sun, 30 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 29 Jan 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago * configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
Hans-Peter Nilsson [Sat, 29 Jan 2005 04:24:23 +0000 (04:24 +0000)]
* configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
<crisv32-*-*, cris-*-*>: Only disable target-newlib and
target-libgloss when not *-*-elf and *-*-aout.
* configure: Regenerate.

19 years agodaily update
Alan Modra [Fri, 28 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago * config/tc-z8k.c (md_assemble): Improve error detection.
Christian Groessler [Fri, 28 Jan 2005 19:33:26 +0000 (19:33 +0000)]
* config/tc-z8k.c (md_assemble): Improve error detection.

19 years ago * elf-bfd.h (struct elf_backend_data): Add minpagesize.
Daniel Jacobowitz [Fri, 28 Jan 2005 17:58:24 +0000 (17:58 +0000)]
* elf-bfd.h (struct elf_backend_data): Add minpagesize.
* elf32-arm.c (ELF_MINPAGESIZE): Define.
* elf32-ppc.c (ELF_MINPAGESIZE): Define.
* elfcode.h (elf_object_p): Use minpagesize instead of
maxpagesize.
* elfxx-target.h (ELF_MINPAGESIZE): Default to ELF_MAXPAGESIZE.
(elfNN_bed): Include ELF_MINPAGESIZE.

19 years ago * bfd/bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
Julian Brown [Fri, 28 Jan 2005 17:24:41 +0000 (17:24 +0000)]
* bfd/bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/bin-in2.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx flag.
(bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx for
passing flag value from ld. Set flag value in global hash table entry.
(elf32_arm_final_link_relocate): Add code to implement R_ARM_V4BX
relocation.
* ld/emultempl/armelf.em (fix_v4bx): New variable.
(arm_elf_create_output_section_statements): Communicate fix_v4bx flag
value to bfd.
(PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
(PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
(PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
(PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
* ld/NEWS: Mention --fix-v4bx.
* ld/ld.texinfo: Document --fix-v4bx.

19 years agogas/
Jan Beulich [Fri, 28 Jan 2005 08:21:14 +0000 (08:21 +0000)]
gas/
2005-01-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
for personality routine pointer only if there is one.
(ia64_convert_frag): Likewise.
(generate_unwind_image): Likewise.

ld/testsuite/
2005-01-28  Jan Beulich  <jbeulich@novell.com>

* ld/ia64/tlsbin.[rt]d: Widen expected offset/size ranges.
* ld/ia64/tlspic.[rt]d: Likewise.

19 years ago * callback.h (struct host_callback_struct): New members pipe,
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:39:28 +0000 (03:39 +0000)]
* callback.h (struct host_callback_struct): New members pipe,
pipe_empty, pipe_nonempty, ispipe, pipe_buffer and
target_sizeof_int.
(CB_SYS_pipe): New macro.

19 years ago * callback.h: Include "bfd.h".
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:27:02 +0000 (03:27 +0000)]
* callback.h: Include "bfd.h".
(struct host_callback_struct): New member target_endian.
(cb_store_target_endian): Declare.

19 years ago * cris.cpu (mstep): Add missing insn.
Hans-Peter Nilsson [Fri, 28 Jan 2005 01:50:18 +0000 (01:50 +0000)]
* cris.cpu (mstep): Add missing insn.

19 years agodaily update
Alan Modra [Thu, 27 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoforgot to include the change for "Make relative branches out of range
Christian Groessler [Thu, 27 Jan 2005 21:32:21 +0000 (21:32 +0000)]
forgot to include the change for "Make relative branches out of range
an error instead of a warning" from last commit

19 years ago * config/tc-z8k.c (INSERT): Remove, not used anywhere.
Christian Groessler [Thu, 27 Jan 2005 21:08:14 +0000 (21:08 +0000)]
* config/tc-z8k.c (INSERT): Remove, not used anywhere.
(md_apply_fix3): Make relative branches out of range an error
instead of a warning.  Display correct line number for out of
range branches/calls/memory accesses.

19 years ago * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
Nathan Sidwell [Thu, 27 Jan 2005 16:33:47 +0000 (16:33 +0000)]
* dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
to emit .debug_line and other debug sections.
* as.h (seg_not_empty_p): Declare.
* subsegs.c (seg_not_empty_p): New predicate.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 15:24:10 +0000 (15:24 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Don't use NONE as a default for CATOBJEXT.

19 years agogas/
Jan Beulich [Thu, 27 Jan 2005 09:12:51 +0000 (09:12 +0000)]
gas/
2005-01-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".

gas/testsuite/
2005-01-27  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/nop_x.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
Jan Beulich [Thu, 27 Jan 2005 08:41:25 +0000 (08:41 +0000)]
gas/
2005-01-25  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Add late resolution of move
to/from application registers dynamic insns.
(md_assemble): Defer resolution of move to/from application registers
dynamic insns when they can be issued on either the I- or M-units.

gas/testsuite/
2005-01-25  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/dv-waw-err.l: Don't expect ar112 move warning to refer to
M-unit.
* gas/ia64/mov-ar.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agodaily update
Alan Modra [Wed, 26 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
Mark Mitchell [Wed, 26 Jan 2005 06:10:45 +0000 (06:10 +0000)]
* elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
SymbianOS.

* emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
as to include .ARM.exidx$${Base,Limit}.
* ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
Put .init_array, .fini_array, etc. into the read-only data
segment.

19 years agodaily update
Alan Modra [Tue, 25 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agobfd/ChangeLog:
Alexandre Oliva [Tue, 25 Jan 2005 20:22:41 +0000 (20:22 +0000)]
bfd/ChangeLog:
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* elf32-frv.c (elf32_frv_relocate_section): Force local binding
for TLSMOFF.
* reloc.c: Add R_FRV_TLSMOFF.
* elf32-frv.c (elf32_frv_howto_table): Likewise.
(frv_reloc_map, frv_reloc_type_lookup): Map it.
(elf32_frv_relocate_section): Handle it.
(elf32_frv_check_relocs): Likewise.
* libbfd.h, bfd-in2.h: Rebuilt.
2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
* elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash
when given an undefweak TLS symbol.  Fix constant TLS PLT entries
such that they return the constant in gr9.
(_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS
symbols.
(_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections.
too, such that they shrink on relaxation.
(elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as
marking the position right past the _GLOBAL_OFFSET_TABLE_ value.
(_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries
if we can guarantee the use of 16-bit constants.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
Introduce TLS support for FR-V FDPIC.
* reloc.c: Add TLS relocations.
* elf32-frv.c (elf32_frv_howto_table): Add TLS relocations.
(elf32_frv_rel_tlsdesc_value_howto): New.
(elf32_frv_rel_tlsoff_howto): New.
(frv_reloc_map): Add new mappings.
(struct frvfdpic_elf_link_hash_table): Add pointer to summary
reloc information.
(frvfdpic_dynamic_got_plt_info): New.
(frvfdpic_plt_tls_ret_offset): New.
(ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier.
(struct _frvfdpic_dynamic_got_info): Likewise.  Add TLS members.
(struct _frvfdpic_dynamic_got_plt_info): Likewise.
(FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute
section as local.
(struct frvfdpic_relocs_info): Add TLS fields.
(frvfdpic_relocs_info_hash): Warning clean up.
(frvfdpic_relocs_info_find): Initialize tlsplt_entry.
(frvfdpic_pic_merge_early_relocs_info): Merge TLS fields.
(FRVFDPIC_TLS_BIAS): Define.
(tls_biased_base): New.
(_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS
relocations.
(frv_reloc_type_lookup): Likewise.
(frvfdpic_info_to_howto_rel): Likewise.
(elf32_frv_relocate_section): Likewise.
(_frv_create_got_section): Create the PLT section here.
(elf32_frvfdpic_create_dynamic_sections): Not here.
(_frvfdpic_count_nontls_entries): Move out of...
(_frvfdpic_count_got_plt_entries): ... here.
(_frvfdpic_count_tls_entries): Likewise.  Add TLS support.
(_frvfdpic_count_relocs_fixups): Likewise.  Add relaxation
support.
(_frvfdpic_relax_tls_entries): New.
(_frvfdpic_compute_got_alloc_data): Add TLS support.
(_frvfdpic_get_tlsdesc_entry): New.
(_frvfdpic_assign_got_entries): Add TLS support.
(_frvfdpic_assign_plt_entries): Likewise.
(_frvfdpic_reset_got_plt_entries): New.
(_frvfdpic_size_got_plt): Move out of...
(elf32_frvfdpic_size_dynamic_sections): ... here.
(_frvfdpic_relax_got_plt_entries): New.
(elf32_frvfdpic_relax_section): New.
(elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check.
(elf32_frv_check_relocs): Add TLS support.
(bfd_elf32_bfd_relax_section): Define for FDPIC.
* libbfd.h, bfd-in2.h: Rebuilt.
cpu/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.cpu: Add support for TLS annotations in loads and calll.
* frv.opc (parse_symbolic_address): New.
(parse_ldd_annotation): New.
(parse_call_annotation): New.
(parse_ld_annotation): New.
(parse_ulo16, parse_uslo16): Use parse_symbolic_address.
Introduce TLS relocations.
(parse_d12, parse_s12, parse_u12): Likewise.
(parse_uhi16): Likewise.  Fix constant checking on 64-bit host.
(parse_call_label, print_at): New.
gas/ChangeLog:
* config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* cgen.c (gas_cgen_parse_operand): Handle
CGEN_PARSE_OPERAND_SYMBOLIC.
* config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
(frv_force_relocation): Likewise.  Fix handling of PIC
relocations.
(md_apply_fix3): Likewise.
include/elf/ChangeLog:
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.h: Add R_FRV_TLSMOFF.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.h: Add TLS relocations.
include/opcode/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* cgen.h (enum cgen_parse_operand_type): Add
CGEN_PARSE_OPERAND_SYMBOLIC.
ld/testsuite/ChangeLog:
* ld-frv/fdpic.exp: Add -mfdpic to ASFLAGS.
* ld-frv/tls.exp: Likewise.
2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
* ld-frv/tls-3.s: New.
* ld-frv/tls-static-3.d: New.
* ld-frv/tls-dynamic-3.d: New.
* ld-frv/tls-pie-3.d: New.
* ld-frv/tls-shared-3.d: New.
* ld-frv/tls-relax-static-3.d: New.
* ld-frv/tls-relax-dynamic-3.d: New.
* ld-frv/tls-relax-pie-3.d: New.
* ld-frv/tls-relax-shared-3.d: New.
* ld-frv/tls.exp: Run the new tests.
* ld-frv/tls-dynamic-2.d: Adjust for improved relaxation.
* ld-frv/tls-relax-dynamic-2.d: Likewise.
* ld-frv/tls-relax-initial-shared-2.d: Likewise.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* ld-frv/tls-1-dep.s: New.
* ld-frv/tls-1-shared.lds: New.
* ld-frv/tls-1.s: New.
* ld-frv/tls-2.s: New.
* ld-frv/tls-dynamic-1.d: New.
* ld-frv/tls-dynamic-2.d: New.
* ld-frv/tls-initial-shared-2.d: New.
* ld-frv/tls-pie-1.d: New.
* ld-frv/tls-relax-dynamic-1.d: New.
* ld-frv/tls-relax-dynamic-2.d: New.
* ld-frv/tls-relax-initial-shared-2.d: New.
* ld-frv/tls-relax-pie-1.d: New.
* ld-frv/tls-relax-shared-1.d: New.
* ld-frv/tls-relax-shared-2.d: New.
* ld-frv/tls-relax-static-1.d: New.
* ld-frv/tls-shared-1-fail.d: New.
* ld-frv/tls-shared-1.d: New.
* ld-frv/tls-shared-2.d: New.
* ld-frv/tls-static-1.d: New.
* ld-frv/tls.exp: New.
* ld-frv/fdpic-pie-1.d: Adjust for 64-bit host.
* ld-frv/fdpic-pie-2.d: Likewise.
* ld-frv/fdpic-pie-6.d: Likewise.
* ld-frv/fdpic-pie-7.d: Likewise.
* ld-frv/fdpic-pie-8.d: Likewise.
* ld-frv/fdpic-shared-1.d: Likewise.
* ld-frv/fdpic-shared-2.d: Likewise.
* ld-frv/fdpic-shared-3.d: Likewise.
* ld-frv/fdpic-shared-4.d: Likewise.
* ld-frv/fdpic-shared-5.d: Likewise.
* ld-frv/fdpic-shared-6.d: Likewise.
* ld-frv/fdpic-shared-7.d: Likewise.
* ld-frv/fdpic-shared-8.d: Likewise.
* ld-frv/fdpic-shared-local-2.d: Likewise.
* ld-frv/fdpic-shared-local-8.d: Likewise.
* ld-frv/fdpic-static-1.d: Likewise.
* ld-frv/fdpic-static-2.d: Likewise.
* ld-frv/fdpic-static-6.d: Likewise.
* ld-frv/fdpic-static-7.d: Likewise.
* ld-frv/fdpic-static-8.d: Likewise.
opcodes/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv-asm.c: Rebuilt.
* frv-desc.c: Rebuilt.
* frv-desc.h: Rebuilt.
* frv-dis.c: Rebuilt.
* frv-ibld.c: Rebuilt.
* frv-opc.c: Rebuilt.
* frv-opc.h: Rebuilt.

19 years agobfd/
Alan Modra [Tue, 25 Jan 2005 10:33:55 +0000 (10:33 +0000)]
bfd/
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound): Only include
loadable reloc sections.
(_bfd_elf_canonicalize_dynamic_reloc): Likewise.
(_bfd_elf_get_synthetic_symtab): Return 0 if no dynamic syms.
binutils/
* nm.c (display_rel_file): Read dynamic syms before calling
bfd_get_synthetic_symtab.

19 years agobfd/
Alan Modra [Tue, 25 Jan 2005 01:40:04 +0000 (01:40 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Don't create link dynamic
sections immediately when linking shared libs.  Instead, wait until
we know a lib is needed.
(_bfd_elf_link_create_dynstrtab): Extract from..
(_bfd_elf_link_create_dynamic_sections_): ..here.
(elf_add_dt_needed_tag): Call _bfd_elf_link_create_dynstrtab and
_bfd_elf_link_create_dynamic_sections.  Add abfd param.  Allow
for non-existent .dynamic.
(elf_link_output_extsym): Don't complain about undefined symbols
in as-needed dynamic libs that aren't actually linked.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
(gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
only needed by an as-needed lib that didn't get linked.

19 years agodaily update
Alan Modra [Mon, 24 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 24 Jan 2005 20:01:09 +0000 (20:01 +0000)]
2005-01-24  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only fall back to ../intl/ when it's present.

19 years agosleb128.d: Do not assume an 8-bit byte.
Nick Clifton [Mon, 24 Jan 2005 15:32:19 +0000 (15:32 +0000)]
sleb128.d: Do not assume an 8-bit byte.
quad.d: Likewise.  Also allow for ports which order bytes within words in other
  than simple big-endian or little-endian fashions.

19 years agodaily update
Alan Modra [Sun, 23 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
Joseph Myers [Sun, 23 Jan 2005 21:05:46 +0000 (21:05 +0000)]
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
anything for non-GCC compilers.

19 years ago * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
Alan Modra [Sun, 23 Jan 2005 07:43:52 +0000 (07:43 +0000)]
* ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
__DTOR_LIST__ description.

19 years ago * ld.texinfo (Location Counter <dot outside sections>): Document
Alan Modra [Sun, 23 Jan 2005 05:36:37 +0000 (05:36 +0000)]
* ld.texinfo (Location Counter <dot outside sections>): Document
effects of orphan section placement, and ". = ." workaround.
* Makefile.in: Regenerate.

19 years agodaily update
Alan Modra [Sat, 22 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
Richard Sandiford [Sat, 22 Jan 2005 18:13:16 +0000 (18:13 +0000)]
* emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.

19 years ago * emulparams/armelfb_linux_eabi.sh: New file.
Mark Mitchell [Sat, 22 Jan 2005 01:50:35 +0000 (01:50 +0000)]
* emulparams/armelfb_linux_eabi.sh: New file.

19 years agodaily update
Alan Modra [Fri, 21 Jan 2005 23:00:11 +0000 (23:00 +0000)]
daily update

19 years ago 2005-01-21 Fred Fish <fnf@specifixinc.com>
Fred Fish [Fri, 21 Jan 2005 19:43:05 +0000 (19:43 +0000)]
2005-01-21  Fred Fish  <fnf@specifixinc.com>
* mips-opc.c:  Change INSN_ALIAS to INSN2_ALIAS.
Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC.
Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.
* mips-dis.c: Ditto.

19 years ago 2005-01-21 Fred Fish <fnf@specifixinc.com>
Fred Fish [Fri, 21 Jan 2005 19:42:08 +0000 (19:42 +0000)]
2005-01-21  Fred Fish  <fnf@specifixinc.com>
* mips.h: Change INSN_ALIAS to INSN2_ALIAS.
Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC.
Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.

19 years ago * ldgram.y (AS_NEEDED): New token.
Jakub Jelinek [Fri, 21 Jan 2005 12:04:25 +0000 (12:04 +0000)]
* ldgram.y (AS_NEEDED): New token.
(input_list): Handle AS_NEEDED ( input_list ).
* ldlex.l (AS_NEEDED): Add.
* ld.texinfo: Document AS_NEEDED ().
* NEWS: Mention AS_NEEDED ().

19 years ago * as.h: Remove #if 0'd code.
Ben Elliston [Fri, 21 Jan 2005 05:54:38 +0000 (05:54 +0000)]
* as.h: Remove #if 0'd code.
* atof-generic.c (atof_generic): Likewise.
* ecoff.c (ecoff_directive_frame): Likewise.
* frags.h (FRAG_APPEND_1_CHAR): Likewise.
* itbl-ops.c (itbl_add_reg): Likewise.
* listing.c (calc_hex): Likewise.
* read.c (MASK_CHAR): Likewise.
* subsegs.c (subsegs_print_statistics): Likewise.
* symbols.c (indent): Likewise.
* write.c (write_relocs): Likewise.
(write_object_file): Likewise.
(relax_frag): Likewise.

19 years ago * dlltool.c (dump_iat): Remove unused function.
Ben Elliston [Fri, 21 Jan 2005 05:40:24 +0000 (05:40 +0000)]
* dlltool.c (dump_iat): Remove unused function.
(gen_exp_file): Remove #if 0'd code.
(make_one_lib_file): Likewise.
* srconv.c: Remove #if 0'd code throughout.
* size.c (lprint_number): Remove.
(print_berkeley_format): Remove #if 0'd code.
* ar.c (do_quick_append): Remove declaration and definiton.
(main): Remove #if 0'd code.
* filemode.c (filemodestring): Remove #if 0'd function.
* sysdump.c (unit_info_list): Remove function.
(object_body_list): Likewise.
(program_structure): Likewise.
(debug_list): Likewise.
(module): Remove #if 0'd code.

19 years ago * ldlang.c (lang_reasonable_defaults): Remove.
Ben Elliston [Fri, 21 Jan 2005 04:15:59 +0000 (04:15 +0000)]
* ldlang.c (lang_reasonable_defaults): Remove.
(lang_process): Don't call lang_reasonable_defaults.

* ldexp.c (exp_assop): Remove #if 0'd code.
(exp_print_tree): Likewise.
* ldlang.c (lang_memory_region_lookup): Likewise.
(open_output): Likewise.
(lang_do_assignments_1): Likewise.
(lang_place_orphans): Likewise.
(lang_enter_output_section_statement): Likewise.
(lang_reasonable_defaults): Likewise.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* mri.c (mri_draw_tree): Likewise.
(mri_load): Likewise.
* pe-dll.c (generate_reloc): Likewise.
(make_import_fixup_entry): Likewise.
(pe_as16): Likewise.
* emultempl/beos.em (set_pe_subsystem): Likewise.
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
* emultempl/pe.em: Likewise.
* emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.

19 years ago * aout-encap.c: Remove unused file.
Ben Elliston [Fri, 21 Jan 2005 03:27:53 +0000 (03:27 +0000)]
* aout-encap.c: Remove unused file.

19 years ago * BRANCHES: Add binutils-2_15-branch.
Mark Mitchell [Fri, 21 Jan 2005 03:14:37 +0000 (03:14 +0000)]
* BRANCHES: Add binutils-2_15-branch.

19 years ago * gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.
Ben Elliston [Thu, 20 Jan 2005 23:37:57 +0000 (23:37 +0000)]
* gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.

19 years agodaily update
Alan Modra [Thu, 20 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * MAINTAINERS: Document branch policy.
Mark Mitchell [Thu, 20 Jan 2005 21:59:05 +0000 (21:59 +0000)]
* MAINTAINERS: Document branch policy.
* BRANCHES: New file.

19 years ago * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
Mark Mitchell [Thu, 20 Jan 2005 19:37:49 +0000 (19:37 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
(earmelfb_linux_eabi.c): New target.
* Makefile.in: Regenerated.
* configure.tgt (arm*b-*-linux-gnueabi): New target.
* emulparams/armelfb_linux_eabi.sh: New file.

19 years ago(std_longopts): Add an entry for "--a" in order to prevent getopt_long_only()
Nick Clifton [Thu, 20 Jan 2005 15:35:57 +0000 (15:35 +0000)]
(std_longopts): Add an entry for "--a" in order to prevent getopt_long_only()
  from considering -a as an abbreviation for --alternate.
(parse_args): Fix the parsing of -a=<file>.

19 years ago PR ld/676
Alan Modra [Thu, 20 Jan 2005 07:47:49 +0000 (07:47 +0000)]
PR ld/676
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Handle bfd_elf32_hppa_nbsd_vec.

19 years ago * ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel.
Alan Modra [Thu, 20 Jan 2005 06:54:48 +0000 (06:54 +0000)]
* ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel.

19 years ago PR gas/684
Alan Modra [Thu, 20 Jan 2005 06:46:41 +0000 (06:46 +0000)]
PR gas/684
* read.c (s_incbin): Adjust default count for skip.  Check validity
of count and skip rigorously.

19 years agoFix misspelling in previous checkin
Fred Fish [Wed, 19 Jan 2005 23:43:00 +0000 (23:43 +0000)]
Fix misspelling in previous checkin