OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years agoReorder it.
H.J. Lu [Sat, 20 Mar 2004 23:44:18 +0000 (23:44 +0000)]
Reorder it.

20 years agoCorrect the ChangeLog entry.
H.J. Lu [Sat, 20 Mar 2004 23:36:18 +0000 (23:36 +0000)]
Correct the ChangeLog entry.

20 years agobfd/
H.J. Lu [Sat, 20 Mar 2004 23:16:43 +0000 (23:16 +0000)]
bfd/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if
unresolved symbols in objects aren't allowed.

* elf-hppa.h (elf_hppa_relocate_section): Properly handle
unresolved symbols.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
(elf_hppa_unmark_useless_dynamic_symbols):
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
(elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

* elf-m10200.c (mn10200_elf_relocate_section): Use
RELOC_FOR_GLOBAL_SYMBOL.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_get_relocation_value): 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-v850.c (v850_elf_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.

include/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Correct comments for the
unresolved_syms_in_objects field.

ld/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (parse_args): Don't set unresolved_syms_in_objects
or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.

20 years agodaily update
Alan Modra [Sat, 20 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
Alexandre Oliva [Sat, 20 Mar 2004 05:49:27 +0000 (05:49 +0000)]
* emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.

20 years ago * elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32.
Dave Anglin [Sat, 20 Mar 2004 00:42:10 +0000 (00:42 +0000)]
* elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32.
(final_link_relocate): Likewise.

20 years agodaily update
Alan Modra [Fri, 19 Mar 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago * config/tc-xtensa.c (mark_literal_frags): New function.
Bob Wilson [Fri, 19 Mar 2004 22:35:32 +0000 (22:35 +0000)]
* config/tc-xtensa.c (mark_literal_frags): New function.
(xtensa_move_literals): Call mark_literal_frags for all literal
segments, including init and fini literal segments.
(xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.

20 years ago * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
Dave Anglin [Fri, 19 Mar 2004 19:19:53 +0000 (19:19 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations.
* tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
(pa_comm): Set BSF_OBJECT in symbol flags.

20 years ago2004-03-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 19 Mar 2004 17:02:31 +0000 (17:02 +0000)]
2004-03-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp: Add new tests for versioned weak
definition.

* ld-elfvers/vers28a.c: New file.
* ld-elfvers/vers28a.dsym: Likewise.
* ld-elfvers/vers28a.ver: Likewise.
* ld-elfvers/vers28b.c: Likewise.
* ld-elfvers/vers28b.dsym: Likewise.
* ld-elfvers/vers28b.map: Likewise.
* ld-elfvers/vers28b.ver: Likewise.
* ld-elfvers/vers28c.c: Likewise.
* ld-elfvers/vers28c.dsym: Likewise.
* ld-elfvers/vers28c.ver: Likewise.

20 years ago * po/sv.po: Updated.
Alan Modra [Fri, 19 Mar 2004 07:21:48 +0000 (07:21 +0000)]
* po/sv.po: Updated.

20 years ago * ld-scripts/provide-2.d: Ignore random symbols.
Alan Modra [Fri, 19 Mar 2004 07:14:44 +0000 (07:14 +0000)]
* ld-scripts/provide-2.d: Ignore random symbols.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:07:22 +0000 (07:07 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* gconfig.in: Regenerate.
* po/gprof.pot: Regenerate.

20 years ago * config.in: Regenerate.
Alan Modra [Fri, 19 Mar 2004 07:06:35 +0000 (07:06 +0000)]
* config.in: Regenerate.
* po/ld.pot: Regenerate.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:05:56 +0000 (07:05 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config.in: Regenerate.
* po/gas.pot: Regenerate.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:03:40 +0000 (07:03 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/binutils.pot: Regenerate.

20 years ago * aclocal.m4: Regenerate.
Alan Modra [Fri, 19 Mar 2004 07:02:24 +0000 (07:02 +0000)]
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/opcodes.pot: Regenerate.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:00:51 +0000 (07:00 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* po/bfd.pot: Regenerate.
doc/
* Makefile.in: Regenerate.

20 years ago * elflink.c (_bfd_elf_merge_symbol): Revert last change. Move
Alan Modra [Fri, 19 Mar 2004 01:36:45 +0000 (01:36 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Revert last change.  Move
type and size change code to where it was previously.  Remove
dt_needed param.  Treat old weak syms as strong if new sym is
from a shared lib, even when old sym is from another shared
lib.  Remove unnecessary tests of oldweak and newweak.  Correct
comments.
(_bfd_elf_add_default_symbol): Remove dt_needed param.  Update
_bfd_elf_merge_symbol calls.
* elflink.h (elf_link_add_object_symbols): Update calls.  Remove
dt_needed local var.  Update comments.
* elf-bfd.h (_bfd_elf_merge_symbol): Update prototype.
(_bfd_elf_add_default_symbol): Likewise.

20 years ago * elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle
Alan Modra [Thu, 18 Mar 2004 23:02:06 +0000 (23:02 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle
strong syms in one shared object overriding weak syms in another.

20 years agodaily update
Alan Modra [Thu, 18 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * read.c (read_a_source_file): Use demand_empty_rest_of_line.
Nathan Sidwell [Thu, 18 Mar 2004 13:31:04 +0000 (13:31 +0000)]
* read.c (read_a_source_file): Use demand_empty_rest_of_line.
(demand_empty_rest_of_line): Issue an error here.
(ignore_rest_of_line): Silently skip to end.
(demand_copy_string): Issue an error, not warning.
(equals): Likewise.
* config/obj-elf.c (obj_elf_section_name): Likewise.
(obj_elf_section): Likewise.
* config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
(arc_extinst): Likewise.
* config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
(dot_spill): Likewise.
(dot_unwabi): Likewise.
(dot_prologue): Likewise.

20 years agobfd/
Alan Modra [Thu, 18 Mar 2004 12:50:20 +0000 (12:50 +0000)]
bfd/
* elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field.  Add
dyn_lib_class field.  Rearrange for better packing.
(elf_dt_soname): Delete.
(elf_dyn_lib_class): Define.
* elf.c (bfd_elf_set_dt_needed_name): Update comment.
(bfd_elf_set_dt_needed_soname): Delete.
(bfd_elf_set_dyn_lib_class): New function.
* elflink.h (add_dt_needed_tag): New function.  Split out from..
(elf_link_add_object_symbols): ..here.  Rename "name" to "soname".
Use elf_dyn_lib_class to set dt_needed and add_needed.  Move fallback
initialization of soname.
(elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of
elf_dt_soname.
* bfd-in.h (enum dynamic_lib_link_class): New.
(bfd_elf_set_dt_needed_soname): Delete.
(bfd_elf_set_dyn_lib_class): Declare.
* bfd-in2.h: Regenerate.
ld/
* ld.texinfo: Add --as-needed doco.
* ldmain.c (as_needed): New global var.
* ldmain.h (as_needed): Declare.
* lexsup.c (option_values): Add OPTION_AS_NEEDED and
OPTION_NO_AS_NEEDED.
(ld_options): Likewise.
(parse_args): Handle them.
* ldlang.h (lang_input_statement_type): Add as_needed field.
* ldlang.c (new_afile): Set p->as_needed.
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
(gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
(ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.

* ldlang.c (open_input_bfds): Remove useless cast.
(lang_do_assignments_1): Likewise.
(lang_for_each_input_section): Delete.

20 years ago * expr.c (operand): Reject ++ and --.
Nathan Sidwell [Thu, 18 Mar 2004 09:19:20 +0000 (09:19 +0000)]
* expr.c (operand): Reject ++ and --.
(operator): Likewise.

20 years ago * elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling.
Alan Modra [Thu, 18 Mar 2004 04:32:17 +0000 (04:32 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling.
(_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs.
* elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in
symbol loop.  Instead use add_needed to flag tag as written.

20 years agomerge from gcc
DJ Delorie [Thu, 18 Mar 2004 04:07:41 +0000 (04:07 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Thu, 18 Mar 2004 02:07:18 +0000 (02:07 +0000)]
merge from gcc

20 years ago[gas]
Kaz Kojima [Thu, 18 Mar 2004 00:49:23 +0000 (00:49 +0000)]
[gas]
* config/tc-sh.c: Include dw2gencfi.h.
(sh_cfi_frame_initial_instructions): New function.
(sh_regname_to_dw2regnum): Likewise.
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
file.
(TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions): Likewise.
(tc_regname_to_dw2regnum): Likewise.
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.

[gas/testsuite]
* gas/cfi/cfi-sh-1.d: New file.
* gas/cfi/cfi-sh-1.s: Likewise.
* gas/cfi/cfi.exp: Add SH case.

20 years agodaily update
Alan Modra [Wed, 17 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2004-03-17 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode [Wed, 17 Mar 2004 19:26:07 +0000 (19:26 +0000)]
2004-03-17  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Remove symbolic link section.
* configure: Regenerate.
* Makefile.tpl (links): Remove.
* Makefile.in: Regenerate.

20 years ago * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
Nathan Sidwell [Wed, 17 Mar 2004 12:27:05 +0000 (12:27 +0000)]
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
logic for null_input_bfd detection.

20 years agoSwitch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
Alan Modra [Wed, 17 Mar 2004 00:46:25 +0000 (00:46 +0000)]
Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.

20 years agodaily update
Alan Modra [Tue, 16 Mar 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago2004-03-15 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode [Tue, 16 Mar 2004 22:21:55 +0000 (22:21 +0000)]
2004-03-15  Paolo Bonzini  <bonzini@gnu.org>
            Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in (DEFAULT_YACC, DEFAULT_M4, DEFAULT_LEX):
        Set with AC_CHECK_PROGS.
* configure.in: Fix comment typo from last patch.
* configure: Regenerate.

20 years ago* netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
Mark Kettenis [Tue, 16 Mar 2004 12:22:18 +0000 (12:22 +0000)]
* netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
code.

20 years agoRevert "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns.
Alan Modra [Tue, 16 Mar 2004 11:46:15 +0000 (11:46 +0000)]
Revert "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns.

20 years agocopyright date.
Alan Modra [Tue, 16 Mar 2004 10:31:18 +0000 (10:31 +0000)]
copyright date.

20 years ago * elflink.c (elf_link_read_relocs_from_section): Don't use
Alan Modra [Tue, 16 Mar 2004 10:29:12 +0000 (10:29 +0000)]
* elflink.c (elf_link_read_relocs_from_section): Don't use
NUM_SHDR_ENTRIES in end of reloc calc.  Move NULL shdr check..
(_bfd_elf_link_read_relocs): ..to here.
* elf32-ppc.c (ppc_elf_relax_section): Formatting.

20 years ago * configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override
Alan Modra [Tue, 16 Mar 2004 09:05:22 +0000 (09:05 +0000)]
* configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override
values selected in configure.host.  Require both to be defined
before setting BFD_HOST_64_BIT_DEFINED.  Protect assignment to
corresponding BFD_HOST vars with quotes.
<${host64}-${target64}-${want64} in *true*>: Don't exempt gcc;
Always require BFD_HOST_64_BIT_DEFINED.
<file_ptr type>: Find off_t size before emitting message.  Combine
off_t and ftello64 conditional.
* configure: Regenerate.

20 years ago * elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
Alan Modra [Tue, 16 Mar 2004 01:49:30 +0000 (01:49 +0000)]
* elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
aliasing warning.  Remove trailing whitespace throughout file.

20 years agoopcodes/
Alan Modra [Tue, 16 Mar 2004 00:58:43 +0000 (00:58 +0000)]
opcodes/
* ppc-dis.c (print_insn_powerpc): Don't print tabs.  Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO.  Update all uses.
(powerpc_opcodes): Use RA0 as appropriate.  Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.

include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define.  Bump other operand defines.

gas/testsuite/
Update gas/ppc/.

ld/testsuite/
Update ld-powerpc/.

20 years ago2004-03-15 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 16 Mar 2004 00:04:59 +0000 (00:04 +0000)]
2004-03-15  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Introduce experimental top level bootstrap support.
* Makefile.in: Regenerate.
* configure.in: Introduce support for top level bootstrap.
* configure: Regenerate.

20 years agodaily update
Alan Modra [Mon, 15 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.
Aldy Hernandez [Mon, 15 Mar 2004 19:07:39 +0000 (19:07 +0000)]
    * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.

20 years ago * elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of
Dave Anglin [Mon, 15 Mar 2004 17:53:45 +0000 (17:53 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of
input_section in calls to get_dyn_name.
* elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *". Use section id of first section in input BFD to build dynamic name for
local symbols.
(elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name.

20 years ago * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.
Alan Modra [Mon, 15 Mar 2004 14:21:43 +0000 (14:21 +0000)]
* bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.
(BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here.
(bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t.
(bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t.
(bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t.
* configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8.
(BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set
when using long.
* libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t.
(bfd_getb64): Return bfd_uint64_t.  Enable when BFD_HOST_64_BIT.
(bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
(bfd_putb64): Accept bfd_uint64_t.  Enable when BFD_HOST_64_BIT.
(bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise.
* dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t.
(read_8_bytes, read_indirect_string, read_address): Likewise.
(read_abbrevs, parse_comp_unit): Likewise.
* targets.c (struct bfd_target): Likewise.
* aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use.
* hppabsd-core.c: Likewise.  Formatting.
* hpux-core.c: Likewise.
* irix-core.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* trad-core.c: Likewise.
* configure: Regenerate.
* bfd-in2.h: Regenerate.

20 years ago * sparc-dis.c (print_insn_sparc): Update getword prototype.
Alan Modra [Mon, 15 Mar 2004 13:36:28 +0000 (13:36 +0000)]
* sparc-dis.c (print_insn_sparc): Update getword prototype.

20 years ago * objdump.c (struct SFILE): Replace current pointer with pos
Nathan Sidwell [Mon, 15 Mar 2004 12:31:41 +0000 (12:31 +0000)]
* objdump.c (struct SFILE): Replace current pointer with pos
offset, rename size to alloc.
(objdump_sprintf): Avoid unnecessary copies in the common case
(disassemble_bytes): Keep sfile live throughout the
function. Adjust usage appropriately.

20 years ago * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*.
Alan Modra [Mon, 15 Mar 2004 12:23:11 +0000 (12:23 +0000)]
* bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*.
(bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise.
(bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
(bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
(bfd_getb_signed_16, bfd_getl_signed_16): Likewise.
(bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise.
(bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise.
* libbfd.c: Likewise in function definitions.
(bfd_put_8): Mask with 0xff rather than casting to char.
(bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise.
(bfd_putb64, bfd_putl64, bfd_put_bits): Likewise.
(H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify.
(H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise.
(H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise.
(H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise.
* libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify.
(H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise.
(H_GET_64, H_GET_32, H_GET_16): Likewise.
(H_GET_S64, H_GET_S32, H_GET_S16): Likewise.
* archive.c (do_slurp_coff_armap): Update swap prototype.
* coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*.
(tic54x_getl_signed_32): Likewise.
(tic54x_putl32): Likewise.  Mask with 0xff rather than casting to char.
* mach-o.c (bfd_mach_o_read_header): Update get32 prototype.
* pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*.
(bfd_getp_signed_32, bfd_putp32): Likewise.
* targets.c (struct bfd_target): Use void* in place of bfd_byte* for
bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32,
bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16,
bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64,
bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16,
bfd_h_getx_signed_16, bfd_h_putx16.
* aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes.
* hppabsd-core.c: Similarly.  Rename NO_SIGNED_GET to NO_GETS.
* hpux-core.c: Likewise.
* irix-core.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* trad-core.c: Likewise.
* bfd-in2.h: Regenerate.

20 years ago * gas/i386/padlock.s: Pad with .p2align.
Alan Modra [Mon, 15 Mar 2004 00:45:34 +0000 (00:45 +0000)]
* gas/i386/padlock.s: Pad with .p2align.
* gas/i386/padlock.d: Adjust.

20 years ago * config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is
Alan Modra [Mon, 15 Mar 2004 00:02:56 +0000 (00:02 +0000)]
* config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is
selected.

20 years agodaily update
Alan Modra [Sun, 14 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sat, 13 Mar 2004 23:00:35 +0000 (23:00 +0000)]
daily update

20 years ago* config.bfd: Add x86_64-*-openbsd*.
Mark Kettenis [Sat, 13 Mar 2004 12:33:48 +0000 (12:33 +0000)]
* config.bfd: Add x86_64-*-openbsd*.
* configure.in (x86_64-*-openbsd*): Set COREFILE to
netbsd-core.lo.
* configure: Regenerate.

20 years ago2004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org>
Nathanael Nerode [Sat, 13 Mar 2004 05:54:47 +0000 (05:54 +0000)]
2004-03-12  Eric Botcazou  <ebotcazou@gcc.gnu.org>
            Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/14522
* configure.in: Cope with shells that do not support unquoted ^
* configure: Regenerate.

20 years agodaily update
Alan Modra [Fri, 12 Mar 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago * read.c (s_leb128): Call md_flush_pending_output.
Bob Wilson [Fri, 12 Mar 2004 17:48:12 +0000 (17:48 +0000)]
    * read.c (s_leb128): Call md_flush_pending_output.

20 years ago2004-03-12 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 12 Mar 2004 13:38:46 +0000 (13:38 +0000)]
2004-03-12  Michal Ludvig  <mludvig@suse.cz>

* i386.h (i386_optab): Added xstore as an alias for xstorerng.

20 years ago2004-03-12 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 12 Mar 2004 13:38:16 +0000 (13:38 +0000)]
2004-03-12  Michal Ludvig  <mludvig@suse.cz>

* i386-dis.c (GRPPLOCK): Delete.
(grps): Detele GRPPLOCK entry.

20 years ago2004-03-12 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 12 Mar 2004 13:37:38 +0000 (13:37 +0000)]
2004-03-12  Michal Ludvig  <mludvig@suse.cz>

* gas/i386/padlock.s, gas/i386/padlock.d: New tests for
VIA PadLock instructions.
* gas/i386/i386.exp: Run padlock tests.

20 years ago * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.
Alan Modra [Fri, 12 Mar 2004 13:06:50 +0000 (13:06 +0000)]
* i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.
(M, Mp): Use OP_M.
(None, PADLOCK_SPECIAL, PADLOCK_0): Delete.
(GRPPADLCK): Define.
(dis386): Use NOP_Fixup on "nop".
(dis386_twobyte): Use GRPPADLCK on opcode 0xa7.
(twobyte_has_modrm): Set for 0xa7.
(padlock_table): Delete.  Move to..
(grps): ..here, using OP_0f07.  Use OP_Ofae on lfence, mfence
and clflush.
(print_insn): Revert PADLOCK_SPECIAL code.
(OP_E): Delete sfence, lfence, mfence checks.

* gas/i386/katmai.d: Revert last change.

20 years agoIgnore data-only sections when checking interworking status
Nick Clifton [Fri, 12 Mar 2004 11:57:05 +0000 (11:57 +0000)]
Ignore data-only sections when checking interworking status

20 years ago * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.
Jakub Jelinek [Fri, 12 Mar 2004 10:47:49 +0000 (10:47 +0000)]
* i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.
(INVLPG_Fixup): New function.
(PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag.

* opcode/i386.h (i386_optab): Remove CpuNo64 from sysenter and
sysexit.

20 years ago2004-03-12 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 12 Mar 2004 10:14:29 +0000 (10:14 +0000)]
2004-03-12  Michal Ludvig  <mludvig@suse.cz>

* gas/config/tc-i386.c (output_insn): Handle PadLock instructions.
* gas/config/tc-i386.h (CpuPadLock): New define.
(CpuUnknownFlags): Added CpuPadLock.
* include/opcode/i386.h (i386_optab): Added xstore/xcrypt insns.
* opcodes/i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines.
(dis386_twobyte): Opcode 0xa7 is PADLOCK_0.
(padlock_table): New struct with PadLock instructions.
(print_insn): Handle PADLOCK_SPECIAL.

20 years agoopcodes/
Alan Modra [Fri, 12 Mar 2004 07:01:37 +0000 (07:01 +0000)]
opcodes/
* i386-dis.c (grps): Use clflush by default for 0x0fae/7.
(OP_E): Twiddle clflush to sfence here.

gas/testsuite/
* gas/i386/katmai.d: Adjust for clflush change.

20 years agodaily update
Alan Modra [Thu, 11 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org>
DJ Delorie [Thu, 11 Mar 2004 18:30:52 +0000 (18:30 +0000)]
2004-03-11  Eric Botcazou  <ebotcazou@gcc.gnu.org>
            Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/14522
* configure.in: Cope with shell that do not support nesting
quotes inside quoted backquote substitutions.
* configure: Regenerate.

2004-03-10  Andrew Pinski  <pinskia@physics.uc.edu>

PR bootstrap/14522
* configure.in: Fix escaping of $.
* configure: Regenerate.

20 years ago(top level)
Nathanael Nerode [Thu, 11 Mar 2004 05:15:36 +0000 (05:15 +0000)]
(top level)
2004-03-11  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Regenerate.

2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

PR ada/14131
Move language detection to the top level.
* configure.in: Find default values for the tools as
soon as possible.  Disable ada if GNAT is not found.
Emit error message about missing languages.  Expand
--enable-languages=all for the gcc subdirectory.

(config)
2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

PR ada/14131
Move language detection to the top level.
* acx.m4 (ACX_PROG_GNAT): New macro, moved here
from the gcc subdirectory.

2004-03-09  Hans-Peter Nilsson  <hp@axis.com>

* accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with
"-c".  Properly quote parameter for AC_MSG_ERROR.

20 years agodaily update
Alan Modra [Wed, 10 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * MAINTAINERS: Update my mail address.
Ben Elliston [Wed, 10 Mar 2004 02:58:23 +0000 (02:58 +0000)]
* MAINTAINERS: Update my mail address.

20 years agomerge from gcc
DJ Delorie [Wed, 10 Mar 2004 01:02:12 +0000 (01:02 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Wed, 10 Mar 2004 00:01:28 +0000 (00:01 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Tue, 9 Mar 2004 23:00:16 +0000 (23:00 +0000)]
daily update

20 years agoPatch from Steve Ellcey for potential race condition.
Jim Wilson [Tue, 9 Mar 2004 20:50:56 +0000 (20:50 +0000)]
Patch from Steve Ellcey for potential race condition.
* elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq.

20 years agomerge from gcc
DJ Delorie [Tue, 9 Mar 2004 05:31:00 +0000 (05:31 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Mon, 8 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gas/cfi/cfi-s390x-1.d: Adjust offsets.
Andreas Jaeger [Mon, 8 Mar 2004 19:12:30 +0000 (19:12 +0000)]
* gas/cfi/cfi-s390x-1.d: Adjust offsets.

20 years agoHonour the PRIVATE keyword
Nick Clifton [Mon, 8 Mar 2004 11:50:36 +0000 (11:50 +0000)]
Honour the PRIVATE keyword

20 years agoHonour PRIVATE keyword
Nick Clifton [Mon, 8 Mar 2004 11:33:59 +0000 (11:33 +0000)]
Honour PRIVATE keyword

20 years agoUpdated German translation
Nick Clifton [Mon, 8 Mar 2004 10:06:13 +0000 (10:06 +0000)]
Updated German translation

20 years ago * gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.
Richard Henderson [Sun, 7 Mar 2004 23:02:02 +0000 (23:02 +0000)]
    * gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.

20 years agodaily update
Alan Modra [Sun, 7 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Sun, 7 Mar 2004 16:05:22 +0000 (16:05 +0000)]
merge from gcc

20 years ago* doc/c-hppa.texi (HPPA Directives): Fix typo.
Andreas Schwab [Sun, 7 Mar 2004 15:00:16 +0000 (15:00 +0000)]
* doc/c-hppa.texi (HPPA Directives): Fix typo.

20 years ago * gas/cfi/cfi-x86_64.d: Adjust offsets.
Andreas Jaeger [Sun, 7 Mar 2004 10:04:42 +0000 (10:04 +0000)]
* gas/cfi/cfi-x86_64.d: Adjust offsets.

20 years ago * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
Richard Henderson [Sun, 7 Mar 2004 08:51:21 +0000 (08:51 +0000)]
    * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
        (cfi_finish): Likewise for fde.

        * gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d,
        gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d,
        gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets.

20 years agodaily update
Alan Modra [Sat, 6 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoReviewed and approved by Alan Modra <amodra@bigpond.net.au>
Fred Fish [Fri, 5 Mar 2004 23:50:54 +0000 (23:50 +0000)]
Reviewed and approved by Alan Modra <amodra@bigpond.net.au>

2004-03-05  Fred Fish  <fnf@redhat.com>
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force
mips16 symbols to be even rather than testing first for even/odd.
(_bfd_mips_elf_link_output_symbol_hook): Ditto.

20 years ago * ld-scripts/size-1.d: Add bigendian regexps.
Nathan Sidwell [Fri, 5 Mar 2004 19:27:34 +0000 (19:27 +0000)]
* ld-scripts/size-1.d: Add bigendian regexps.
* ld-scripts/size-2.d: Set --wide for readelf.

20 years ago2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 Mar 2004 17:07:12 +0000 (17:07 +0000)]
2004-03-05  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (md_assemble): Properly handle NULL
align_frag.
(ia64_handle_align): Don't abort if failed to add a stop bit.

20 years ago * elf.c (map_sections_to_segments): Ignore .tbss sections for
Nathan Sidwell [Fri, 5 Mar 2004 11:26:05 +0000 (11:26 +0000)]
* elf.c (map_sections_to_segments): Ignore .tbss sections for
layout purposes.

* ldlang.c (lang_add_section): Don't force SEC_LOAD on
SEC_THREAD_LOCAL.
(IGNORE_SECTION): Ignore .tbss sections too.
(lang_size_sections_1): .tbss sections do not advance dot.

* ld-scripts/size.exp: New.
* ld-scripts/size-[12].{d,s,t}: New.

20 years agodaily update
Alan Modra [Thu, 4 Mar 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Mar 2004 17:08:23 +0000 (17:08 +0000)]
2004-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

20 years ago * gas/sh/sh64/err-dsp.s: Fix expected error message.
Kaz Kojima [Thu, 4 Mar 2004 01:24:21 +0000 (01:24 +0000)]
* gas/sh/sh64/err-dsp.s: Fix expected error message.

20 years agodaily update
Alan Modra [Wed, 3 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
Alexandre Oliva [Wed, 3 Mar 2004 21:31:10 +0000 (21:31 +0000)]
* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
undefined symbols as hash_new.

20 years ago2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Mar 2004 19:26:26 +0000 (19:26 +0000)]
2004-03-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (dot_align): New.
(ia64_do_align): Make it static.
(md_pseudo_table): Use "dot_align" for "align".
(ia64_md_do_align): Don't set align_frag here.
(ia64_handle_align): Add a stop bit to the previous bundle if
needed.

* config/tc-ia64.h (ia64_do_align): Removed.

20 years ago2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Wed, 3 Mar 2004 18:01:49 +0000 (18:01 +0000)]
2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>

opcodes:
* sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
nofpu mode.  Add BFD type bfd_mach_sh4_nommu_nofpu.
* sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
accordingly.
bfd:
* archures.c: Add bfd_mach_sh4_nommu_nofpu.
* cpu-sh.c: Ditto.
* elf32-sh.c: Ditto.
* bfd-in2.h: Regenerate.
include/elf:
* sh.h: Add EF_SH4_NOMMU_NOFPU.
gas:
* config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
-isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
(sh_elf_final_processing): Output BFD type sh4_nofpu if that is
the most general type or the user specifically requested it.
(md_assemble): Add a new error message for when an instruction
is understood, but is not allowed due to an -isa option.

20 years ago2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Mar 2004 04:37:38 +0000 (04:37 +0000)]
2004-03-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (align_frag): New.
(md_assemble): Set the tc_frag_data field in align_frag for
IA64_OPCODE_FIRST instructions.
(ia64_md_do_align): Set align_frag.
(ia64_handle_align): Add a stop bit if needed.

* config/tc-ia64.h (TC_FRAG_TYPE): New.
(TC_FRAG_INIT): New.

20 years ago* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
Alexandre Oliva [Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)]
* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
dynrelocs.
(_frv_count_got_plt_entries): Initialize them.
(frv_pic_relocs_info_find): Add insert argument.  Adjust all
callers.
(frv_pic_relocs_info_for_global): Likewise.
(frv_pic_relocs_info_for_local): Likewise.
(frv_pic_merge_early_relocs_info): New.
(_frv_resolve_final_relocs_info): Use it in case one entry maps to
another.
(_frv_add_dyn_reloc): Add entry argument.  Adjust all callers.
Check that we don't exceed the allocated count for entry.
(_frv_add_rofixup): Likewise.
(_frv_emit_got_relocs_plt_entries): Adjust for coding standards.
(elf32_frv_finish_dynamic_sections): Improve error message in case
we emit too few rofixup entries.