]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago2004-06-25 J"orn Rennecke <joern.rennecke@superh.com>
Joern Rennecke [Fri, 25 Jun 2004 16:48:01 +0000 (16:48 +0000)]
2004-06-25  J"orn Rennecke <joern.rennecke@superh.com>

include/gdb:
* callback.h (host_callback_struct): Replace members fdopen and
        alwaysopen with fd_buddy.
sim/common:
* callback.c: Changed all users.

20 years agoAdd support for M32R GOT relocs
Nick Clifton [Fri, 25 Jun 2004 16:11:09 +0000 (16:11 +0000)]
Add support for M32R GOT relocs

20 years agobfd/
Alan Modra [Thu, 24 Jun 2004 04:46:13 +0000 (04:46 +0000)]
bfd/
* section.c (struct sec): Rename "_cooked_size" to "size".
Rename "_raw_size" to "rawsize".
(STD_SECTION): Adjust comments.
(bfd_set_section_size, bfd_get_section_contents): Use size.
(bfd_malloc_and_get_section): New function.
* bfd-in.h (bfd_section_size, bfd_get_section_size): Use size.
* coff-sh.c (sh_relax_section): Alloc coff_section_data struct early.
Correctly free reloc and contents memory.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete FIXME
and fake CIE now that we can shink section size to zero.
(_bfd_elf_write_section_eh_frame): Likewise..
* elf32-ppc.c (ppc_elf_relax_section): Delay reading section contents.
* elf-m10300.c (mn10300_elf_final_link_relocate): Don't use
_bfd_stab_section_offset.  Use _bfd_elf_section_offset.
* stabs.c (_bfd_stab_section_offset_): Remove unused args and
unneeded indirection.
* elf.c (_bfd_elf_section_offset): .. and update call.
* libbfd-in.h (_bfd_stab_section_offset): Update prototype.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

Replace occurrences of "_raw_size" and "_cooked_size" in most places
with "size".  Set new "rawsize" for stabs, eh_frame, and SEC_MERGE
sections.  Use "rawsize", if non-zero, for bfd_get_section_contents
calls if the section might be a stabs, eh_frame, or SEC_MERGE section.
Similarly use "rawsize", if non-zero, in reloc functions to validate
reloc addresses.  Use new bfd_malloc_and_get_section in most places
where bfd_get_section_contents was called.  Expand all occurrences of
bfd_section_size and bfd_get_section_size.  Rename "raw_size" var in
grok_prstatus and similar functions to "size".
* aix386-core.c (aix386_core_file_p): ..
* aix5ppc-core.c (xcoff64_core_p): ..
* aout-adobe.c (aout_adobe_callback, aout_adobe_write_object_contents,
aout_adobe_set_section_contents): ..
* aout-target.h (callback): ..
* aout-tic30.c (tic30_aout_callback, tic30_aout_final_link_relocate,
MY_bfd_final_link): ..
* aoutf1.h (sunos4_core_file_p): ..
* aoutx.h (some_aout_object_p, adjust_o_magic, adjust_z_magic,
adjust_n_magic, adjust_sizes_and_vmas, translate_from_native_sym_flags,
final_link, aout_link_input_section): ..
* binary.c (binary_object_p, binary_canonicalize_symtab,
binary_set_section_contents): ..
* bout.c (b_out_callback, b_out_write_object_contents,
b_out_set_section_contents, b_out_bfd_relax_section,
b_out_bfd_get_relocated_section_contents): ..
* cisco-core.c (cisco_core_file_validate): ..
* coff-alpha.c (alpha_ecoff_object_p,
alpha_ecoff_get_relocated_section_conten, alpha_relocate_section): ..
* coff-arm.c (coff_arm_relocate_section,
bfd_arm_allocate_interworking_sections): ..
* coff-h8300.c (h8300_reloc16_extra_cases,
h8300_bfd_link_add_symbols): ..
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): ..
* coff-ppc.c (coff_ppc_relocate_section, ppc_allocate_toc_section,
ppc_bfd_coff_final_link): ..
* coff-rs6000.c (xcoff_reloc_type_br, xcoff_ppc_relocate_section): ..
* coff-sh.c (sh_relax_section, sh_relax_delete_bytes,
sh_align_loads, sh_coff_get_relocated_section_contents): ..
* coff64-rs6000.c (xcoff64_write_object_contents,
xcoff64_reloc_type_br, xcoff64_ppc_relocate_section): ..
* coffcode.h (coff_compute_section_file_positions,
coff_write_object_contents): ..
* coffgen.c (make_a_section_from_file, coff_write_symbols,
coff_section_symbol, build_debug_section): ..
* cofflink.c (coff_link_add_symbols, _bfd_coff_final_link,
process_embedded_commands, _bfd_coff_link_input_bfd,
_bfd_coff_write_global_sym): ..
* cpu-arm.c (bfd_arm_update_notes, bfd_arm_get_mach_from_notes): ..
* cpu-ns32k.c (do_ns32k_reloc, _bfd_ns32k_final_link_relocate): ..
* dwarf1.c (parse_line_table, _bfd_dwarf1_find_nearest_line): ..
* dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info,
_bfd_dwarf2_find_nearest_line): ..
* ecoff.c (bfd_debug_section, ecoff_set_symbol_info,
ecoff_compute_section_file_positions,
_bfd_ecoff_write_object_contents, ecoff_indirect_link_order): ..
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame,
_bfd_elf_discard_section_eh_frame_hdr,
_bfd_elf_maybe_strip_eh_frame_hdr, _bfd_elf_eh_frame_section_offset,
_bfd_elf_write_section_eh_frame,
_bfd_elf_write_section_eh_frame_hdr): ..
* elf-hppa.h (elf_hppa_sort_unwind): ..
* elf-m10200.c (mn10200_elf_relax_section,
mn10200_elf_relax_delete_bytes,
mn10200_elf_get_relocated_section_contents): ..
* elf-m10300.c (_bfd_mn10300_elf_create_got_section,
mn10300_elf_check_relocs, mn10300_elf_relax_section,
mn10300_elf_relax_delete_bytes,
mn10300_elf_get_relocated_section_contents,
_bfd_mn10300_elf_adjust_dynamic_symbol,
_bfd_mn10300_elf_discard_copies,
_bfd_mn10300_elf_size_dynamic_sections,
_bfd_mn10300_elf_finish_dynamic_sections): ..
* elf.c (_bfd_elf_print_private_bfd_data, bfd_elf_get_bfd_needed_list,
_bfd_elf_make_section_from_phdr, elf_fake_sections,
bfd_elf_set_group_contents, map_sections_to_segments,
elf_sort_sections, assign_file_positions_for_segments,
SECTION_SIZE, copy_private_bfd_data,
_bfd_elf_get_dynamic_reloc_upper_bound,
_bfd_elf_canonicalize_dynamic_reloc, elfcore_maybe_make_sect,
_bfd_elfcore_make_pseudosection, elfcore_grok_prstatus,
elfcore_grok_lwpstatus, elfcore_grok_win32pstatus,
elfcore_grok_note, elfcore_grok_nto_status, elfcore_grok_nto_gregs,
_bfd_elf_rel_local_sym, _bfd_elf_get_synthetic_symtab): ..
* elf32-arm.h (bfd_elf32_arm_allocate_interworking_sect,
bfd_elf32_arm_process_before_allocation,
elf32_arm_adjust_dynamic_symbol, allocate_dynrelocs,
elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections,
elf32_arm_write_section): ..
* elf32-cris.c (cris_elf_grok_prstatus,
elf_cris_finish_dynamic_sections, cris_elf_gc_sweep_hook,
elf_cris_adjust_gotplt_to_got, elf_cris_adjust_dynamic_symbol,
cris_elf_check_relocs, elf_cris_size_dynamic_sections,
elf_cris_discard_excess_dso_dynamics,
elf_cris_discard_excess_program_dynamics): ..
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): ..
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): ..
* elf32-frv.c (_frvfdpic_add_dyn_reloc, _frvfdpic_add_rofixup,
_frv_create_got_section, _frvfdpic_assign_plt_entries,
elf32_frvfdpic_size_dynamic_sections,
elf32_frvfdpic_modify_segment_map,
elf32_frvfdpic_finish_dynamic_sections): ..
* elf32-h8300.c (elf32_h8_relax_section, elf32_h8_relax_delete_bytes,
elf32_h8_get_relocated_section_contents): ..
* elf32-hppa.c (hppa_build_one_stub, hppa_size_one_stub,
elf32_hppa_adjust_dynamic_symbol, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections, group_sections,
elf32_hppa_size_stubs, elf32_hppa_set_gp, elf32_hppa_build_stubs,
elf32_hppa_finish_dynamic_sections): ..
* elf32-i370.c (i370_elf_adjust_dynamic_symbol,
i370_elf_size_dynamic_sections, i370_elf_check_relocs,
i370_elf_finish_dynamic_sections): ..
* elf32-i386.c (elf_i386_grok_prstatus, elf_i386_adjust_dynamic_symbol,
allocate_dynrelocs, elf_i386_size_dynamic_sections,
elf_i386_relocate_section, elf_i386_finish_dynamic_sections): ..
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc,
i860_howto_highadj_reloc, i860_howto_splitn_reloc): ..
* elf32-ip2k.c (ip2k_is_switch_table_128,
ip2k_relax_switch_table_128, ip2k_is_switch_table_256,
ip2k_relax_switch_table_256, ip2k_elf_relax_section,
adjust_all_relocations, ip2k_elf_relax_delete_bytes): ..
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc,
m32r_elf_generic_reloc, m32r_elf_adjust_dynamic_symbol,
allocate_dynrelocs, m32r_elf_size_dynamic_sections,
m32r_elf_relocate_section, m32r_elf_finish_dynamic_sections,
m32r_elf_relax_section, m32r_elf_relax_delete_bytes,
m32r_elf_get_relocated_section_contents): ..
* elf32-m68hc11.c (m68hc11_elf_build_one_stub,
m68hc11_elf_size_one_stub, m68hc11_elf_relax_section,
m68hc11_elf_relax_delete_bytes): ..
* elf32-m68hc12.c (m68hc12_elf_build_one_stub,
m68hc12_elf_size_one_stub): ..
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs,
elf32_m68hc11_build_stubs, m68hc11_elf_special_reloc): ..
* elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_gc_sweep_hook,
elf_m68k_adjust_dynamic_symbol, elf_m68k_size_dynamic_sections,
elf_m68k_discard_copies, elf_m68k_finish_dynamic_sections): ..
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc,
elf32_mips_grok_prstatus): ..
* elf32-or32.c (or32_elf_consth_reloc): ..
* elf32-ppc.c (ppc_elf_relax_section, ppc_elf_addr16_ha_reloc,
elf_create_pointer_linker_section, ppc_elf_create_linker_section,
ppc_elf_additional_program_headers, ppc_elf_adjust_dynamic_symbol,
allocate_dynrelocs, ppc_elf_size_dynamic_sections,
ppc_elf_finish_dynamic_sections, ppc_elf_grok_prstatus,
ppc_elf_final_write_processing): ..
* elf32-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol,
allocate_dynrelocs, elf_s390_size_dynamic_sections,
elf_s390_finish_dynamic_sections, elf_s390_grok_prstatus): ..
* elf32-sh.c (sh_elf_reloc_loop, sh_elf_relax_section,
sh_elf_relax_delete_bytes, sh_elf_align_loads,
sh_elf_adjust_dynamic_symbol, allocate_dynrelocs,
sh_elf_size_dynamic_sections, sh_elf_get_relocated_section_contents,
sh_elf_finish_dynamic_sections, elf32_shlin_grok_prstatus): ..
* elf32-sh64-com.c (sh64_address_in_cranges,
sh64_get_contents_type): ..
* elf32-sh64.c (sh64_find_section_for_address,
sh64_elf_final_write_processing): ..
* elf32-sparc.c (sparc_elf_wdisp16_reloc, sparc_elf_hix22_reloc,
sparc_elf_lox10_reloc, elf32_sparc_adjust_dynamic_symbol,
allocate_dynrelocs, elf32_sparc_size_dynamic_sections,
elf32_sparc_relocate_section, elf32_sparc_finish_dynamic_sections): ..
* elf32-v850.c (v850_elf_reloc, v850_elf_relax_section): ..
* elf32-vax.c (elf_vax_check_relocs, elf_vax_adjust_dynamic_symbol,
elf_vax_size_dynamic_sections, elf_vax_discard_copies,
elf_vax_instantiate_got_entries, elf_vax_relocate_section,
elf_vax_finish_dynamic_sections): ..
* elf32-xstormy16.c (xstormy16_elf_24_reloc,
xstormy16_elf_check_relocs, xstormy16_relax_plt_check,
xstormy16_elf_relax_section, xstormy16_elf_always_size_sections,
xstormy16_elf_finish_dynamic_sections): ..
* elf32-xtensa.c (xtensa_read_table_entries,
elf_xtensa_allocate_got_size, elf_xtensa_allocate_local_got_size,
elf_xtensa_size_dynamic_sections, elf_xtensa_do_reloc,
bfd_elf_xtensa_reloc, elf_xtensa_relocate_section,
elf_xtensa_combine_prop_entries, elf_xtensa_finish_dynamic_sections,
elf_xtensa_discard_info_for_section, elf_xtensa_grok_prstatus,
get_relocation_opcode, retrieve_contents, find_relaxable_sections,
collect_source_relocs, is_resolvable_asm_expansion, remove_literals,
relax_section, shrink_dynamic_reloc_sections, relax_property_section,
xtensa_callback_required_dependence): ..
* elf64-alpha.c (elf64_alpha_reloc_gpdisp, elf64_alpha_relax_section,
elf64_alpha_check_relocs, elf64_alpha_adjust_dynamic_symbol,
elf64_alpha_calc_got_offsets_for_symbol, elf64_alpha_calc_got_offsets,
elf64_alpha_size_plt_section, elf64_alpha_size_plt_section_1,
elf64_alpha_always_size_sections, elf64_alpha_calc_dynrel_sizes,
elf64_alpha_size_rela_got_section, elf64_alpha_size_rela_got_1,
elf64_alpha_size_dynamic_sections, elf64_alpha_emit_dynrel,
elf64_alpha_finish_dynamic_sections, elf64_alpha_final_link): ..
* elf64-hppa.c (allocate_dynrel_entries,
elf64_hppa_size_dynamic_sections,
elf64_hppa_finish_dynamic_sections): ..
* elf64-mips.c (mips_elf64_gprel32_reloc, mips16_gprel_reloc,
mips_elf64_canonicalize_dynamic_reloc, mips_elf64_slurp_reloc_table,
elf64_mips_grok_prstatus): ..
* elf64-mmix.c (mmix_elf_perform_relocation, mmix_elf_reloc,
mmix_elf_relocate_section, mmix_elf_final_link,
mmix_set_relaxable_size, _bfd_mmix_after_linker_allocation,
mmix_elf_relax_section, mmix_elf_get_section_contents): ..
* elf64-ppc.c (ppc64_elf_object_p, ppc64_elf_grok_prstatus,
ppc64_elf_check_relocs, ppc64_elf_func_desc_adjust,
ppc64_elf_adjust_dynamic_symbol, ppc64_elf_edit_opd,
allocate_dynrelocs, ppc64_elf_size_dynamic_sections,
ppc_build_one_stub, ppc_size_one_stub, ppc64_elf_next_toc_section,
toc_adjusting_stub_needed, group_sections, ppc64_elf_size_stubs,
ppc64_elf_build_stubs, ppc64_elf_relocate_section,
ppc64_elf_finish_dynamic_sections): ..
* elf64-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol,
allocate_dynrelocs, elf_s390_size_dynamic_sections,
elf_s390_finish_dynamic_sections): ..
* elf64-sh64.c (sh_elf64_get_relocated_section_contents,
sh_elf64_check_relocs, sh64_elf64_adjust_dynamic_symbol,
sh64_elf64_discard_copies, sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_sections): ..
* elf64-sparc.c (sparc64_elf_slurp_reloc_table, init_insn_reloc,
sparc64_elf_check_relocs, sparc64_elf_adjust_dynamic_symbol,
sparc64_elf_size_dynamic_sections, sparc64_elf_relocate_section,
sparc64_elf_finish_dynamic_symbol,
sparc64_elf_finish_dynamic_sections): ..
* elf64-x86-64.c (elf64_x86_64_grok_prstatus,
elf64_x86_64_adjust_dynamic_symbol, allocate_dynrelocs,
elf64_x86_64_size_dynamic_sections, elf64_x86_64_relocate_section,
elf64_x86_64_finish_dynamic_sections): ..
* elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): ..
* elfcode.h (elf_slurp_reloc_table): ..
* elflink.c (_bfd_elf_create_got_section, elf_add_dt_needed_tag,
elf_finalize_dynstr, elf_link_add_object_symbols,
bfd_elf_size_dynamic_sections, elf_link_sort_relocs,
elf_link_input_bfd, bfd_elf_final_link, bfd_elf_discard_info): ..
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc,
elf32_mips_grok_prstatus): ..
* elfxx-ia64.c (elfNN_ia64_relax_section, allocate_dynrel_entries,
elfNN_ia64_size_dynamic_sections, elfNN_ia64_install_dyn_reloc,
elfNN_ia64_choose_gp, elfNN_ia64_final_link,
elfNN_ia64_finish_dynamic_sections): ..
* elfxx-mips.c (mips_elf_create_procedure_table,
mips_elf_check_mips16_stubs, _bfd_mips_elf_gprel16_with_gp,
_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_generic_reloc,
mips_elf_global_got_index, mips_elf_multi_got,
mips_elf_create_compact_rel_section, mips_elf_calculate_relocation,
mips_elf_allocate_dynamic_relocations,
mips_elf_create_dynamic_relocation, _bfd_mips_elf_fake_sections,
_bfd_mips_relax_section, _bfd_mips_elf_adjust_dynamic_symbol,
_bfd_mips_elf_always_size_sections,
_bfd_mips_elf_size_dynamic_sections,
_bfd_mips_elf_finish_dynamic_symbol,
_bfd_mips_elf_finish_dynamic_sections,
_bfd_mips_elf_modify_segment_map, _bfd_mips_elf_discard_info,
_bfd_mips_elf_write_section, _bfd_mips_elf_set_section_contents,
_bfd_elf_mips_get_relocated_section_contents,
_bfd_mips_elf_final_link, _bfd_mips_elf_merge_private_bfd_data): ..
* hp300hpux.c (callback): ..
* hppabsd-core.c (make_bfd_asection): ..
* hpux-core.c (make_bfd_asection): ..
* i386linux.c (linux_link_create_dynamic_sections,
bfd_i386linux_size_dynamic_sections, linux_finish_dynamic_link): ..
* i386msdos.c (msdos_write_object_contents): ..
* i386os9k.c (os9k_callback, os9k_write_object_contents,
os9k_set_section_contents): ..
* ieee.c (parse_expression, ieee_slurp_external_symbols,
ieee_slurp_sections, ieee_slurp_debug, ieee_slurp_section_data,
ieee_write_section_part, do_with_relocs, do_as_repeat,
do_without_relocs, ieee_write_debug_part, init_for_output,
ieee_set_section_contents): ..
* ihex.c (ihex_scan, ihex_read_section, ihex_get_section_contents): ..
* irix-core.c (do_sections, make_bfd_asection): ..
* libaout.h (aout_section_merge_with_text_p): ..
* libbfd.c (_bfd_generic_get_section_contents,
_bfd_generic_get_section_contents_in_window): ..
* linker.c (default_indirect_link_order): ..
* lynx-core.c (make_bfd_asection): ..
* m68klinux.c (linux_link_create_dynamic_sections,
bfd_m68klinux_size_dynamic_sections, linux_finish_dynamic_link): ..
* mach-o.c (bfd_mach_o_make_bfd_section,
bfd_mach_o_scan_read_dylinker, bfd_mach_o_scan_read_dylib,
bfd_mach_o_scan_read_thread, bfd_mach_o_scan_read_symtab,
bfd_mach_o_scan_read_segment): ..
* merge.c (_bfd_add_merge_section, record_section, merge_strings,
_bfd_merge_sections): ..
* mmo.c (mmo_find_sec_w_addr, mmo_get_spec_section, mmo_get_loc,
mmo_map_set_sizes, mmo_canonicalize_symtab,
mmo_internal_write_section, mmo_write_object_contents): ..
* netbsd-core.c (netbsd_core_file_p): ..
* nlm32-alpha.c (nlm_alpha_read_reloc, nlm_alpha_write_import,
nlm_alpha_set_public_section): ..
* nlm32-ppc.c (nlm_powerpc_read_reloc, nlm_powerpc_write_reloc): ..
* nlm32-sparc.c (nlm_sparc_write_import): ..
* nlmcode.h (add_bfd_section, nlm_swap_auxiliary_headers_in,
nlm_compute_section_file_positions): ..
* oasys.c (oasys_object_p, oasys_slurp_section_data,
oasys_write_sections, oasys_write_data, oasys_set_section_contents): ..
* opncls.c (get_debug_link_info): ..
* osf-core.c (make_bfd_asection): ..
* pdp11.c (some_aout_object_p, adjust_o_magic, adjust_z_magic,
adjust_n_magic, adjust_sizes_and_vmas, squirt_out_relocs,
final_link, aout_link_input_section): ..
* peXXigen.c (_bfd_XXi_swap_sym_in, _bfd_XXi_swap_aouthdr_out,
pe_print_idata, pe_print_edata, pe_print_pdata, pe_print_reloc): ..
* pef.c (bfd_pef_make_bfd_section, bfd_pef_print_loader_section,
bfd_pef_scan_start_address, bfd_pef_parse_symbols): ..
* ppcboot.c (ppcboot_object_p, ppcboot_canonicalize_symtab): ..
* ptrace-core.c (ptrace_unix_core_file_p): ..
* reloc.c (bfd_perform_relocation, bfd_install_relocation,
_bfd_final_link_relocate, bfd_generic_relax_section,
bfd_generic_get_relocated_section_contents): ..
* reloc16.c (bfd_coff_reloc16_relax_section,
bfd_coff_reloc16_get_relocated_section_c): ..
* riscix.c (riscix_some_aout_object_p): ..
* rs6000-core.c (read_hdr, make_bfd_asection): ..
* sco5-core.c (make_bfd_asection): ..
* simple.c (bfd_simple_get_relocated_section_contents): ..
* som.c (som_object_setup, setup_sections, som_prep_headers,
som_write_fixups, som_begin_writing, bfd_section_from_som_symbol,
som_set_reloc_info, som_get_section_contents,
som_bfd_link_split_section): ..
* sparclinux.c (linux_link_create_dynamic_sections,
bfd_sparclinux_size_dynamic_sections, linux_finish_dynamic_link): ..
* srec.c (srec_scan, srec_read_section, srec_get_section_contents): ..
* stabs.c (_bfd_link_section_stabs, _bfd_discard_section_stabs,
_bfd_write_stab_strings, _bfd_stab_section_offset): ..
* sunos.c (sunos_read_dynamic_info, sunos_create_dynamic_sections,
bfd_sunos_size_dynamic_sections, sunos_scan_std_relocs,
sunos_scan_ext_relocs, sunos_scan_dynamic_symbol,
sunos_write_dynamic_symbol, sunos_check_dynamic_reloc,
sunos_finish_dynamic_link): ..
* syms.c (_bfd_stab_section_find_nearest_line): ..
* tekhex.c (first_phase, tekhex_set_section_contents,
tekhex_write_object_contents): ..
* trad-core.c (trad_unix_core_file_p): ..
* versados.c (process_esd, process_otr, process_otr): ..
* vms-gsd.c (_bfd_vms_slurp_gsd, _bfd_vms_write_gsd): ..
* vms-misc.c (add_new_contents): ..
* vms-tir.c (check_section, new_section, _bfd_vms_write_tir): ..
* vms.c (vms_set_section_contents): ..
* xcofflink.c (xcoff_get_section_contents, xcoff_link_add_symbols,
xcoff_sweep, bfd_xcoff_size_dynamic_sections, xcoff_build_ldsyms,
_bfd_xcoff_bfd_final_link, xcoff_link_input_bfd): ..
* xsym.c (bfd_sym_scan): .. See above.

binutils/
* objcopy.c (copy_section): Don't set _cooked_size.

include/
* bfdlink.h (struct bfd_link_order): Update comment.

ld/
* ldlang.c (print_output_section_statement): Don't print size before
relaxation.
(IGNORE_SECTION): Remove bfd arg.  Update all callers.

* ldexp.c (fold_name): .. See below.
* ldlang.c (section_already_linked, print_output_section_statement,
print_input_section, insert_pad, size_input_section,
lang_check_section_addresses, lang_size_sections_1,
lang_size_sections, lang_do_assignments_1, lang_set_startof,
lang_one_common, lang_reset_memory_regions, lang_process,
lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
* ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
* pe-dll.c (process_def_file, generate_reloc): ..
* emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
gld${EMULATION_NAME}_before_allocation): ..
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
sh64_elf_${EMULATION_NAME}_after_allocation): ..
* emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
* emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
"size" instead of "_raw_size" and "_cooked_size".  Expand
bfd_section_size macro invocations.

20 years ago * fhandler_proc.cc (format_proc_cpuinfo): Test CPU vendor and print
Corinna Vinschen [Wed, 23 Jun 2004 16:09:32 +0000 (16:09 +0000)]
* fhandler_proc.cc (format_proc_cpuinfo): Test CPU vendor and print
AMD specific 3dnow capabilities.

20 years agoinclude/opcode/
Alan Modra [Wed, 23 Jun 2004 15:06:53 +0000 (15:06 +0000)]
include/opcode/
* i386.h (i386_optab): Remove fildd, fistpd and fisttpd.

opcodes/
* i386-dis.c (x_mode): Comment.
(two_source_ops): File scope.
(float_mem): Correct fisttpll and fistpll.
(float_mem_mode): New table.
(dofloat): Use it.
(OP_E): Correct intel mode PTR output.
(ptr_reg): Use open_char and close_char.
(PNI_Fixup): Handle possible suffix on sidt.  Use op1out etc. for
operands.  Set two_source_ops.

gas/testsuite/
* gas/i386/prescott.s: Remove fisttpd and fisttpq.
* gas/i386/prescott.d: Update.

20 years ago2003-07-02 Richard Sandiford <rsandifo@redhat.com>
Alexandre Oliva [Wed, 23 Jun 2004 14:01:58 +0000 (14:01 +0000)]
2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
* libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
* libc/machine/h8300/defines.h (LEN): New macro.
* libc/machine/h8300/memcpy.S: Add h8sx version.
* libc/machine/h8300/memset.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/machine/h8300/setjmp.S: Use h8sx move instructions.
* libc/machine/h8300/h8sx_strcpy.S: New file.
2003-06-30  Richard Sandiford  <rsandifo@redhat.com>
* libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
__H8300SX__.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/h8300/defines.h: Likewise.
* libc/machine/h8300/setjmp.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/sys/h8300hms/close.S: Likewise.
* libc/sys/h8300hms/fstat.S: Likewise.
* libc/sys/h8300hms/lseek.S: Likewise.
* libc/sys/h8300hms/read.S: Likewise.
* libc/sys/h8300hms/write.S: Likewise.
* libc/sys/h8300hms/crt0.S: Likewise.
* libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
__H8300SX__ is defined.
* libc/sys/h8300hms/setarch.h: Likewise.

20 years ago2004-06-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 23 Jun 2004 09:36:02 +0000 (09:36 +0000)]
2004-06-22  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (HOST_EXPORTS): Fix pasto.
* Makefile.in: Regenerate.

20 years ago2004-06-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 23 Jun 2004 08:36:51 +0000 (08:36 +0000)]
2004-06-22  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (configure-build-[+module+],
configure-[+module+], configure-target-[+module+]): Pass
[+extra_configure_args+].
(all-build-[+module+], all-[+module+], check-[+module+],
install-[+module+], [+make_target+]-[+module+],
all-target-[+module+], check-target-[+module+],
install-target-[+module+], [+make_target+]-target-[+module+]):
Pass [+extra_make_args+].
(HOST_EXPORTS): Include the former GCC_HOST_EXPORTS.
(GCC_HOST_EXPORTS): Remove.
(configure-gcc, all-gcc, GCC_STRAP_TARGETS, profiledbootstrap,
cross, check-gcc, check-gcc-c++, install-gcc,
gcc-no-fixedincludes, [+make_target+]-gcc, stage[+id+]-bubble):
Replace GCC_HOST_EXPORTS with HOST_EXPORTS.
* Makefile.in: Regenerate.

20 years ago * fhandler_socket.cc (fhandler_socket::release): Call
Corinna Vinschen [Wed, 23 Jun 2004 07:36:21 +0000 (07:36 +0000)]
* fhandler_socket.cc (fhandler_socket::release): Call
WSASetLastError last.

20 years ago* libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
Alexandre Oliva [Tue, 22 Jun 2004 22:11:54 +0000 (22:11 +0000)]
* libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
instead of typedefing jmp_buf.

20 years ago2003-07-02 Richard Sandiford <rsandifo@redhat.com>
Alexandre Oliva [Tue, 22 Jun 2004 21:54:52 +0000 (21:54 +0000)]
2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
* libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
* libc/machine/h8300/defines.h (LEN): New macro.
* libc/machine/h8300/memcpy.S: Add h8sx version.
* libc/machine/h8300/memset.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/machine/h8300/setjmp.S: Use h8sx move instructions.
* libc/machine/h8300/h8sx_strcpy.S: New file.
2003-06-30  Richard Sandiford  <rsandifo@redhat.com>
* libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
__H8300SX__.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/h8300/defines.h: Likewise.
* libc/machine/h8300/setjmp.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/sys/h8300hms/close.S: Likewise.
* libc/sys/h8300hms/fstat.S: Likewise.
* libc/sys/h8300hms/lseek.S: Likewise.
* libc/sys/h8300hms/read.S: Likewise.
* libc/sys/h8300hms/write.S: Likewise.
* libc/sys/h8300hms/crt0.S: Likewise.
* libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
__H8300SX__ is defined.
* libc/sys/h8300hms/setarch.h: Likewise.

20 years ago* autoload.cc (wsock_init): Keep lock while modifying return address.
Christopher Faylor [Tue, 22 Jun 2004 04:00:16 +0000 (04:00 +0000)]
* autoload.cc (wsock_init): Keep lock while modifying return address.

20 years ago* configure.in: Check for srcdir/winsup rather than build directory winsup.
Christopher Faylor [Tue, 22 Jun 2004 01:38:35 +0000 (01:38 +0000)]
* configure.in: Check for srcdir/winsup rather than build directory winsup.
* configure: Regenerate.

20 years ago * common.h (ELF64_R_INFO): Warning fix.
Alan Modra [Sat, 19 Jun 2004 02:21:14 +0000 (02:21 +0000)]
* common.h (ELF64_R_INFO): Warning fix.

20 years ago2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 18 Jun 2004 00:33:53 +0000 (00:33 +0000)]
2004-06-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h (_GLOBAL_REENT): Back
        out change which set _GLOBAL_REENT to _global_impure_ptr until
        we understand why Cygwin breaks because of it.

20 years ago2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Jun 2004 19:33:27 +0000 (19:33 +0000)]
2004-06-17  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/configure.in: Check the value of newlib-may-supply-syscalls
        enablement variable to determine if crt0 should or should not be
        built.
        * arm/configure: Regenerated.
        * arm/Makefile.in: Changed to look at @BUILD_CRT0_TRUE@ and
        @BUILD_CRT0_FALSE@ variables set in configure to determine
        if crt0.o should be built and installed.

20 years ago * fhandler.cc (fhandler_base::open): Remove 9x specific code.
Corinna Vinschen [Thu, 17 Jun 2004 15:25:09 +0000 (15:25 +0000)]
* fhandler.cc (fhandler_base::open): Remove 9x specific code.

20 years ago2004-06-17 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Thu, 17 Jun 2004 13:34:26 +0000 (13:34 +0000)]
2004-06-17  Pierre Humblet <pierre.humblet@ieee.org>

        * fhandler.cc (fhandler_base::open_9x): Do not check for null name.
        Move debug_printf to common code line.
        (fhandler_base::open): Ditto. Initialize upath. Remove second argument
        of pc.get_nt_native_path.
        * path.h (path_conv::get_nt_native_path): Remove second argument.
        * path.cc (path_conv::get_nt_native_path): Ditto. Call str2uni_cat.
        * security.h (str2buf2uni_cat): Delete declaration.
        (str2uni_cat): New declaration.
        * security.cc (str2buf2uni): Get length from sys_mbstowcs call.
        (str2buf2uni_cat): Delete function.
        (str2uni_cat): New function.
        * miscfuncs.cc (sys_mbstowcs): Add debug_printf.

20 years ago Replace accidentally broken configure from previous regenerate.
Corinna Vinschen [Thu, 17 Jun 2004 08:15:38 +0000 (08:15 +0000)]
Replace accidentally broken configure from previous regenerate.

20 years ago * configure.in: Don't build Cygwin native newlib if winsup
Corinna Vinschen [Thu, 17 Jun 2004 07:56:46 +0000 (07:56 +0000)]
* configure.in: Don't build Cygwin native newlib if winsup
directory is missing.  Emit warning instead.
* configure: Regenerate.

20 years ago * fhandler.cc (fhandler_base::open): Substitute FILE_SUPERSEDE with
Corinna Vinschen [Thu, 17 Jun 2004 07:03:09 +0000 (07:03 +0000)]
* fhandler.cc (fhandler_base::open): Substitute FILE_SUPERSEDE with
FILE_OVERWRITE_IF.

20 years ago2004-06-16 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Wed, 16 Jun 2004 08:27:04 +0000 (08:27 +0000)]
2004-06-16  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winnt.h (IMAGE_ORDINAL_FLAG): Map to ...
(IMAGE_ORDINAL_FLAG{32,64}: New defines.
(IMAGE_SNAP_BY_ORDINAL): Map to ...
(IMAGE_SNAP_BY_ORDINAL{32,64}: New defines.
(IMAGE_ORDINAL): Map to ...
(IMAGE_ORDINAL{32,64}: New defines.
(IMAGE_THUNK_DATA):  Map to ...
(IMAGE_THUNK_DATA{32,64}: New structures.
(IMAGE_THUNK_DATA): Map to ...
(IMAGE_THUNK_DATA{32,64}: New structures.
(IMAGE_IMPORT_DESCRIPTOR):  Map to ...
(IMAGE_IMPORT_DESCRIPTOR{32,64}: New structures.
(IMAGE_IMAGE_TLS_DIRECTORY)  Map to ...
(IMAGE_IMAGE_TLS_DIRECTORY{32,64}: New structures.

2004-06-16  Bang Jun-Young <junyoung@NetBSD.org>

* w32api/include/winnt.h (WAITORTIMERCALLBACKFUNC): Protect with
_WIN32_WINNT >= 0x0500.

20 years agoFix faq-faq0 snafu.
Joshua Daniel Franklin [Tue, 15 Jun 2004 03:23:23 +0000 (03:23 +0000)]
Fix faq-faq0 snafu.

20 years ago * how-programming.texinfo: Add section about Visual Studio linking.
Joshua Daniel Franklin [Tue, 15 Jun 2004 03:19:23 +0000 (03:19 +0000)]
* how-programming.texinfo: Add section about Visual Studio linking.

20 years ago * dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
Alan Modra [Tue, 15 Jun 2004 02:18:51 +0000 (02:18 +0000)]
* dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
instead of _raw_size.
(dumper::write_core_dump): Likewise.
* parse_pe.cc (select_data_section): Likewise.

20 years ago2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 14 Jun 2004 20:57:07 +0000 (20:57 +0000)]
2004-06-14  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/syscall.h: For now, set up
        __syscall_return macro for systems with vsyscall.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Mon, 14 Jun 2004 18:25:10 +0000 (18:25 +0000)]
[ bfd/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
        removal) with updated comment.
        (bfd_elf32_bfd_reloc_type_lookup): Add back case for
        BFD_RELOC_32_PCREL.
        (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
        * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

[ include/elf/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
        with an updated comment.

20 years ago2004-06-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Mon, 14 Jun 2004 02:42:05 +0000 (02:42 +0000)]
2004-06-13  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* faq.texinfo: Move outdated calls.texinfo to readme.texinfo.
* how-api.texinfo: Fix typos.
* how-programming.texinfo: Fix typos.
* how-resources.texinfo: Fix typos.
* how-using.texinfo: Fix typos.
* install.texinfo: Fix typos.
* readme.texinfo: Move outdated calls.texinfo to readme.texinfo.

20 years ago2004-06-11 Antony King <antony.king@st.com>
Jeff Johnston [Fri, 11 Jun 2004 20:37:10 +0000 (20:37 +0000)]
2004-06-11  Antony King  <antony.king@st.com>

        * libc/include/sys/_types.h: Include <sys/lock.h> and change
        _flock_t to be of type _LOCK_RECURSIVE_T.
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
        (_global_impure_ptr): New declaration.
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
        * libc/include/sys/stdio.h: Include <sys/lock.h> and
        <sys/reent.h>.
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
        * libc/stdio/fclose.c: Remove casting of fp lock to
        _LOCK_RECURSIVE_T.
        * libc/stdio/findfp.c: Ditto.
        * libc/stdio/fopen.c: Ditto.
        * libc/stdio/freopen.c: Ditto.
        * libc/stdio/vfprintf.c: Ditto.
        * libc/stdio64/fopen64.c: Ditto.
        * libc/stdlib/envlock.c: Add default stubs that use generic
        locking code.
        * libc/stdlib/mlock.c: Ditto.

        Jeff Johnston  <jjohnstn@redhat.com>
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
        (_flock_t): Change to be a struct containing a single member
        named mutex which is of type __flock_mutex_t.

20 years agoDefine ps status flags
Joshua Daniel Franklin [Fri, 11 Jun 2004 18:25:06 +0000 (18:25 +0000)]
Define ps status flags

20 years agoInclude Makefile.*, not just Makefile.in, in the top-level policy.
Ben Elliston [Wed, 9 Jun 2004 22:48:28 +0000 (22:48 +0000)]
Include Makefile.*, not just Makefile.in, in the top-level policy.

20 years agoUpdate with respect to DejaGnu and Expect.
Ben Elliston [Wed, 9 Jun 2004 22:14:10 +0000 (22:14 +0000)]
Update with respect to DejaGnu and Expect.

20 years ago2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 9 Jun 2004 20:43:43 +0000 (20:43 +0000)]
2004-06-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
        from /usr/include/asm/signal.h instead of kernel sources.  Also
        default max to 32 if not found in header file.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
        systems where __syscall_return is not defined.
        * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
        systems to use syscall() function instead of assembler interrupt.

20 years ago2004-06-09 Toralf Lund <toralf@procaptura.com>
Jeff Johnston [Wed, 9 Jun 2004 19:06:50 +0000 (19:06 +0000)]
2004-06-09  Toralf Lund  <toralf@procaptura.com>

        * arm/crt0.S: Copied from newlib and it now also sets up stacks for
        FIQ and IRQ mode, plus calls hardware_init_hook() and
        software_init_hook() if present.
        * arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
        from newlib.
        * arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
        librdpmon.a, librdimon.a - support file for "bare" setup, as well
        as "RDP" and "RDI" monitors.
        * arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
        arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
        with above mentioned support libs and startfiles.

20 years ago2004-06-09 Toralf Lund <toralf@procaptura.com>
Jeff Johnston [Wed, 9 Jun 2004 19:05:09 +0000 (19:05 +0000)]
2004-06-09  Toralf Lund  <toralf@procaptura.com>

        * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
        files from libc/sys/arm to libc/machine/arm.
        * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
        library build support for files moved from libc/sys/arm.
        * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in:  Remove
        references to access and setjmp.
        * configure.host: Add checks for newlib_may_supply_syscalls to
        determine whether or not to use sys/arm directory and use
        special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.

20 years ago* include/cygwin/version.h: REALLY bump dll minor version to 11.
Christopher Faylor [Wed, 9 Jun 2004 16:03:51 +0000 (16:03 +0000)]
* include/cygwin/version.h: REALLY bump dll minor version to 11.

20 years ago2004-06-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 9 Jun 2004 08:32:35 +0000 (08:32 +0000)]
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (touch-stage[+id+]): New.
(restage[+prev+]): Depend on touch-stage[+id+].

* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
Use it throughout.

* Makefile.def: Add profile and feedback bootstrap stages.
Remove next field from bootstrap stages.
* Makefile.tpl (LN, LN_S): Substitute.
(stageN-start, stageN-end): Use double-colon rules, to
provide a hook for additional setup commands.
(distclean-stageN-gcc, restageN): Create dependencies from
[+prev+], not from [+next+].
(stageN-bubble): Add commands for successive stages from
[+prev+], using double-colon rules.
(all-stageN-gcc): Fix typo.
(stagefeedback-start, profiledbootstrap): New.
* Makefile.in: Regenerate.
* configure.in: Call ACX_PROG_LN.
* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_LN): From gcc, modified to
accept a parameter.

20 years ago * include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
Corinna Vinschen [Tue, 8 Jun 2004 10:53:40 +0000 (10:53 +0000)]
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.

20 years ago * path.cc (fchdir): Pass the Posix path to chdir.
Corinna Vinschen [Tue, 8 Jun 2004 07:20:04 +0000 (07:20 +0000)]
* path.cc (fchdir): Pass the Posix path to chdir.

20 years ago* dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
Christopher Faylor [Mon, 7 Jun 2004 04:26:32 +0000 (04:26 +0000)]
* dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
* fhandler.h (fhandler_fifo::get_io_handle): New fifo-specific method.
* fhandler_fifo.cc (fhandler_fifo::close): Close output_handle only if it is
open.
(fhandler_fifo::open_not_mine): Reorganize slightly.  Don't call _pinfo methods
when the fifo is owned by me or suffer dtable lock_cs deadlock.
(fhandler_fifo::open): Call open_not_mine first, otherwise open myself
(racy).
* pinfo.cc (_pinfo::commune_recv): Duplicate fifo handles here in requesting
processes arena to avoid one potential race (of many).
(_pinfo::commune_send): Move all PICOM_FIFO code under one case statement.
* thread.cc (pthread::init_mainthread) Use existing hMainProc handle rather
than calling GetCurrentProcess.

20 years ago2004-06-05 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Sat, 5 Jun 2004 13:39:35 +0000 (13:39 +0000)]
2004-06-05  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winbase.h (GetWriteWatch): Correct prototype.
(WRITE_WATCH_FLAG_RESET): Define.
Thanks to Sergey Philippov <phis@users.sourceforge.net>.

20 years ago2004-06-02 Rocher Laurent <lrocher@users.sourceforge.net>
Luke Dunstan [Sat, 5 Jun 2004 13:01:07 +0000 (13:01 +0000)]
2004-06-02  Rocher Laurent  <lrocher@users.sourceforge.net>

* include/commctrl.h (Animate_OpenEx): Define.
(DateTime_GetSystemTime, DateTime_SetSystemTime): Correct names.
(ListView_GetNumberOfWorkAreas): Correct macro.
(ListView_SetUnicodeFormat, ListView_GetUnicodeFormat,
ListView_SetItemCountEx, ListView_GetISearchString,
TreeView_GetLastVisible, Header_CreateDragImage,
Header_SetImageList, Header_GetImageList): Define.
(LVM_SETUNICODEFORMAT, LVM_GETUNICODEFORMAT,
MCM_GETUNICODEFORMAT, MCM_SETUNICODEFORMAT,
TBSTATE_ELLIPSES): Define.
(MonthCal_SetRange): Correct macro.
(ImageList_Duplicate): Declare.

20 years ago* winbase.h (ilockincr): Add more neverending changes from the inexplicable
Christopher Faylor [Fri, 4 Jun 2004 23:55:44 +0000 (23:55 +0000)]
* winbase.h (ilockincr): Add more neverending changes from the inexplicable
world of gcc asm constraint magic.  Should stop random crashes.
(ilockdecr): Ditto.

20 years ago* autoload.cc (IsDosDeviceName_U): Define.
Christopher Faylor [Thu, 3 Jun 2004 22:27:25 +0000 (22:27 +0000)]
* autoload.cc (IsDosDeviceName_U): Define.
* ntdll.h (IsDosDeviceName_U): Declare.
* fhandler.cc (fhandler_base::open): Check to see if win32_name is a dos device
and just call the 9x open if so.

20 years ago2004-06-03 Alexandre Oliva <aoliva@redhat.com>
Jeff Johnston [Thu, 3 Jun 2004 22:23:10 +0000 (22:23 +0000)]
2004-06-03  Alexandre Oliva  <aoliva@redhat.com>

        * mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL
        pointers.

20 years agorevert accidental checkin
Christopher Faylor [Thu, 3 Jun 2004 21:33:29 +0000 (21:33 +0000)]
revert accidental checkin

20 years ago* winbase.h (ilockincr): More changes from the inexplicable world of gcc asm
Christopher Faylor [Thu, 3 Jun 2004 21:29:43 +0000 (21:29 +0000)]
* winbase.h (ilockincr): More changes from the inexplicable world of gcc asm
magic.
(ilockdecr): Ditto.

20 years ago* winbase.h (ilockincr): YA correction to ensure correct operation with no
Christopher Faylor [Thu, 3 Jun 2004 20:48:02 +0000 (20:48 +0000)]
* winbase.h (ilockincr): YA correction to ensure correct operation with no
optimization.
(ilockdecr): Ditto.

20 years ago * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
Corinna Vinschen [Thu, 3 Jun 2004 19:52:12 +0000 (19:52 +0000)]
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.

20 years ago * include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
Corinna Vinschen [Thu, 3 Jun 2004 19:51:10 +0000 (19:51 +0000)]
* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
value.

20 years ago * shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.
Corinna Vinschen [Thu, 3 Jun 2004 19:49:54 +0000 (19:49 +0000)]
* shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.

20 years agoremove erroneous ChangeLog entry
Christopher Faylor [Thu, 3 Jun 2004 18:56:49 +0000 (18:56 +0000)]
remove erroneous ChangeLog entry

20 years ago* winbase.h: Fix all ilock defs as per cygwin 1.5.10 release.
Christopher Faylor [Thu, 3 Jun 2004 18:55:56 +0000 (18:55 +0000)]
* winbase.h: Fix all ilock defs as per cygwin 1.5.10 release.

20 years ago* configure.in: Fix --enable-bootstrap breakage introduced in trees without
Christopher Faylor [Thu, 3 Jun 2004 04:57:38 +0000 (04:57 +0000)]
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.

20 years agoadd missing changelog entry
Christopher Faylor [Wed, 2 Jun 2004 21:25:57 +0000 (21:25 +0000)]
add missing changelog entry

20 years ago* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
Christopher Faylor [Wed, 2 Jun 2004 21:20:54 +0000 (21:20 +0000)]
* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
than calculating this twice.

20 years ago2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jun 2004 19:22:14 +0000 (19:22 +0000)]
2004-06-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
        reset digit flags appropriately after we have discovered "0x".
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Tue, 1 Jun 2004 14:09:20 +0000 (14:09 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 08:11:41 +0000 (08:11 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Fix typo.
* Makefile.in: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:54:42 +0000 (07:54 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Remove new- prefix from toplevel
bootstrap targets.
* configure: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:46:01 +0000 (07:46 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

Merge this patch from the gcc tree:

2004-05-30  Andreas Jaeger  <aj@suse.de>
    Jim Wilson <wilson@specifixinc.com>

* config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77
like CC.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:42:22 +0000 (07:42 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all.normal): Rename to all.
(all): Replace with a rule to pick the default
target from configure.
(all-gcc, configure-gcc): Use conditionals to
do nothing when toplevel bootstrap is going on.
(GCC directory bootstrap) [gcc-bootstrap]: Disable.
(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
* configure.in: Support --enable-bootstrap.

* Makefile.def: Remove new- prefix from toplevel
bootstrap targets.
* Makefile.tpl: Likewise.

* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
target.

* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
$(RECURSE_FLAGS) to recursive invocation of make.

* Makefile.in: Regenerate.
* configure: Regenerate.

20 years ago2004-05-29 Filip Navara <xnavara@volny.cz>
Luke Dunstan [Mon, 31 May 2004 14:10:20 +0000 (14:10 +0000)]
2004-05-29  Filip Navara  <xnavara@volny.cz>

* include/winnt.h (IMAGE_EXPORT_DIRECTORY): Fixed declaration.

20 years ago2004-05-25 Al Slater <al.slater@scluk.com>
Luke Dunstan [Mon, 31 May 2004 13:57:30 +0000 (13:57 +0000)]
2004-05-25  Al Slater  <al.slater@scluk.com>

 * include/httpext.h (HSE_SEND_HEADER_EX_INFO,
 HSE_REQ_SEND_RESPONSE_HEADER_EX): Define.

20 years ago2004-05-30 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Mon, 31 May 2004 02:20:39 +0000 (02:20 +0000)]
2004-05-30  Pierre Humblet <pierre.humblet@ieee.org>

* path.cc (mount_info::add_item): Make sure native path has drive
or UNC form. Call normalize_xxx_path instead of [back]slashify.
Remove test for double slashes. Reorganize to always debug_print.

20 years ago * pathnames.sgml: Remove /dev/kmem from the supported POSIX
Joshua Daniel Franklin [Sun, 30 May 2004 06:47:09 +0000 (06:47 +0000)]
* pathnames.sgml: Remove /dev/kmem from the supported POSIX
device list.

* cygwinenv.sgml: Fix typo in check_case description.

20 years ago2004-05-29 John Paul Wallington <jpw@gnu.org>
Joshua Daniel Franklin [Sun, 30 May 2004 06:33:02 +0000 (06:33 +0000)]
2004-05-29  John Paul Wallington  <jpw@gnu.org>

* ssp.c (usage): Add missing linefeed.

20 years ago* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the file
Christopher Faylor [Sat, 29 May 2004 00:51:16 +0000 (00:51 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the file
if it uses an acl.

20 years ago* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
Christopher Faylor [Fri, 28 May 2004 19:50:07 +0000 (19:50 +0000)]
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive.

Also perform whitespace cleanup.

20 years ago2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Fri, 28 May 2004 12:32:08 +0000 (12:32 +0000)]
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>

bfd:
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh3_nommu .
* bfd-in2.h: Regenerate.
* cpu-sh.c: Add sh3-nommu architecture.
(bfd_to_arch_table): Create new table.
(sh_get_arch_from_bfd_mach): Create new function.
(sh_get_arch_up_from_bfd_mach): Create new function.
(sh_merge_bfd_arch): Create new function.
* elf32-sh.c (sh_ef_bfd_table): Add table.
(sh_elf_check_relocs): Replace switch statement with
use of sh_ef_bfd_table .
(sh_elf_get_flags_from_mach): Add new function.
(sh_find_elf_flags): Likewise.
(sh_elf_copy_private_data): Replace most of non-elf contents
with a call to sh_merge_bfd_arch() .

gas:
* Makefile.am: Regenerate dependecies.
* Makefile.in: Regenerate.
* config/tc-sh.c (valid_arch): Make unsigned.
(preset_target_arch): Likewise.
(md_begin): Use new architecture flags system.
(get_specific): Likewise.
(assemble_ppi): Likewise.
(md_assemble): Likewise. Also fix error check for bad opcodes.
(md_parse_option): Likewise. Also generate -isa values according
to the table in bfd/cpu-sh.c instead of just constants. Also
allow <arch>-up ISA variants.
(sh_elf_final_processing): Replace if-else chain with a call to
sh_find_elf_flags().
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
* testsuite/gas/sh/arch/sh4a.s: New file.

include/elf:
* sh.h (EF_SH_HAS_DSP): Remove.
(EF_SH_HAS_FP): Remove.
(EF_SH_MERGE_MACH): Remove.
(EF_SH4_NOFPU): Convert to decimal.
(EF_SH4A_NOFPU): Likewise.
(EF_SH4_NOMMU_NOFPU): Likewise.
(EF_SH3_NOMMU): Add new macro.
(EF_SH_BFD_TABLE): Likewise.
(sh_find_elf_flags): Add prototype.
(sh_elf_get_flags_from_mach): Likewise.

opcodes:
* sh-dis.c (target_arch): Make unsigned.
(print_insn_sh): Replace (most of) switch with a call to
sh_get_arch_from_bfd_mach(). Also use new architecture flags system.
* sh-opc.h: Redefine architecture flags values.
Add sh3-nommu architecture.
Reorganise <arch>_up macros so they make more visual sense.
(SH_MERGE_ARCH_SET): Define new macro.
(SH_VALID_BASE_ARCH_SET): Likewise.
(SH_VALID_MMU_ARCH_SET): Likewise.
(SH_VALID_CO_ARCH_SET): Likewise.
(SH_VALID_ARCH_SET): Likewise.
(SH_MERGE_ARCH_SET_VALID): Likewise.
(SH_ARCH_SET_HAS_FPU): Likewise.
(SH_ARCH_SET_HAS_DSP): Likewise.
(SH_ARCH_UNKNOWN_ARCH): Likewise.
(sh_get_arch_from_bfd_mach): Add prototype.
(sh_get_arch_up_from_bfd_mach): Likewise.
(sh_get_bfd_mach_from_arch_set): Likewise.
(sh_merge_bfd_arc): Likewise.

ld:
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.

20 years ago * configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
Daniel Jacobowitz [Thu, 27 May 2004 18:22:27 +0000 (18:22 +0000)]
* configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
* configure: Regenerate.

20 years agoclarify last entry slightly.
Christopher Faylor [Thu, 27 May 2004 15:58:29 +0000 (15:58 +0000)]
clarify last entry slightly.

20 years ago* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
Christopher Faylor [Thu, 27 May 2004 15:15:51 +0000 (15:15 +0000)]
* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
strtosigno with NSIG - 1.

20 years ago2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 27 May 2004 14:56:54 +0000 (14:56 +0000)]
2004-05-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
        from here ...
        (_VFPRINTF_R): ... to here so all I/O printf routines
        are covered.

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 May 2004 20:38:51 +0000 (20:38 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libnosys/sbrk.c: Add include of <_syslist.h> and "config.h".

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 May 2004 20:32:58 +0000 (20:32 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libnosys/sbrk.c: Add include of <_syslist.h>.

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 May 2004 17:57:10 +0000 (17:57 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/search/hash_buf.c: Protect MAX and MIN macros from
        redefinition.
        * libc/search/hash.c: Ditto.

20 years ago2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Wed, 26 May 2004 00:19:14 +0000 (00:19 +0000)]
2004-05-25  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * newlib.hin: (_WANT_IO_POS_ARGS): New define.
        (_WANT_IO_LONG_LONG): Ditto.
        (_WANT_IO_LONG_DOUBLE): Ditto.
        * configure.in: Add new configuration options
        --enable-newlib-io-long-long and --enable-newlib-io-long-double
        which tie to new defines in newlib.hin.
        * configure: Regenerated.
        * configure.host: Add checks for new configuration options.  Also
        fix up check for --enable-newlib-io-pos-args so configuration
        option will override any default for a given platform.
        Remove defining compiler flags for the _WANT_IO* options.
        * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
        instead of looking for old compiler flags.
        * libc/stdio/vfscanf.c: Ditto.
        * libc/stdio/vfieeefp.h: Ditto.
        * libc/machine/powerpc/vfprintf.c: Ditto.
        * libc/machine/powerpc/vfscanf.c: Ditto.

20 years ago2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 25 May 2004 20:52:21 +0000 (20:52 +0000)]
2004-05-25  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/include/check.h: Add include of <stdio.h>.

20 years ago* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
DJ Delorie [Tue, 25 May 2004 20:36:50 +0000 (20:36 +0000)]
* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS)
(NORMAL_TARGET_EXPORTS): New macros.  Use them in all the recursive
targets.
* Makefile.in: Regenerate.

20 years ago* winbase.h: Semi-revert previous patch as it caused strange behavior. Use
Christopher Faylor [Tue, 25 May 2004 20:00:19 +0000 (20:00 +0000)]
* winbase.h: Semi-revert previous patch as it caused strange behavior.  Use
syntax similar to that recommended in mingw-dvlpr.

20 years ago* include/cygwin/version.h: Bump DLL minor number to 11.
Christopher Faylor [Tue, 25 May 2004 16:01:49 +0000 (16:01 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 11.

20 years ago* winbase.h: Add proper attributions for memory operands throughout.
Christopher Faylor [Tue, 25 May 2004 04:00:49 +0000 (04:00 +0000)]
* winbase.h: Add proper attributions for memory operands throughout.

20 years ago* include/cygwin/version.h: Bump api minor version number.
Christopher Faylor [Tue, 25 May 2004 03:21:34 +0000 (03:21 +0000)]
* include/cygwin/version.h: Bump api minor version number.
* cygwin.din: Export atoll.

20 years agoReorganise m68k instruction decoding and improve handling of MAC/EMAC
Nick Clifton [Mon, 24 May 2004 14:33:21 +0000 (14:33 +0000)]
Reorganise m68k instruction decoding and improve handling of MAC/EMAC

20 years ago2005-05-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 11:08:48 +0000 (11:08 +0000)]
2005-05-24  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Test the ability to symlink directories.
* configure: Regenerate.

* Makefile.def (bootstrap-stage): New definitions.
* Makefile.tpl (configure-stage1-gcc,
configure-stage2-gcc, configure-stage3-gcc,
all-stage1-gcc, all-stage2-gcc, all-stage3-gcc,
new-bootstrap, new-cleanstrap, new-restage1, new-restage2,
new-restage3, compare): Autogenerate, see Makefile.in
entry for behavioral changes.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New autogenerated targets.
(objext, prebootstrap, BOOT_CFLAGS,
POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated
targets.

* Makefile.in: Regenerate.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New targets.
(all-stage1-gcc): Move prebootstrap dependency from here...
(configure-stage1-gcc): ...to here.
(new-bootstrap): Use bubble targets.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
Use per-stage distclean targets.
(configure-stage1-gcc, configure-stage2-gcc,
configure-stage3-gcc, all-stage1-gcc,
all-stage2-gcc, all-stage3-gcc, new-bootstrap):
Use new-stageN-start to prepare the tree.

20 years ago2004-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 10:45:14 +0000 (10:45 +0000)]
2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): add libcpp.
* Makefile.tpl: Add dependencies on and for libcpp.
* Makefile.in: Regenerate.
* configure.in: Add libcpp host module.
* configure: Regenerate.

config/ChangeLog:

2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
From gcc.

20 years ago2004-05-21 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 21 May 2004 19:08:54 +0000 (19:08 +0000)]
2004-05-21  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Whenever a recursive target is defined, wrap
it in a special @if/@endif block, and prepare its maybe
dependency in the @if/@endif block
* configure.in: Instead of writing maybe dependencies, remove
the @if/@endif statements, and remove the @if/@endif blocks
that remain.
* configure: Regenerate.
* Makefile.in: Regenerate.

20 years ago* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful return
Christopher Faylor [Thu, 20 May 2004 17:32:12 +0000 (17:32 +0000)]
* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful return
from !with_console
* fhandler_tty.cc (fhandler_pty_master::open): Release tty_mutex here after all
initialization is done.

20 years ago * Makefile.def, Makefile.tpl, configure.in: Remove all mention
Zack Weinberg [Tue, 18 May 2004 02:00:58 +0000 (02:00 +0000)]
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.

20 years ago * grp.cc (getgrgid_r): Replace struct group by struct __group32 in
Corinna Vinschen [Mon, 17 May 2004 16:14:01 +0000 (16:14 +0000)]
* grp.cc (getgrgid_r): Replace struct group by struct __group32 in
argument definition.
(getgrnam_r): Ditto.

20 years ago * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
Corinna Vinschen [Mon, 17 May 2004 16:06:14 +0000 (16:06 +0000)]
* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.

20 years ago * cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
Corinna Vinschen [Mon, 17 May 2004 16:06:02 +0000 (16:06 +0000)]
* cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
getgrgid_r, getgrnam_r and getlogin_r.
* grp.cc (getgrgid_r): New function.
(getgrnam_r): Ditto.
* syscalls.cc (flockfile): Ditto.
(ftrylockfile): Ditto.
(funlockfile): Ditto.
* sysconf.cc (sysconf): Return LOGIN_NAME_MAX in case of
_SC_LOGIN_NAME_MAX.
* thread.cc (__cygwin_lock_trylock): Define int.  Return value from
call to pthread_mutex_trylock.
* uinfo.cc (getlogin_r): New function.
* include/limits.h: Define LOGIN_NAME_MAX.
* include/cygwin/version.h: Bump API minor number.
* include/sys/lock.h: Add declarations for __cygwin_lock_xxx functions.
* include/sys/stdio.h: Add define for _ftrylockfile.

20 years ago* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
Christopher Faylor [Mon, 17 May 2004 15:55:42 +0000 (15:55 +0000)]
* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
compilation error.

20 years agoChange the name "title_mutex" to "tty_mutex" throughout.
Christopher Faylor [Mon, 17 May 2004 15:27:56 +0000 (15:27 +0000)]
Change the name "title_mutex" to "tty_mutex" throughout.
* tty.h (tty_list::allocate_tty): Turn argument into a boolean.
* tty.cc (tty_list::init): Protect entire allocation operation with tty_mutex
(formerly title_mutex) to protect against allocation races.

20 years agoadd missing file
Christopher Faylor [Sun, 16 May 2004 16:38:27 +0000 (16:38 +0000)]
add missing file

20 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
Corinna Vinschen [Sun, 16 May 2004 15:38:03 +0000 (15:38 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
value in each WSARecvFrom call.
(fhandler_socket::recvmsg): Ditto.  Reformat slightly.

20 years ago* cygthread.cc (cygthread::is): Eliminate.
Christopher Faylor [Sun, 16 May 2004 04:18:50 +0000 (04:18 +0000)]
* cygthread.cc (cygthread::is): Eliminate.
* cygthread.h (cygthread::is): Eliminate declaratin.
* fhandler_console.cc (fhandler_console::read): Only wait for signal_arrived in
the main thread.
* fhandler_socket.cc: Include new "wininfo.h".
(fhandler_socket::ioctl): Use 'winmsg' rather than 'gethwnd()'.
* sync.cc (muto::grab): Define new function.
(muto::acquire): Use tls pointer rather than tid.
(muto::acquired): Ditto.
(muto::reset): Delete.
(muto::release): Ditto.  Also implement "close on last release".
* sync.h (muto::tid): Delete.
(muto::tls): New field.
(muto::ismine): Delete.
(muto::owner): Delete.
(muto::unstable): Delete.
(muto::reset): Delete.
(muto::upforgrabs): New method.
(muto::grab): Ditto.
(new_muto_name): New define.
* wininfo.h: New file.
(wininfo): New class.
* window.cc: Rework throughout to use winfo class for controlling invisible
window operation.
(gethwnd): Delete definition.
* winsup.h (gethwnd): Delete declaration.

20 years agorevert previous not-ready-for-primetime checkin.
Christopher Faylor [Sat, 15 May 2004 16:10:41 +0000 (16:10 +0000)]
revert previous not-ready-for-primetime checkin.

20 years ago* cygheap.h: Remove some parameter names from declarations throughout.
Christopher Faylor [Sat, 15 May 2004 16:09:04 +0000 (16:09 +0000)]
* cygheap.h: Remove some parameter names from declarations throughout.
(cygheap::set): Reflect changes in declaration for arguments and return value
from previous checkin.

This page took 0.077944 seconds and 5 git commands to generate.