OSDN Git Service
bobbybrasko [Sun, 8 May 2005 13:42:03 +0000 (13:42 +0000)]
Add the fullname_syntax testsuite variable. This allows GDB to make sure
that the MI fullname field is an absolute path, instead of just checking
for .* or /.*
dannysmith [Sun, 8 May 2005 08:07:17 +0000 (08:07 +0000)]
* mingwex/math/erfl.c: New file.
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c.
(MATH_OBJS): Add erfl.o.
* include/math.h (erfl, erfcl): Uncomment prototypes.
gdbadmin [Sun, 8 May 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 8 May 2005 00:00:08 +0000 (00:00 +0000)]
daily update
hjl [Sat, 7 May 2005 22:19:35 +0000 (22:19 +0000)]
gas/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 940
* config/tc-ia64.c (start_unwind_section): Properly check
comdat group with SHF_GROUP.
gas/testsuite/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 940
* gas/ia64/group-2.d: New.
* gas/ia64/group-2.s: New.
* gas/ia64/ia64.exp: Add "group-2".
cgf [Sat, 7 May 2005 21:06:07 +0000 (21:06 +0000)]
* path.cc (normalize_posix_path): Don't treat '//' specially since newer
versions of bash now get this right.
cgf [Sat, 7 May 2005 20:20:49 +0000 (20:20 +0000)]
* devices.cc: Regenerate with correct name for dev_netdrive_storage.
hjl [Sat, 7 May 2005 13:29:57 +0000 (13:29 +0000)]
gas/testsuite/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 843
* gas/i386/i386.exp: Add x86-64-branch.
* gas/i386/x86-64-branch.d: New.
* gas/i386/x86-64-branch.s: New.
opcodes/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR 843
* i386-dis.c (branch_v_mode): New.
(indirEv): Use branch_v_mode instead of v_mode.
(OP_E): Handle branch_v_mode.
hjl [Sat, 7 May 2005 13:26:27 +0000 (13:26 +0000)]
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
* d10v-dis.c (dis_2_short): Support 64bit host.
hjl [Sat, 7 May 2005 13:22:41 +0000 (13:22 +0000)]
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Update special_sections to
array of pointer to bfd_elf_special_section.
* elf.c (special_sections): Likewise.
* elf32-arm.c (elf32_arm_symbian_special_sections): Likewise.
* elf32-m32r.c (m32r_elf_special_sections): Likewise.
* elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise.
* elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise.
* elf32-mcore.c (mcore_elf_special_sections): Likewise.
* elf32-ppc.c (ppc_elf_special_sections): Likewise.
* elf32-sh64.c (sh64_elf_special_sections): Likewise.
* elf32-v850.c (v850_elf_special_sections): Likewise.
* elf32-xtensa.c (elf_xtensa_special_sections): Likewise.
* elf64-alpha.c (elf64_alpha_special_sections): Likewise.
* elf64-hppa.c (elf64_hppa_special_sections): Likewise.
* elf64-ppc.c (ppc64_elf_special_sections): Likewise.
* elf64-sh64.c (sh64_elf64_special_sections): Likewise.
* elfxx-ia64.c (elfNN_ia64_special_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise.
* elfxx-mips.h (_bfd_mips_elf_special_sections): Likewise.
* elf.c (get_special_section): Updated.
nickc [Sat, 7 May 2005 07:52:54 +0000 (07:52 +0000)]
Update Dutch translation
nickc [Sat, 7 May 2005 07:34:25 +0000 (07:34 +0000)]
Update the address and phone number of the FSF
nickc [Sat, 7 May 2005 07:06:59 +0000 (07:06 +0000)]
Move doc/ entries into doc/ChangeLog.
Remove duplicated ChangeLog entry.
jimb [Sat, 7 May 2005 04:39:29 +0000 (04:39 +0000)]
* cgen-engine.h (EXTRACT_MSB0_INT, EXTRACT_MSB0_UINT)
(EXTRACT_LSB0_INT, EXTRACT_LSB0_UINT): Doc fixes.
amodra [Sat, 7 May 2005 02:55:52 +0000 (02:55 +0000)]
bfd/
* elf-bfd.h (struct elf_backend_data): Remove got_symbol_offset.
* elfxx-target.h (elf_backend_got_symbol_offset): Delete.
* elflink.c (_bfd_elf_create_got_section): Use zero in place of
got_symbol_offset.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
* elf32-frv.c (_frv_create_got_section): Likewise.
* elf32-i370.c (i370_elf_finish_dynamic_sections): Delete ppc code.
(elf_backend_got_symbol_offset): Don't define.
* elf64-ppc.c (elf_backend_got_symbol_offset): Don't define.
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add got_header_size
and got_gap.
(ppc_elf_create_got): Tidy.
(ppc_elf_create_dynamic_sections): Don't set SEC_IN_MEMORY for .plt.
(ppc_elf_check_relocs): Reduce string comparisons by using elf.hgot.
(ppc_elf_gc_sweep_hook): Likewise.
(ppc_elf_relocate_section): Likewise.
(ppc_elf_finish_dynamic_symbol): Likewise.
(allocate_got): New function.
(allocate_dynrelocs): Use allocate_got.
(ppc_elf_size_dynamic_sections): Likewise. Delay tlsld_got allocation
so that local got can refcount it. Set got_header_size.
(ppc_elf_relocate_section): Use value of elf.hgot rather than hard-
coded 4.
(ppc_elf_finish_dynamic_sections): Likewise.
(elf_backend_got_symbol_offset): Don't define.
(elf_backend_got_header_size): Ditto.
ld/testsuite/
* ld-powerpc/tlsexe32.d: Update for changed got layout.
* ld-powerpc/tlsexe32.g: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
hjl [Sat, 7 May 2005 02:14:19 +0000 (02:14 +0000)]
2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
Put back !link_info.relocatable.
dj [Sat, 7 May 2005 02:00:40 +0000 (02:00 +0000)]
merge from gcc
gdbadmin [Sat, 7 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 7 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update
jimb [Fri, 6 May 2005 22:54:37 +0000 (22:54 +0000)]
* pprint.scm, cos-pprint.scm: Add documentation.
* pprint.scm (pprint): Don't wipe out elide-table after each call.
bwilson [Fri, 6 May 2005 22:24:48 +0000 (22:24 +0000)]
* doc/c-xtensa.texi (Literal Directive): Spelling correction.
jimb [Fri, 6 May 2005 21:43:40 +0000 (21:43 +0000)]
* pprint.scm, cos-pprint.scm: New files.
bwilson [Fri, 6 May 2005 21:27:46 +0000 (21:27 +0000)]
* config/tc-xtensa.c: Remove excess whitespace.
* config/tc-xtensa.h: Likewise.
* config/xtensa-istack.h: Likewise.
* config/xtensa-relax.c: Likewise.
* config/xtensa-relax.h: Likewise.
cgf [Fri, 6 May 2005 21:09:58 +0000 (21:09 +0000)]
move comment
cgf [Fri, 6 May 2005 21:09:35 +0000 (21:09 +0000)]
fix breakpoint example
drow [Fri, 6 May 2005 18:23:08 +0000 (18:23 +0000)]
Correct changelog snafu.
hjl [Fri, 6 May 2005 15:42:02 +0000 (15:42 +0000)]
Mention PR.
hjl [Fri, 6 May 2005 15:40:23 +0000 (15:40 +0000)]
2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
Just check link_info.executable.
nickc [Fri, 6 May 2005 08:49:26 +0000 (08:49 +0000)]
Fix formatting of comments.
nickc [Fri, 6 May 2005 08:26:54 +0000 (08:26 +0000)]
Update the address and phone number of the FSF organization in the GPL notices
nickc [Fri, 6 May 2005 08:20:01 +0000 (08:20 +0000)]
Move testsuite specific entries from gas/ChangeLog to gas/testsuite/ChangeLog
jbeulich [Fri, 6 May 2005 07:38:58 +0000 (07:38 +0000)]
gas/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* sb.h (sb_add_buffer): Reintroduce.
* sb.c (sb_add_buffer): Likewise.
jbeulich [Fri, 6 May 2005 06:50:27 +0000 (06:50 +0000)]
gas/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* macro.c (new_formal, del_formal): New.
(do_formals): Use new_formal. Check for and parse qualifier. Warn if
required argument has default value. Stop looking for more formal
when there was a vararg one.
(macro_expand_body): Use new_formal and del_formal.
(macro_expand): Likewise. Initialize local variable err. Don't
return immediately when encountering an error. Warn when keyword
argument already had a value assigned. Eliminate duplicate clearing
of argument value. When current positional argument matches parameter
of vararg type, assign to it all the remaining arguments. Issue error
when required parameter does not have value.
(free_macro): Use del_formal.
(expand_irp): Initialize formal type. Free buffers associated with
formal prior to returning.
* macro.h (struct formal_struct): Add new field 'type' with new
enumeration type 'formal_type'.
* doc/as.texinfo: Document macro parameter qualifiers.
* NEWS: Mention new functionality.
gas/testsuite/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* gas/macros/badarg.s: Add check for bad qualifier specification.
* gas/macros/badarg.l: Adjust.
* gas/macros/vararg.[sd]: New.
* gas/macros/macros.exp: Run new test.
jbeulich [Fri, 6 May 2005 06:38:09 +0000 (06:38 +0000)]
gas/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* cond.c (s_ifb): New.
* read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
* read.h (s_ifb): Prototype.
* doc/as.texinfo: Document .ifb and .ifnb.
gas/testsuite/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* gas/all/cond.s: Also test .ifb/.ifnb.
* gas/all/cond.d: Adjust.
jbeulich [Fri, 6 May 2005 06:32:42 +0000 (06:32 +0000)]
binutils/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* objcopy.c (copy_file): Don't delete output upon error here.
(copy_main): Delete output upon error.
jbeulich [Fri, 6 May 2005 06:30:32 +0000 (06:30 +0000)]
gas/testsuite/
2005-05-06 Jan Beulich <jbeulich@novell.com>
* gas/macros/dot.s: Don't use pseudo-ops in first column.
* gas/macros/dot.l: Match broader range of possible outputs.
* gas/macros/purge.l: Likewise.
* gas/macros/purge.s: Start generated macro names with an underscore.
cgf [Fri, 6 May 2005 04:06:15 +0000 (04:06 +0000)]
* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
* fhandler_netdrive.cc: Placeholder file for future development.
* devices.h (FH_NETDRIVE): Define new virtual device type.
(netdrive_dev): Define.
* devices.in (dev_netdrive_storage): Define.
* devices.cc: Regenerate.
gdbadmin [Fri, 6 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 6 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
jjohnstn [Thu, 5 May 2005 23:15:53 +0000 (23:15 +0000)]
2005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>
* arm/syscalls.c (get_errno): Fix output register constraint.
jjohnstn [Thu, 5 May 2005 23:07:08 +0000 (23:07 +0000)]
2005-05-05 J"orn Rennecke <joern.rennecke@st.com>
* rs6000/sim-getrusage.S: New file, broken out of:
(simulator.S).
* rs6000/Makefile.in (SIM_OBJS): Add sim-getrusage.o.
(sim-getrusage.o): New rule.
wilson [Thu, 5 May 2005 21:45:57 +0000 (21:45 +0000)]
Fix ia64-hpux build failure.
* ia64-opc.c: Include sysdep.h before libiberty.h.
wilson [Thu, 5 May 2005 18:51:11 +0000 (18:51 +0000)]
Fix ia64-hpux build failure, patch from Steve Ellcey.
* configure.in (ACX_HEADER_STRING): New.
* configure: Regenerate.
* config.in: Regenerate.
* sysdep.h (STRING_WITH_STRINGS): Use.
wilson [Thu, 5 May 2005 17:57:28 +0000 (17:57 +0000)]
Fix ia64-hpux build failure, patch from Steve Ellcey.
* config/tc-ia64.c (MIN): Undef.
hjl [Thu, 5 May 2005 17:22:34 +0000 (17:22 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_close_and_cleanup): Only call
_bfd_dwarf2_cleanup_debug_info on bfd_object.
hjl [Thu, 5 May 2005 16:40:03 +0000 (16:40 +0000)]
bfd/
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_provide_section_bound_symbols): Use
"__bss_start" instead of "_edata" as fallback.
ld/
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc: Document the usage of __bss_start.
hjl [Thu, 5 May 2005 15:36:02 +0000 (15:36 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* Makefile.in: Regenerate.
hjl [Thu, 5 May 2005 15:19:39 +0000 (15:19 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in2.h: Regenerated.
pbrook [Thu, 5 May 2005 14:37:01 +0000 (14:37 +0000)]
2005-05-05 Paul Brook <paul@codesourcery.com>
bfd/
* config.bfd: Use bfd_elf32_i386_vxworks_vec for i?86-*-vxworks.
* configure.in: Add bfd_elf32_i386_vxworks_vec. i386 targets need
elf-vxworks.lo.
* configure: Regenerate.
* Makefile.am (BFD32_BACKENDS): Add elf-vxworks.lo.
(BFD32_BACKENDS_CFILES): Add elf-vxworks.c.
(elf32-i386.lo): Depend on elf-vxworks.h.
(elf-vxworks.lo): New rule.
* Makefile.in: Regenerate.
* elf-bfd.h (elf_backend_data): Update type of
elf_backend_emit_relocs.
(_bfd_elf_link_output_relocs): Update prototype.
* elflink.c (_bfd_elf_link_output_relocs): Always use
bed->elf_backend_emit_relocs when outputting relocations.
* elfxx-target.h (elf_backend_emit_relocs): Default to
_bfd_elf_link_output_relocs.
* targets.c (bfd_elf32_i386_vxworks_vec): Declare.
(_bfd_target_vector): Add bfd_elf32_i386_vxworks_vec.
* elf32-i386.c: Add elf32-i386-vxworks target BFD.
(elf_i386_plt0_entry): Remove padding.
(elf_i386_pic_plt0_entry): Ditto.
(PLTRESOLVE_RELOCS_SHLIB, PLTRESOLVE_RELOCS): Define.
(PLT_NON_JUMP_SLOT_RELOCS): Define.
(elf_i386_link_hash_table): Add srelplt2, hgot, hplt, is_vxworks and
plt0_pad_byte fields.
(elf_i386_link_hash_table_create): Zero them.
(elf_i386_create_dynamic_sections): Create static relocation section.
(allocate_dynrelocs): Allocate space for static PLT relocations.
(elf_i386_size_dynamic_sections): Save shortcuts to PLT and GOT
symbols. Give PLT symbols function type. Don't strip PLT sections
if we have exported symbols from them.
(elf_i386_finish_dynamic_symbol): Fill in VxWorks PLT static
relocation section. Don't mark _GLOBAL_OFFSET_TABLE_ as absolute on
VxWorks.
(elf_i386_finish_dynamic_sections): Allow different pad bytes.
Add relocation for GOT location. Fill in PLT static relocations.
(elf_i386_vxworks_link_hash_table_create): New function.
(elf_i386_vxworks_link_output_symbol_hook): New function.
* elf-vxworks.h: New file.
gas/
* config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
gas/testsuite/
* gas/i386/i386.exp: Don't run divide test on vxworks.
ld/
* Makefile.am: Add eelf_i386_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
* emulparams/elf_i386_vxworks.sh: New file.
* emulparams/vxworks.sh: New file.
* scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
pbrook [Thu, 5 May 2005 14:36:51 +0000 (14:36 +0000)]
2005-05-05 Paul Brook <paul@codesourcery.com>
bfd/
* config.bfd: Use bfd_elf32_i386_vxworks_vec for i?86-*-vxworks.
* configure.in: Add bfd_elf32_i386_vxworks_vec. i386 targets need
elf-vxworks.lo.
* configure: Regenerate.
* Makefile.am (BFD32_BACKENDS): Add elf-vxworks.lo.
(BFD32_BACKENDS_CFILES): Add elf-vxworks.c.
(elf32-i386.lo): Depend on elf-vxworks.h.
(elf-vxworks.lo): New rule.
* Makefile.in: Regenerate.
* elf-bfd.h (elf_backend_data): Update type of
elf_backend_emit_relocs.
(_bfd_elf_link_output_relocs): Update prototype.
* elflink.c (_bfd_elf_link_output_relocs): Always use
bed->elf_backend_emit_relocs when outputting relocations.
* elfxx-target.h (elf_backend_emit_relocs): Default to
_bfd_elf_link_output_relocs.
* targets.c (bfd_elf32_i386_vxworks_vec): Declare.
(_bfd_target_vector): Add bfd_elf32_i386_vxworks_vec.
* elf32-i386.c: Add elf32-i386-vxworks target BFD.
(elf_i386_plt0_entry): Remove padding.
(elf_i386_pic_plt0_entry): Ditto.
(PLTRESOLVE_RELOCS_SHLIB, PLTRESOLVE_RELOCS): Define.
(PLT_NON_JUMP_SLOT_RELOCS): Define.
(elf_i386_link_hash_table): Add srelplt2, hgot, hplt, is_vxworks and
plt0_pad_byte fields.
(elf_i386_link_hash_table_create): Zero them.
(elf_i386_create_dynamic_sections): Create static relocation section.
(allocate_dynrelocs): Allocate space for static PLT relocations.
(elf_i386_size_dynamic_sections): Save shortcuts to PLT and GOT
symbols. Give PLT symbols function type. Don't strip PLT sections
if we have exported symbols from them.
(elf_i386_finish_dynamic_symbol): Fill in VxWorks PLT static
relocation section. Don't mark _GLOBAL_OFFSET_TABLE_ as absolute on
VxWorks.
(elf_i386_finish_dynamic_sections): Allow different pad bytes.
Add relocation for GOT location. Fill in PLT static relocations.
(elf_i386_vxworks_link_hash_table_create): New function.
(elf_i386_vxworks_link_output_symbol_hook): New function.
* elf-vxworks.h: New file.
gas/
* config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
gas/testsuite/
* gas/i386/i386.exp: Don't run divide test on vxworks.
ld/
* Makefile.am: Add eelf_i386_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
* emulparams/elf_i386_vxworks.sh: New file.
* emulparams/vxworks.sh: New file.
* scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
hjl [Thu, 5 May 2005 14:33:36 +0000 (14:33 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* section.c (bfd_make_section_anyway_with_flags): New.
(bfd_make_section_anyway): Call bfd_make_section_anyway_with_flags,
(bfd_make_section_with_flags): New.
(bfd_make_section): Call bfd_make_section_with_flags.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Call
bfd_make_section_with_flags/bfd_make_section_anyway_with_flags
instead of bfd_make_section/bfd_make_section and don't call
bfd_set_section_flags.
(mn10300_elf_check_relocs): Likewise.
(_bfd_mn10300_elf_create_dynamic_sections): Likewise.
* elf32-arm.c (create_got_section): Likewise.
(bfd_elf32_arm_add_glue_sections_to_bfd): Likewise.
(elf32_arm_check_relocs): Likewise.
* elf32-cris.c (cris_elf_check_relocs): Likewise.
* elf32-frv.c (elf32_frv_add_symbol_hook): Likewise.
(_frv_create_got_section): Likewise.
(elf32_frvfdpic_create_dynamic_sections): Likewise.
* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise.
(elf32_hppa_check_relocs): Likewise.
* elf32-i370.c (i370_elf_create_dynamic_sections): Likewise.
(i370_elf_check_relocs): Likewise.
* elf32-i386.c (create_got_section): Likewise.
(elf_i386_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise.
(create_got_section): Likewise.
(m32r_elf_create_dynamic_sections): Likewise.
(m32r_elf_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_create_got): Likewise.
(ppc_elf_create_dynamic_sections): Likewise.
(ppc_elf_add_symbol_hook): Likewise.
(ppc_elf_check_relocs): Likewise.
* elf32-s390.c (create_got_section): Likewise.
(elf_s390_check_relocs): Likewise.
* elf32-sh.c (create_got_section): Likewise.
(sh_elf_create_dynamic_sections): Likewise.
(sh_elf_check_relocs): Likewise.
* elf32-vax.c (elf_vax_check_relocs): Likewise.
* elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise.
(add_extra_plt_sections): Likewise.
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_create_got_section): Likewise.
(elf64_alpha_create_dynamic_sections): Likewise.
(elf64_alpha_check_relocs): Likewise.
* elf64-hppa.c (get_reloc_section): Likewise.
(get_opd): Likewise.
(get_plt): Likewise.
(get_dlt): Likewise.
(get_stub): Likewise.
(elf64_hppa_create_dynamic_sectionso): Likewise.
* elf64-mmix.c (mmix_elf_check_common_relocs): Likewise.
* elf64-ppc.c (create_linkage_sections): Likewise.
(ppc64_elf_check_relocs): Likewise.
* elf64-s390.c (create_got_section): Likewise.
(elf_s390_check_relocs): Likewise.
* elf64-sh64.c (sh_elf64_check_relocs): Likewise.
(sh64_elf64_create_dynamic_sections): Likewise.
* elf64-x86-64.c (create_got_section): Likewise.
(elf64_x86_64_check_relocs): Likewise.
* elflink.c (_bfd_elf_create_got_section): Likewise.
(_bfd_elf_link_create_dynamic_sections): Likewise.
(elf_link_add_object_symbols): Likewise.
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
(elfNN_ia64_create_dynamic_sections): Likewise.
(get_fptr): Likewise.
(get_pltoff): Likewise.
(get_reloc_section): Likewise.
(elfNN_ia64_object_p): Likewise.
* elfxx-mips.c (mips_elf_rel_dyn_section): Likewise.
(mips_elf_create_compact_rel_section): Likewise.
(mips_elf_create_got_section): Likewise.
(_bfd_mips_elf_create_dynamic_sections): Likewise.
* elfxx-sparc.c (create_got_section): Likewise.
(_bfd_sparc_elf_check_relocs): Likewise.
* elf.c (_bfd_elf_new_section_hook): Call _bfd_elf_get_sec_type_attr
on linker created sections.
hjl [Thu, 5 May 2005 14:30:04 +0000 (14:30 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR 882
* elflink.c (_bfd_elf_link_assign_sym_version): Allow version
script on executable.
hjl [Thu, 5 May 2005 14:29:55 +0000 (14:29 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR 882
* elflink.c (_bfd_elf_link_assign_sym_version): Allow version
script on executable.
nickc [Thu, 5 May 2005 14:25:16 +0000 (14:25 +0000)]
* dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently allocated memory
before returning.
(decode_line_info): Likewise.
(_bfd_dwarf2_cleanup_debug_info): New function: Frees memory allocated by
functions in this file.
* elf-bfd.h (_bfd_dwarf2_cleanup_debug_info): Prototype.
* elf.c (bfd_elf_close_and_cleanup): Call _bfd_dwarf2_cleanup_debug_info.
nickc [Thu, 5 May 2005 10:57:04 +0000 (10:57 +0000)]
Don't assume a valueT is 4 bytes.
nickc [Thu, 5 May 2005 10:29:12 +0000 (10:29 +0000)]
Replace linux-gnu with linux-* to allow for versions of Linux which do not use
glibc.
nickc [Thu, 5 May 2005 09:17:30 +0000 (09:17 +0000)]
* configure.in (ALL_LINGUAS): Add vi.
* configure: Regenerate.
* po/vi.po: New.
nickc [Thu, 5 May 2005 09:12:39 +0000 (09:12 +0000)]
Update the address and phone number of the FSF
nickc [Thu, 5 May 2005 07:40:54 +0000 (07:40 +0000)]
Make -mlittle-endian switch set the target_big_endian variable to false.
hp [Thu, 5 May 2005 03:41:56 +0000 (03:41 +0000)]
* Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here.
* configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC.
* configure, config.in, Makefile.in: Regenerate.
* sysdep.h (stpcpy): Revert last change.
pbrook [Thu, 5 May 2005 03:11:22 +0000 (03:11 +0000)]
2005-05-05 Paul Brook <paul@codesourcery.com>
gas/testsuite/
* lib/gas-defs.exp (regexp_diff): Pass test if last line is "#...".
ld/testsuite/
* lib/ld-lib.exp (regexp_diff): Pass test if last line is "#...".
* ld-elfweak/elfweak.exp: Run size2.d.
* ld-elfwaek/size2.d: New file.
* ld-elfwaek/size2a.s: New file.
* ld-elfwaek/size2b.s: New file.
mrs [Thu, 5 May 2005 01:36:31 +0000 (01:36 +0000)]
* configure.in: Always pass --target to target configures as
otherwise rebuilds that do --recheck will fail.
* confiugure: Rebuilt.
amodra [Thu, 5 May 2005 00:46:49 +0000 (00:46 +0000)]
daily update
gdbadmin [Thu, 5 May 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
hp [Wed, 4 May 2005 23:25:43 +0000 (23:25 +0000)]
* sysdep.h (stpcpy): Wrap declaration in parentheses.
hjl [Wed, 4 May 2005 22:20:23 +0000 (22:20 +0000)]
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (ARCH_SIZE): New.
(LOG_SECTION_ALIGN): Likewise.
(elfNN_ia64_create_dynamic_sections): Use LOG_SECTION_ALIGN to
align relocation sections.
(get_fptr): Likewise.
(get_reloc_section): Likewise.
(elfNN_ia64_tprel_base): Likewise.
(elfNN_ia64_check_relocs): Support 32bit relocations.
(allocate_global_fptr_got): Likewise.
(allocate_dynrel_entries): Likewise.
(set_got_entry): Likewise.
(set_pltoff_entry): Likewise.
(elfNN_ia64_relocate_section): Likewise.
hjl [Wed, 4 May 2005 22:15:28 +0000 (22:15 +0000)]
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Add AC_CHECK_DECLS(stpcpy).
* configure: Regenerated.
* config.in: Likewise.
* sysdep.h (stpcpy): New.
drow [Wed, 4 May 2005 21:21:42 +0000 (21:21 +0000)]
* gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
drow [Wed, 4 May 2005 19:10:32 +0000 (19:10 +0000)]
* proc-service.c (ps_lgetregs): Search all_processes instead of
all_threads.
drow [Wed, 4 May 2005 18:51:37 +0000 (18:51 +0000)]
* server.c (start_inferior): Change return type to int.
(attach_inferior): Change sigptr to int *.
(handle_v_cont, handle_v_requests): Change signal to int *.
(main): Change signal to int.
kettenis [Wed, 4 May 2005 16:29:54 +0000 (16:29 +0000)]
* config/i386/cygwin.mh (XM_FILE): Remove variable.
* config/i386/xm-cygwin.h: Remove file.
kettenis [Wed, 4 May 2005 16:29:44 +0000 (16:29 +0000)]
* config/i386/cygwin.mh (XM_FILE): Remove variable.
* config/i386/xm-cygwin.h: Remove file.
nickc [Wed, 4 May 2005 15:52:54 +0000 (15:52 +0000)]
Update the address and phone number of the FSF organization in the GPL notices
bonzini [Wed, 4 May 2005 15:42:05 +0000 (15:42 +0000)]
2005-05-04 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
STAGE_HOST_EXPORTS.
(configure, all): Add bootstrap support.
(Host modules, target modules): Pass post-stage1 flags and exports.
(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
* Makefile.in: Regenerate.
hjl [Wed, 4 May 2005 13:18:52 +0000 (13:18 +0000)]
bfd/
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (_bfd_elf_provide_section_bound_symbols): New.
* bfd-in2.h: Regenerated.
* elflink.c (bfd_elf_set_symbol): New.
(_bfd_elf_provide_symbol): Call it.
(_bfd_elf_provide_section_bound_symbols): New.
ld/
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
Call _bfd_elf_provide_section_bound_symbols.
hjl [Wed, 4 May 2005 13:13:16 +0000 (13:13 +0000)]
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_merge_symbol): Only skip weak definitions
at the end, if a strong definition has already been seen.
corinna [Wed, 4 May 2005 11:05:08 +0000 (11:05 +0000)]
* cygerrno.h (__set_errno): Remove useless parentheses.
corinna [Wed, 4 May 2005 11:00:18 +0000 (11:00 +0000)]
* cygerrno.h (__set_errno): Define as inline function here.
(set_errno): Always define as call to __set_errno.
* debug.cc (__set_errno): Move to cygerrno.h.
amodra [Wed, 4 May 2005 11:00:02 +0000 (11:00 +0000)]
bfd/
* section.c (struct bfd_section): Replace link_order_head and
link_order_tail with map_head and map_tail union.
(STD_SECTION): Update.
(_bfd_strip_section_from_output): Delete.
* aoutx.h: Update throughout for above changes.
* coff-ppc.c: Likewise.
* cofflink.c: Likewise.
* ecoff.c: Likewise.
* elf-eh-frame.c: Likewise.
* elf-m10300.c: Likewise.
* elf.c: Likewise.
* elf32-arm.c: Likewise.
* elf32-cris.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-sparc.c: Likewise.
* linker.c: Likewise.
* merge.c: Likewise.
* pdp11.c: Likewise.
* xcofflink.c: Likewise.
* elflink.c (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Split
out from bfd_elf_size_dynamic_sections.
* bfd-in.h (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Declare.
* bfd-in2.h: Regenerate.
ld/
* ldemul.c: Include bfdlink.h.
(ldemul_before_allocation): Assume before_allocation is non-zero.
(before_allocation_default): Call strip_excluded_output_sections.
* ldlang.c (stripped_excluded_sections): New variable.
(lang_add_section): Build input section list for each output
section, attached via map_head and map_tail pointers.
(strip_excluded_output_sections): Make global. Traverse the
input section lists to find which output sections can go. Clear
link_order pointers and set stripped_excluded_sections.
(lang_process): Call strip_excluded_output_sections.
* ldlang.h (strip_excluded_output_sections): Declare.
* ldwrite.c: Update throuhout for link_order_head -> map_head change.
* emultempl/aix.em (before_allocation): Call
strip_excluded_output_sections.
* emultempl/armcoff.em (before_allocation): Likewise.
* emultempl/beos.em (before_allocation): Likewise.
* emultempl/linux.em (before_allocation): Likewise.
* emultempl/pe.em (before_allocation): Likewise.
* emultempl/sunos.em (before_allocation): Likewise.
* emultempl/elf32.em (before_allocation): Likewise. Call
bfd_elf_size_dynsym_hash_dynstr too.
* emultempl/lnk960.em (lnk960_before_allocation): Delete.
(ld_lnk960): Use before_allocation_default.
dannysmith [Wed, 4 May 2005 09:29:08 +0000 (09:29 +0000)]
* include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
#if (WCHAR_MAX <= WCHAR_MIN) is false.
* include/stdint.h (WCHAR_MAX): Likwise.
(WINT_MAX): Likewise.
nickc [Wed, 4 May 2005 07:19:19 +0000 (07:19 +0000)]
Update the FSF address in the copyright/GPL notice
cgf [Wed, 4 May 2005 01:20:05 +0000 (01:20 +0000)]
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
until cb is non-zero.
cgf [Wed, 4 May 2005 01:14:47 +0000 (01:14 +0000)]
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
until cb is non-zero.
amodra [Wed, 4 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 4 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Tue, 3 May 2005 19:03:16 +0000 (19:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't treat
inability to open file as failure if only SetFileAttributes is
going to be called. Only call set_file_attribute if really necessary.
amodra [Tue, 3 May 2005 17:08:39 +0000 (17:08 +0000)]
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
list traversal. Use bfd_section_list_prepend.
* config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
over the section list.
* config/tc-xtensa.c (xtensa_remove_section): Delete.
(xtensa_insert_section): Delete.
(xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
and bfd_section_list_prepend.
(xtensa_reorder_seg_list): Use bfd_section_list_remove and
bfd_section_list_insert_after.
amodra [Tue, 3 May 2005 17:05:47 +0000 (17:05 +0000)]
* section.c (bfd_section_list_remove): Don't clear s->next.
(bfd_section_list_append): Always init s->prev.
(bfd_section_list_prepend): Define.
(bfd_section_list_insert_after): Minor optimization.
(bfd_section_removed_from_list): Rewrite.
* elf.c (assign_section_numbers): Simplify list traversal now that
bfd_section_list_remove doesn't destroy removed section next ptr.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* elfxx-ia64.c (elfNN_ia64_object_p): Use bfd_section_list_prepend.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Simplify list traversal.
* bfd-in2.h: Regenerate.
corinna [Tue, 3 May 2005 14:07:13 +0000 (14:07 +0000)]
* fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.
nickc [Tue, 3 May 2005 12:02:44 +0000 (12:02 +0000)]
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations of bfd_section_list... macros.
* config/tc-mmix.c (mmix_frob_file): Likewise.
* config/tc-xtensa.c (xtensa_remove_section): Likewise.
(xtensa_insert_section): Likewise.
* macro.c (macro_hash): Remove static.
* macro.h (macro_hash): Provide an external declaration.
dannysmith [Tue, 3 May 2005 08:39:15 +0000 (08:39 +0000)]
* mingwex/math/signbit.c (__signbit): Make return value
consistent with GCC's __builtin_signbit.
* mingwex/math/signbitf.c (__signbitf): Likewise.
* mingwex/math/signbitf.c (__signbitl): Likewise.
* include/math.h (__signbit, __signbitf, __signbitl): Likewise
for inlines.
hjl [Tue, 3 May 2005 01:09:45 +0000 (01:09 +0000)]
Regenerated.
hjl [Tue, 3 May 2005 01:04:46 +0000 (01:04 +0000)]
bfd/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd): Remove section_tail and add section_last.
(bfd_preserve): Likewise.
(bfd_preserve_save): Likewise.
(bfd_preserve_restore): Likewise.
* opncls.c (_bfd_new_bfd): Likewise.
* coffcode.h (coff_compute_section_file_positions): Updated.
(coff_compute_section_file_positions): Likewise.
* elf.c (assign_section_numbers): Likewise.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elf64-mmix.c (mmix_elf_final_link): Likewise.
* elfxx-ia64.c (elfNN_ia64_object_p): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
* ecoff.c (bfd_debug_section): Initialize prev.
* section.c (bfd_section): Add prev.
(bfd_section_list_remove): Updated.
(bfd_section_list_append): New.
(bfd_section_list_insert_after): New.
(bfd_section_list_insert_before): New.
(bfd_section_list_insert): Removed.
(bfd_section_removed_from_list): Updated.
(STD_SECTION): Initialize prev.
(bfd_section_init): Updated.
(bfd_section_list_clear): Updated.
* bfd-in2.h: Regenerated.
gas/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* write.c (write_object_file): Use bfd_section_double_list_remove
to remove sections.
ld/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
Updated for bfd_section_list_remove change.
* ldlang.c (lang_insert_orphan): Likewise.
(strip_excluded_output_sections): Likewise.
(sort_sections_by_lma): New.
(lang_check_section_addresses): Sort the sections before
checking addresses.
hjl [Tue, 3 May 2005 01:04:42 +0000 (01:04 +0000)]
bfd/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd): Remove section_tail and add section_last.
(bfd_preserve): Likewise.
(bfd_preserve_save): Likewise.
(bfd_preserve_restore): Likewise.
* opncls.c (_bfd_new_bfd): Likewise.
* coffcode.h (coff_compute_section_file_positions): Updated.
(coff_compute_section_file_positions): Likewise.
* elf.c (assign_section_numbers): Likewise.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elf64-mmix.c (mmix_elf_final_link): Likewise.
* elfxx-ia64.c (elfNN_ia64_object_p): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
* ecoff.c (bfd_debug_section): Initialize prev.
* section.c (bfd_section): Add prev.
(bfd_section_list_remove): Updated.
(bfd_section_list_append): New.
(bfd_section_list_insert_after): New.
(bfd_section_list_insert_before): New.
(bfd_section_list_insert): Removed.
(bfd_section_removed_from_list): Updated.
(STD_SECTION): Initialize prev.
(bfd_section_init): Updated.
(bfd_section_list_clear): Updated.
* bfd-in2.h: Regenerated.
gas/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* write.c (write_object_file): Use bfd_section_double_list_remove
to remove sections.
ld/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
Updated for bfd_section_list_remove change.
* ldlang.c (lang_insert_orphan): Likewise.
(strip_excluded_output_sections): Likewise.
(sort_sections_by_lma): New.
(lang_check_section_addresses): Sort the sections before
checking addresses.
pgilliam [Tue, 3 May 2005 00:41:48 +0000 (00:41 +0000)]
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
amodra [Tue, 3 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 3 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bje [Mon, 2 May 2005 23:56:34 +0000 (23:56 +0000)]
* infrun.c (handle_inferior_event): Update the comment about users
of stepped_after_stopped_by_watchpoint.
bje [Mon, 2 May 2005 23:41:38 +0000 (23:41 +0000)]
* dlltool.c (dtab): Remove empty function.
(process_duplicates): Remove calls to dtab().
drow [Mon, 2 May 2005 22:00:41 +0000 (22:00 +0000)]
* doc/Makefile.am (gasver.texi): Correct quoting.
* doc/Makefile.in: Regenerated.