OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago * ld-elfvsb/hidden2.s: Replace .word with .long.
Alan Modra [Fri, 11 Feb 2005 14:25:13 +0000 (14:25 +0000)]
* ld-elfvsb/hidden2.s: Replace .word with .long.

19 years ago * elf64-ppc.c (toc_adjusting_stub_needed): Return true for
Alan Modra [Fri, 11 Feb 2005 14:18:15 +0000 (14:18 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for
old-style branches to undefined dot-symbols which will be
satisfied by a plt call.

19 years agogas/
Jan Beulich [Fri, 11 Feb 2005 10:13:07 +0000 (10:13 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
(LEX_QM): Likewise.
(ia64_parse_name): New third parameter.
(md_parse_name): Pass third argument.
* config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
(md_operand): Handling of '@'-prefixed symbols moved from here...
(ia64_parse_name): ...to here.

19 years agogas/
Jan Beulich [Fri, 11 Feb 2005 07:54:52 +0000 (07:54 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md): Remove last_groups and group_idx.
(errata_nop_necessary_p): Remove declaraction and definition.
(emit_one_bundle): Don't call errata_nop_necessary_p. Don't
update md.group_idx. Don't reset md.last_groups.

19 years agogas/
Jan Beulich [Fri, 11 Feb 2005 07:45:20 +0000 (07:45 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_section_name): Handle non-quoted first
argument.
(dot_xdata): Free section name after use.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.
(md_pseudo_table): Add xdata16 and xdata16.ua.

19 years ago2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 11 Feb 2005 06:29:08 +0000 (06:29 +0000)]
2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>

* doc/all.texi: Add IA64.
* doc/as.texinfo: Likewise.

* doc/c-ia64.texi: Fix typos.

19 years ago * elf64-ppc.c (move_plt_plist): New function, extracted from..
Alan Modra [Fri, 11 Feb 2005 03:47:40 +0000 (03:47 +0000)]
* elf64-ppc.c (move_plt_plist): New function, extracted from..
(ppc64_elf_copy_indirect_symbol): ..here.
(func_desc_adjust): Use move_plt_plist.

19 years ago * MAINTAINERS: Update my e-mail address.
Ian Lance Taylor [Thu, 10 Feb 2005 23:31:54 +0000 (23:31 +0000)]
* MAINTAINERS: Update my e-mail address.

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

19 years ago2005-02-10 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 10 Feb 2005 14:14:25 +0000 (14:14 +0000)]
2005-02-10  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9.

19 years ago2005-02-10 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 10 Feb 2005 14:09:43 +0000 (14:09 +0000)]
2005-02-10  Paul Brook  <paul@codesourcery.com>

* elflink.c (bfd_elf_record_link_assignment): Make hidden and internal
symbols local.
(elf_link_renumber_hash_table_dynsyms): Ignore local symbols.
(elf_link_renumber_local_hash_table_dynsyms): New function.
(_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols.
ld/testsuite/
* ld-elfvsb/hidden2.s: New file
* ld-elfvsb/hidden2.d: New file
* ld-elfvsb/hidden2.ld: New file

19 years ago * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
Julian Brown [Thu, 10 Feb 2005 12:39:17 +0000 (12:39 +0000)]
* config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
BFD_RELOC_UNUSED.
(do_t_push_pop): Likewise.
(md_assemble): Likewise.
(md_apply_fix3): Handle BFD_RELOC_NONE correctly, make BFD_RELOC_UNUSED
same as previous meaning of BFD_RELOC_NONE.
(create_unwind_entry): Output dependency on the required personality
routines.
testsuite/gas/arm/unwind.d: Alter expected output to include dependency
on __aeabi_unwind_cpp_pr[01].

19 years ago * bfd-in.h (BFD_LINKER_CREATED): Define.
Jakub Jelinek [Thu, 10 Feb 2005 09:15:08 +0000 (09:15 +0000)]
* bfd-in.h (BFD_LINKER_CREATED): Define.
* bfd-in2.h: Rebuilt.
* elflink.c (bfd_elf_size_dynamic_sections): Disregard
BFD_LINKER_CREATED bfds when determining input bfds without
.note.GNU-stack section.

* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Set BFD_LINKER_CREATED on the stubs bfd.
* emultempl/ppc64elf.em (ppc_create_output_section_statements):
Likewise.

19 years ago * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
Mark Mitchell [Thu, 10 Feb 2005 08:01:41 +0000 (08:01 +0000)]
* MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
maintainers.

19 years ago * scripttempl/armbpabi.sc (VERSION): Make special section symbols
Mark Mitchell [Thu, 10 Feb 2005 05:49:21 +0000 (05:49 +0000)]
* scripttempl/armbpabi.sc (VERSION): Make special section symbols
local.
(Image$$ER_RO$$Base): Define whenever RELOCATING.
(Image$$ER_RO$$Limit): Likewise.
(SHT$$INIT_ARRAY$$Base): Likewise.
(SHT$$INIT_ARRAY$$Limit): Likeise.

19 years ago* elf64-mips.c (mips16_gprel_reloc): Update a comment.
Maciej W. Rozycki [Thu, 10 Feb 2005 03:07:46 +0000 (03:07 +0000)]
* elf64-mips.c (mips16_gprel_reloc): Update a comment.
* elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL
relocations against external symbols unchanged.

19 years ago * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
Ben Elliston [Thu, 10 Feb 2005 01:03:49 +0000 (01:03 +0000)]
* emultempl/beos.em: Remove #if 0 and #if 1 blocks.

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

19 years agogas/testsuite/
Jan Beulich [Wed, 9 Feb 2005 08:05:43 +0000 (08:05 +0000)]
gas/testsuite/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.s: Remove comments disabling alternative forms of
fbld, fbstp, and fldcw.
* gas/i386/intelok.d: Expect two instances of fbld, fbstp, and fldcw.

include/opcode/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

PR gas/707
* i386.h (i386_optab): Add x_Suf to fbld and fbstp. Add w_Suf and
FloatMF to fldcw, fstcw, fnstcw, and the memory formas of fstsw and
fnstsw.

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

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 22:37:35 +0000 (22:37 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the
gdb/ section.  Update GDB's URL.

19 years ago * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
Richard Sandiford [Tue, 8 Feb 2005 19:54:27 +0000 (19:54 +0000)]
* configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
to include o32 and n64 emulations.
(mips64*-*-linux-gnu*): Likewise.

19 years ago2005-02-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 8 Feb 2005 13:33:56 +0000 (13:33 +0000)]
2005-02-08  Paul Brook  <paul@codesourcery.com>

* elflink.c (elf_link_input_bfd): Ignore symbols from null input
sections.

19 years agocgen/ChangeLog:
Jim Blandy [Tue, 8 Feb 2005 04:52:24 +0000 (04:52 +0000)]
cgen/ChangeLog:
2005-02-07  Jim Blandy  <jimb@redhat.com>

* cgen-opc.scm: Don't load fixup.scm here.  (See corresponding
changes in the opcodes directory.)

opcodes/ChangeLog:
2005-02-07  Jim Blandy  <jimb@redhat.com>

* Makefile.am (CGEN): Load guile.scm before calling the main
application script.
* Makefile.in: Regenerated.
* cgen.sh: Be prepared for the 'cgen' argument to contain spaces.
Simply pass the cgen-opc.scm path to ${cgen} as its first
argument; ${cgen} itself now contains the '-s', or whatever is
appropriate for the Scheme being used.

19 years ago * ldmain.c (warning_callback, warning_find_reloc): Prepend
Hans-Peter Nilsson [Tue, 8 Feb 2005 03:51:32 +0000 (03:51 +0000)]
* ldmain.c (warning_callback, warning_find_reloc): Prepend
"warning: " to warning messages.

19 years ago * elflink.c (elf_link_add_object_symbols): Don't add "warning: "
Hans-Peter Nilsson [Tue, 8 Feb 2005 03:50:08 +0000 (03:50 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't add "warning: "
prefix here.

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

19 years ago * as.h (seg_not_empty_p): Return int, not bfd_boolean.
Nathan Sidwell [Mon, 7 Feb 2005 17:53:26 +0000 (17:53 +0000)]
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
* subsegs.c (seg_not_empty_p): Likewise.

19 years agoAdd Inderpreet Singh as maintainer of MAXQ.
Nick Clifton [Mon, 7 Feb 2005 16:05:11 +0000 (16:05 +0000)]
Add Inderpreet Singh as maintainer of MAXQ.

19 years agoCorrect the relative jump calculation.
Nick Clifton [Mon, 7 Feb 2005 16:00:10 +0000 (16:00 +0000)]
Correct the relative jump calculation.

19 years ago* elf64-mips.c: Fix formatting throughout.
Maciej W. Rozycki [Mon, 7 Feb 2005 15:50:16 +0000 (15:50 +0000)]
* elf64-mips.c: Fix formatting throughout.

19 years ago* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.
Maciej W. Rozycki [Mon, 7 Feb 2005 15:18:05 +0000 (15:18 +0000)]
* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.

19 years agobfd/ChangeLog:
Alexandre Oliva [Mon, 7 Feb 2005 07:59:34 +0000 (07:59 +0000)]
bfd/ChangeLog:
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for
*ABS*/*UND* sections.
(elf32_frv_relocate_section): Move zero-addend-required error...
(_frv_emit_got_relocs_plt_entries): ... here.  Report error for
missing needed TLS section.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-shared-8-fail.d: Tweak error messages.

19 years ago * ld-cris/libdso-13.d: Adjust for being identified as warning.
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:41:26 +0000 (03:41 +0000)]
* ld-cris/libdso-13.d: Adjust for being identified as warning.

19 years ago * ld-cris/globsymw2.s: New file.
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:16:43 +0000 (03:16 +0000)]
* ld-cris/globsymw2.s: New file.
* ld-cris/warn3.d, ld-cris/warn4.d: New tests.

19 years ago * write.c (write_object_file): Recognize warning-symbol construct
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:13:10 +0000 (03:13 +0000)]
* write.c (write_object_file): Recognize warning-symbol construct
and skip object- and target- handling for the second symbol.

19 years ago * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:09:10 +0000 (03:09 +0000)]
* ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
Adjust for being identified as warnings.

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.