OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types...
nickc [Mon, 7 Aug 2006 10:26:08 +0000 (10:26 +0000)]
* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types if the target is ARM_WINCE

18 years ago * expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
drow [Mon, 7 Aug 2006 03:30:53 +0000 (03:30 +0000)]
* expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
support for member pointers.

18 years ago*** empty log message ***
gdbadmin [Mon, 7 Aug 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 7 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago PR binutils/3001
nickc [Sun, 6 Aug 2006 15:49:45 +0000 (15:49 +0000)]
 PR binutils/3001
* addr2line.c (process_file): Change function from void to returning an int.  Return 0 upon success, 1 otherwise.
 (main): Use return value from process_file as the exit value.
* ar.c (ranlib_only):  Change function from void to returning an int.  Return 0 upon success, 1 otherwise.
  (ranlib_touch): Likewise.
  (main): Use return value from ranlib functions as exit value.
* objcopy.c (add_specific_symbol): Set status to 1 if get_file_size fails.
  (copy_file): Likewise.
  (strip_main): Likewise.
  (copy_main): Likewise.
* objdump.c (display_file): Set exit_status to 1 if get_file_size fails.
* size.c (display_file): Set return_code to 1 if get_file_size fails.

18 years ago* gas/arm/thumb2_add.s: Don't use elf specific ".type" pseudo-op.
nickc [Sun, 6 Aug 2006 15:15:36 +0000 (15:15 +0000)]
* gas/arm/thumb2_add.s: Don't use elf specific ".type" pseudo-op.

18 years ago* gas/arm/wince.s: New test.
nickc [Sun, 6 Aug 2006 15:11:08 +0000 (15:11 +0000)]
* gas/arm/wince.s: New test.
* gas/arm/wince.d: New test.

18 years ago* bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little and pei-arm-little.
nickc [Sun, 6 Aug 2006 15:04:16 +0000 (15:04 +0000)]
* bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little and pei-arm-little.
* coff-arm.c (coff_arm_rtype_to_howto) [COFF_WITH_PE]: Handle ARM_SECREL.
  (coff_arm_reloc_type_lookup): Map BFD_RELOC_32_SECREL to  ARM_SECREL.
* pe-arm.c [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
* pei-arm.c [TARGET_UNDERSCORE]: Define for ARM_WINCE like in pe-arm.c.
  [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.

* config/tc-arm.c: Move "dwarf2dbg.h" inclusion out of OBJ_ELF only block.
  (pe_directive_secrel) [TE_PE]: New function.
  (md_pseudo_table) [!OBJ_ELF]: Handle 2byte, 4byte, 8byte, file, loc, loc_mark_labels.
  [TE_PE]: Handle secrel32.
  (output_relax_insn): Remove OBJ_ELF around dwarf2_emit_insn call.
  (output_inst): Remove OBJ_ELF around dwarf2_emit_insn call.
  (arm_frob_label): Remove OBJ_ELF around dwarf2_emit_label call.
  (md_section_align): Only round section sizes here for AOUT targets.
  (tc_arm_regname_to_dw2regnum): Move out for OBJ_ELF only block.
  (tc_pe_dwarf2_emit_offset): New function.
  (md_apply_fix) [TE_PE]: Handle BFD_RELOC_32_SECREL.
  (cons_fix_new_arm): Handle O_secrel.
* config/tc-arm.h : Move DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN and DWARF2_CIE_DATA_ALIGNMENT out of OBJ_ELF only block.
  [TE_PE]: Define O_secrel, TC_DWARF2_EMIT_OFFSET, and declare tc_pe_dwarf2_emit_offset.

* ld-pe/pe.exp: Enable tests on arm-wince-pe.
* ld-pe/secrel.d: Adjust test to work on arm-wince-pe too.

18 years agofix my name
vapier [Sun, 6 Aug 2006 05:24:32 +0000 (05:24 +0000)]
fix my name

18 years ago2006-08-04 Nick Clifton <nickc@redhat.com>
vapier [Sun, 6 Aug 2006 05:23:16 +0000 (05:23 +0000)]
2006-08-04  Nick Clifton  <nickc@redhat.com>
    Mike Frysinger  <michael.frysing@analog.com>
* scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
(__preinit_array_start, __preinit_array_end, __init_array_start,
__init_array_end, __fini_array_start, __fini_array_end, edata, end):
Use ${USER_LABEL_PREFIX}.
* emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
(USER_LABEL_PREFIX): Set.

18 years ago*** empty log message ***
gdbadmin [Sun, 6 Aug 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 6 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
amodra [Sat, 5 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 5 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoInclude <cassert>
iant [Fri, 4 Aug 2006 23:20:34 +0000 (23:20 +0000)]
Include <cassert>

18 years agoInclude <cassert>
iant [Fri, 4 Aug 2006 23:19:45 +0000 (23:19 +0000)]
Include <cassert>

18 years agoInitial CVS checkin of gold
iant [Fri, 4 Aug 2006 23:10:59 +0000 (23:10 +0000)]
Initial CVS checkin of gold

18 years ago* ldmain.c (main): Initialise print_gc_sections field of link_info structure.
nickc [Fri, 4 Aug 2006 14:53:25 +0000 (14:53 +0000)]
* ldmain.c (main): Initialise print_gc_sections field of link_info structure.
* lexsup.c: Add --print-gc-sections and --no-print-gc-sections switches.
* ld.texinfo: Document new switches.
* NEWS: Mention new switches.
* bfdlink.h (struct bfd_link_info): New field: print_gc_sections.
* elflink.c (elf_gc_sweep): If info.print_gc_sections is true, list removed sections to stderr.

18 years agobfd/
rsandifo [Fri, 4 Aug 2006 13:13:55 +0000 (13:13 +0000)]
bfd/
2006-08-02  Richard Sandiford  <richard@codesourcery.com>
    Kazu Hirata  <kazu@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>
    Nathan Sidwell  <nathan@codesourcery.com>

* config.bfd (sh-*-vxworks): Use bfd_elf32_shvxworks_vec and
bfd_elf32_shlvxworks_vec.
* configure.in (bfd_elf32_sh64_vec): Add elf-vxworks.lo.
(bfd_elf32_sh64l_vec, bfd_elf32_sh64lin_vec): Likewise.
(bfd_elf32_sh64blin_vec, bfd_elf32_sh64lnbsd_vec): Likewise.
(bfd_elf32_sh64nbsd_vec, bfd_elf32_sh_vec): Likewise.
(bfd_elf32_shblin_vec, bfd_elf32_shl_vec): Likewise.
(bfd_elf32_shl_symbian_vec, bfd_elf32_shlin_vec): Likewise.
(bfd_elf32_shlnbsd_vec, bfd_elf32_shnbsd_vec): Likewise.
(bfd_elf32_shlvxworks_vec, bfd_elf32_shvxworks_vec): New stanzas.
* configure: Regenerate.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
* elf-vxworks.c (elf_vxworks_gott_symbol_p): New function.
(elf_vxworks_add_symbol_hook): Use it.
(elf_vxworks_link_output_symbol_hook): Likewise.  Use the hash
table entry to check for weak undefined symbols and to obtain
the original bfd.
(elf_vxworks_emit_relocs): Use target_index instead of this_idx.
* elf32-sh-relocs.h: New file, split from elf32-sh.c.
(R_SH_DIR32): Use SH_PARTIAL32 for the partial_inplace field,
SH_SRC_MASK32 for the src_mask field, and SH_ELF_RELOC for the
special_function field.
(R_SH_REL32): Use SH_PARTIAL32 and SH_SRC_MASK32 here too.
(R_SH_REL32, R_SH_TLS_GD_32, R_SH_TLS_LD_32): Likewise.
(R_SH_TLS_LDO_32, R_SH_TLS_IE_32, R_SH_TLS_LE_32): Likewise.
(R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32, R_SH_TLS_TPOFF32): Likewise.
(R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT): Likewise.
(R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Likewise.
(SH_PARTIAL32, SH_SRC_MASK32, SH_ELF_RELOC): Undefine at end of file.
* elf32-sh.c: Include elf32-vxworks.h.
(MINUS_ONE): Define.
(sh_elf_howto_table): Include elf32-sh-relocs.h with SH_PARTIAL32
set to TRUE, SH_SRC_MASK32 set to 0xffffffff, and SH_ELF_RELOC set
to sh_elf_reloc.
(sh_vxworks_howto_table): New variable.  Include elf32-sh-relocs.h
with SH_PARTIAL32 set to FALSE, SH_SRC_MASK32 set to 0, and
SH_ELF_RELOC set to bfd_elf_generic_reloc.
(vxworks_object_p, get_howto_table): New functions.
(sh_elf_reloc_type_lookup): Fix typo.  Use get_howto_table.
(sh_elf_info_to_howto): Use get_howto_table.
(sh_elf_relax_section): Honor the partial_inplace field of the
R_SH_DIR32 howto.
(sh_elf_relax_delete_bytes): Likewise.
(elf_sh_plt_info): New structure.
(PLT_ENTRY_SIZE): Replace both definitions with...
(ELF_PLT_ENTRY_SIZE): ...this new macro, with separate definitions for
INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_entry_be): Update sizes of both definitions accordingly.
(elf_sh_plt0_entry_le): Likewise.
(elf_sh_plt_entry_be, elf_sh_plt_entry_le): Likewise.
(elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): Likewise.
(elf_sh_plts): New structure, with separate definitions for
INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_entry): Delete both definitions.
(elf_sh_plt_entry, elf_sh_pic_plt_entry): Likewise.
(elf_sh_sizeof_plt, elf_sh_plt_plt0_offset): Likewise.
(elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset): Likewise.
(elf_sh_plt_reloc_offset): Likewise.
(movi_shori_putval): Delete in favor of...
(install_plt_field): ...this new function, with separate definitions
for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(get_plt_info): New function, with separate definitions
for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset): Delete.
(VXWORKS_PLT_HEADER_SIZE, VXWORKS_PLT_ENTRY_SIZE): New macros.
(vxworks_sh_plt0_entry_be, vxworks_sh_plt0_entry_le): New constants.
(vxworks_sh_plt_entry_be, vxworks_sh_plt_entry_le): Likewise.
(vxworks_sh_pic_plt_entry_be, vxworks_sh_pic_plt_entry_le): Likewise.
(get_plt_index, get_plt_offset): New functions.
(elf_sh_link_hash_table): Add srelplt2, plt_info and vxworks_p fields.
(sh_elf_link_hash_table_create): Initialize them.
(sh_elf_create_dynamic_sections): Call
elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use htab->plt_info to get the size of PLT
entries.  Allocate relocation entries in .rela.plt.unloaded if
generating a VxWorks executable.
(sh_elf_always_size_sections): New function.
(sh_elf_size_dynamic_sections): Extend .rela.plt handling to
.rela.plt.unloaded.
(sh_elf_relocate_section): Use get_howto_table.  Honor
partial_inplace when calculating the addend for dynamic
relocations.  Use get_plt_index.
(sh_elf_finish_dynamic_symbol): Use get_plt_index, install_plt_field
and htab->plt_info.  Fill in the bra .plt offset for VxWorks
executables.  Populate .rela.plt.unloaded.  Do not make
_GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(sh_elf_finish_dynamic_sections): Use install_plt_field and
htab->plt_info.  Handle cases where there is no special PLT header.
Populate the first relocation in .rela.plt.unloaded and fix up
the remaining entries.
(sh_elf_plt_sym_val): Use get_plt_info.
(elf_backend_always_size_sections): Define.
(TARGET_BIG_SYM, TARGET_BIG_NAME): Override for VxWorks.
(TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
(elf32_bed, elf_backend_want_plt_sym): Likewise.
(elf_symbol_leading_char, elf_backend_want_got_underscore): Likewise.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Likewise.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing): Likewise.
(ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Likewise.
* targets.c (bfd_elf32_shlvxworks_vec): Declare.
(bfd_elf32_shvxworks_vec): Likewise.
(_bfd_target_vector): Include bfd_elf32_shlvxworks_vec and
bfd_elf32_shvxworks_vec.

gas/
* config/tc-sh.c (apply_full_field_fix): New function.
(md_apply_fix): Use it instead of md_number_to_chars.  Do not fill
in fx_addnumber for BFD_RELOC_32_PLT_PCREL.
(tc_gen_reloc): Use fx_addnumber rather than 0 as the default case.
* config/tc-sh.h (TARGET_FORMAT): Override for TE_VXWORKS.

ld/
2006-08-02  Richard Sandiford  <richard@codesourcery.com>
    Kazu Hirata  <kazu@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>

* Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
eshlelf_vxworks.o.
(eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (sh-*-vxworks): Use shelf_vxworks and
shlelf_vxworks.
* emulparams/shelf_vxworks.sh: New file.
* emulparams/shlelf_vxworks.sh: Likewise.
* emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
(OTHER_END_SYMBOLS): Likewise _ehdr.
(DATA_END_SYMBOLS): Likewise _edata.
* emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
is indeed an ELF file before dealing with --force-dynamic.

ld/testsuite/
* ld-sh/rd-sh.exp: Treat vxworks1-static.d specially.
* ld-sh/sh-vxworks.exp: New file.
* ld-sh/sh.exp: Extend sh-linux SIZEOF_HEADERS handling to
sh-*-vxworks.
* ld-sh/vxworks1-le.dd, ld-sh/vxworks1-lib-le.dd,
* ld-sh/vxworks1-lib.dd, ld-sh/vxworks1-lib.nd,
* ld-sh/vxworks1-lib.rd, ld-sh/vxworks1-lib.s,
* ld-sh/vxworks1-static.d, ld-sh/vxworks1.dd,
* ld-sh/vxworks1.ld, ld-sh/vxworks1.rd, ld-sh/vxworks1.s,
* ld-sh/vxworks2-static.sd, ld-sh/vxworks2.s,
* ld-sh/vxworks2.sd, ld-sh/vxworks3-le.dd,
* ld-sh/vxworks3-lib-le.dd, ld-sh/vxworks3-lib.dd,
* ld-sh/vxworks3-lib.s, ld-sh/vxworks3.dd, ld-sh/vxworks3.s,
* ld-sh/vxworks4.d, ld-sh/vxworks4a.s, ld-sh/vxworks4b.s,
* ld-sh/reloc1.s, ld-sh/reloc1.d: New tests.

18 years ago*** empty log message ***
gdbadmin [Fri, 4 Aug 2006 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 4 Aug 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * include/ctype.h: Remove stray ')'.
dannysmith [Thu, 3 Aug 2006 21:05:05 +0000 (21:05 +0000)]
* include/ctype.h: Remove stray ')'.

18 years agoPR gas/2991
nickc [Thu, 3 Aug 2006 17:01:10 +0000 (17:01 +0000)]
PR gas/2991
* config.in: Regenerate.

18 years ago2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
jjohnstn [Thu, 3 Aug 2006 16:56:05 +0000 (16:56 +0000)]
2006-08-03  J"orn Rennecke  <joern.rennecke@st.com>

        * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
        properly.

18 years agogas:
jsm28 [Thu, 3 Aug 2006 15:58:59 +0000 (15:58 +0000)]
gas:
* config/tc-arm.c (parse_operands): Handle invalid register name
for OP_RIWR_RIWC.

gas/testsuite:
* gas/arm/iwmmxt-bad.s: Test invalid register names for wldrw and
wstrw.
* gas/arm/iwmmxt-bad.l: Update.

18 years agogas:
jsm28 [Thu, 3 Aug 2006 15:57:04 +0000 (15:57 +0000)]
gas:
* config/tc-arm.c (enum operand_parse_code): Add OP_RIWC_RIWG.
(parse_operands): Handle it.
(insns): Use it for tmcr and tmrc.

gas/testsuite:
* gas/arm/iwmmxt.s: Test tmcr and tmrc with wcgr registers.
* gas/arm/iwmmxt.d: Update.

18 years ago * path.cc (vconcat): Don't convert backslahes to slashes.
corinna [Thu, 3 Aug 2006 15:29:30 +0000 (15:29 +0000)]
* path.cc (vconcat): Don't convert backslahes to slashes.
(cygpath): Return native path with all backslashes.

18 years ago * include/ctype.h (_BLANK): Expand comment.
dannysmith [Thu, 3 Aug 2006 07:44:30 +0000 (07:44 +0000)]
* include/ctype.h (_BLANK): Expand comment.
(isblank): Add prototype and inline definition.
(iswblank): Add prototype and inline definition.
* include/wctype.h (iswblank): Add prototype and inline definition.
* mingwex/isblank.c: New file.
* mingwex/iswblank.c: New file.
* mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a

18 years agofix typo
cgf [Thu, 3 Aug 2006 03:59:27 +0000 (03:59 +0000)]
fix typo

18 years ago* Makefile.in (subauth): Add dependency on mingw.
cgf [Thu, 3 Aug 2006 03:47:54 +0000 (03:47 +0000)]
* Makefile.in (subauth): Add dependency on mingw.

18 years agodaily update
amodra [Thu, 3 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 3 Aug 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * cursal.exp: Pass binfile to gdb_load.
drow [Wed, 2 Aug 2006 22:30:20 +0000 (22:30 +0000)]
* cursal.exp: Pass binfile to gdb_load.

18 years ago* configure.in (arm-*-openbsd*): Set COREFILE to netbsd-core.lo.
kettenis [Wed, 2 Aug 2006 21:41:12 +0000 (21:41 +0000)]
* configure.in (arm-*-openbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

18 years ago* arm-tdep.h: Add multiple inclusion protection.
kettenis [Wed, 2 Aug 2006 21:32:37 +0000 (21:32 +0000)]
* arm-tdep.h: Add multiple inclusion protection.
(struct gdbarch): Add forward declaration.
(armobsd_regset_from_core_section): New prototype.
* armbsd-tdep.c: New file.
* armobsd-tdep.c: Include "gdb_string.h".
(armobsd_init_abi): Set regset_from_core_section.
(armobsd_core_osabi_sniffer): New function.
(_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer.
* Makefile.in (ALLDEPFILES): Add armbsd-tdep.c.
(armbsd-tdep.o): New dependency.
(armnbsd-tdep.o): Update dependencies.
* config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.

18 years agoPR binutils/2983
nickc [Wed, 2 Aug 2006 16:25:13 +0000 (16:25 +0000)]
PR binutils/2983
* bfd/elf64-x86-64.c: Add FreeBSD support.
  (elf64_x86_64_fbsd_post_process_headers): New function.
* bfd/targets.c (_bfd_target_vector): Add bfd_elf64_x86_64_freebsd_vec.
* bfd/config.bfd (x64_64-*-freebsd*): Add bfd_elf64_x86_64_freebsd_vec to the targ_selvecs.
* bfd/configure.in: Add entry for bfd_elf64_x86_64_freebsd_vec.
* bfd/configure: Regenerate.
* gas/config/tc-i386.c (md_parse_option): Treat any target starting with elf64_x86_64 as a viable target for the -64 switch.
  (i386_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64.
* gas/config/tc-i386.h (ELF_TARGET_FORMAT64): Define.
* ld/emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as elf64-x86-64-freebsd.

18 years ago* environ.cc (env_win32_to_posix_path_list): Declare.
cgf [Wed, 2 Aug 2006 15:11:48 +0000 (15:11 +0000)]
* environ.cc (env_win32_to_posix_path_list): Declare.
(conv_envvars): Use env_win32_to_posix_path_list rather than
cygwin_win32_to_posix_path_list.
(posify): Translate back to win32 path if errno is EIDRM.
* environ.h: Update copyright.  Define ENV_CVT.
* path.cc (conv_path_list): If converting for the environment and removed an
element set errno to ENV_CVT.
(env_win32_to_posix_path_list): New function.

18 years agoPR gas/2991
nickc [Wed, 2 Aug 2006 14:26:07 +0000 (14:26 +0000)]
PR gas/2991
* acinclude.m4 (BFD_BINARY_FOPEN): Import this function from bfd/aclocal.m4.
* configure.in: Run BFD_BINARY_FOPEN.
* configure: Regenerate.
* as.h: Look at USE_BINARY_FOPEN to decide which fopen-*.h header file to include.

18 years ago * linux-thread-db.c (thread_db_get_thread_local_address): Fix type
ths [Wed, 2 Aug 2006 10:23:59 +0000 (10:23 +0000)]
* linux-thread-db.c (thread_db_get_thread_local_address): Fix type
mismatch.
* tui/tui-stack.c (tui_show_frame_info): Likewise.

18 years ago * Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.
corinna [Wed, 2 Aug 2006 09:48:17 +0000 (09:48 +0000)]
* Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.
* cygpath.cc: Include DDK headers.
(RtlAllocateUnicodeString): New static inline function.
(get_device_name): New static function to evaluate DOS path from
native NT path.
(get_device_paths): New function to do the same for path lists.
(doit): Call get_device_paths/get_device_name where appropriate.

18 years ago * readelf.c (dump_relocations): Handle MIPS-specific
ths [Wed, 2 Aug 2006 09:45:12 +0000 (09:45 +0000)]
* readelf.c (dump_relocations): Handle MIPS-specific
SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
(get_symbol_index_type): Similarly.

18 years ago * stabs.texinfo (Member Type Descriptor): Correct example for
drow [Wed, 2 Aug 2006 03:31:21 +0000 (03:31 +0000)]
* stabs.texinfo (Member Type Descriptor): Correct example for
pointer to member types.

18 years ago * c-exp.y (type): Remove incorrect pointer to member case.
drow [Wed, 2 Aug 2006 03:13:19 +0000 (03:13 +0000)]
* c-exp.y (type): Remove incorrect pointer to member case.
* objc-exp.y (type): Likewise.
* p-exp.y (type): Likewise.

18 years ago*** empty log message ***
gdbadmin [Wed, 2 Aug 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 2 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * gdb.base/cursal.exp: Add "" to gdb_load call.
drow [Tue, 1 Aug 2006 22:57:49 +0000 (22:57 +0000)]
* gdb.base/cursal.exp: Add "" to gdb_load call.

18 years ago2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 1 Aug 2006 20:20:25 +0000 (20:20 +0000)]
2006-08-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/Makefile.am: Add libc_TEXINFOS dependency on
        generated .texi files.
        * libm/Makefile.am: Add libm_TEXINFOS dependency on
        generated .texi files.
        * libc/Makefile.in: Regenerated.
        * libm/Makefile.in: Ditto.

18 years ago* arm-tdep.h (enum struct_return): New.
kettenis [Tue, 1 Aug 2006 18:27:51 +0000 (18:27 +0000)]
* arm-tdep.h (enum struct_return): New.
(struct gdbarch_tdep): Add struct_return member.
* arm-tdep.c (arm_return_value): Return
RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses
pcc_struct_return.
(arm_gdbarch_init): Default to reg_struct_return.
* armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return.

18 years ago* cygwinenv.sgml: Document [no]dosfilewarning option.
cgf [Tue, 1 Aug 2006 18:06:49 +0000 (18:06 +0000)]
* cygwinenv.sgml: Document [no]dosfilewarning option.

18 years ago* environ.cc (dos_file_warning): Declare.
cgf [Tue, 1 Aug 2006 18:00:44 +0000 (18:00 +0000)]
* environ.cc (dos_file_warning): Declare.
(parse_thing): Add "dosfilewarning".  Alphabetize.
* path.cc (normalize_posix_path): Return -1 when MS-DOS path detected.
(warn_msdos): New function.
(path_conv::check): Call if !PC_NOWARN and MS-DOS path detected.
(cygwin_conv_to_win32_path): Set PC_NOWARN when calling path_conv.
(cygwin_conv_to_full_win32_path): Ditto.
* path.h (pathconv_arg::PC_NOWARN): Define.
* shared_info.h (user_info::warned_msdos): New field.
(CURR_USER_MAGIC): Reset.

18 years agogas/
hjl [Tue, 1 Aug 2006 17:54:27 +0000 (17:54 +0000)]
gas/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Don't update
cpu_arch_isa_flags.

gas/testsuite/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/nops-2-i386.d: Updated.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.

18 years agold/
hjl [Tue, 1 Aug 2006 17:50:52 +0000 (17:50 +0000)]
ld/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (init_os): Add flags. Replace bfd_make_section with
bfd_make_section_with_flags.
(exp_init_os): Updated.
(lang_add_section): Call init_os with flags.
(map_input_to_output_sections): Likewise.

ld/testsuite/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/noload-1.d: New.
* ld-elf/noload-1.s: Likewise.
* ld-elf/noload-1.t: Likewise.

18 years ago2006-08-01 Thiemo Seufer <ths@mips.com>
jjohnstn [Tue, 1 Aug 2006 15:54:03 +0000 (15:54 +0000)]
2006-08-01  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>

* libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
define this to force _impure_ptr to live in the .sdata section.

18 years ago * config/tc-mips.c (md_section_align): Check ELF-ness at runtime.
ths [Tue, 1 Aug 2006 07:58:22 +0000 (07:58 +0000)]
* config/tc-mips.c (md_section_align): Check ELF-ness at runtime.

18 years ago * config/tc-mips.c (macro_build_lui): Fix comment formatting.
ths [Tue, 1 Aug 2006 05:49:02 +0000 (05:49 +0000)]
* config/tc-mips.c (macro_build_lui): Fix comment formatting.
(md_apply_fix): Likewise. Unify handling of BFD_RELOC_RVA,
BFD_RELOC_32 and BFD_RELOC_16.
(s_align, s_cpload, s_cplocal, s_cprestore, s_mips_stab,
md_convert_frag, md_obj_end): Fix comment formatting.

18 years ago*** empty log message ***
gdbadmin [Tue, 1 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 1 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 31 Jul 2006 23:00:56 +0000 (23:00 +0000)]
2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4: Check for readelf tool.
        * configure.in: Use ${READELF} instead of hard-coding.
        * Regenerate all aclocal.m4, Makefile.in, and configure files.

18 years ago2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 31 Jul 2006 22:21:24 +0000 (22:21 +0000)]
2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/mmap.c: Remove include of sys/mman.h
        to avoid conflict with newer glibc's revision of mremap.

18 years ago* alpha-tdep.h (ALPHA_S0_REGNUM): New define.
kettenis [Mon, 31 Jul 2006 20:15:49 +0000 (20:15 +0000)]
* alpha-tdep.h (ALPHA_S0_REGNUM): New define.
* alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>,
<machine/pcb.h> and "bsd-kvm.h".
(alphabsd_supply_pcb): New function.
(_initialize_alphabsd_nat): Enable libkvm interface.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

18 years agoReviewed by Daniel Jacobowitz <drow@false.org>
fnf [Mon, 31 Jul 2006 17:33:30 +0000 (17:33 +0000)]
Reviewed by Daniel Jacobowitz <drow@false.org>

2006-07-31  Fred Fish  <fnf@specifix.com>
* arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
instead of calling frame_obstack_zalloc directly.
(arm_make_stub_cache): Ditto.
* frame-unwind.h: Ditto.
* frame.c (create_new_frame): Ditto.

18 years ago * config/tc-mips.c (md_apply_fix, tc_gen_reloc): Remove special
ths [Mon, 31 Jul 2006 17:23:31 +0000 (17:23 +0000)]
* config/tc-mips.c (md_apply_fix, tc_gen_reloc): Remove special
handling for BFD_RELOC_MIPS16_JMP.

18 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem
corinna [Mon, 31 Jul 2006 14:27:55 +0000 (14:27 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem
with poll(2) after shutdown(SHUT_RD) has been called on the local side.
* poll.cc (poll): Use POSIX type nfds_t for second parameter.  Drop
special socket handling for POLLIN.  Add comment to explain why.
* include/sys/poll.h: Declare nfds_t.  Use as type for second parameter
in poll(2) declaration.

18 years ago * fhandler_socket.cc (fhandler_socket::evaluate_events): Circumvent
corinna [Mon, 31 Jul 2006 12:55:19 +0000 (12:55 +0000)]
* fhandler_socket.cc (fhandler_socket::evaluate_events): Circumvent
potential race condition.
(fhandler_socket::recv_internal): Fix MSG_PEEK bug on blocking sockets
and simplify recv loop.
(fhandler_socket::send_internal): Only lock when changing wsock_events.

18 years ago * autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 function
corinna [Mon, 31 Jul 2006 08:59:56 +0000 (08:59 +0000)]
* autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 function
is used anymore.  Drop all unused ws2_32.dll functions.

18 years ago * cygpath.cc (get_long_name): Fallback to get_long_path_name_w32impl.
corinna [Mon, 31 Jul 2006 07:31:55 +0000 (07:31 +0000)]
* cygpath.cc (get_long_name): Fallback to get_long_path_name_w32impl.

18 years ago*** empty log message ***
gdbadmin [Mon, 31 Jul 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 31 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agodaily update
amodra [Sun, 30 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 30 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
kettenis [Sat, 29 Jul 2006 19:15:00 +0000 (19:15 +0000)]
* gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
NetBSD/ELF targets.

18 years ago Update more IMAGE relocation type indicators
dannysmith [Sat, 29 Jul 2006 09:25:44 +0000 (09:25 +0000)]
Update more IMAGE relocation type indicators
to PECOFF v8 (May, 2006) specs.

* include/winnt.h (IMAGE_REL_SH3_ABSOLUTE,
IMAGE_REL_SH3_DIRECT16, IMAGE_REL_SH3_DIRECT32,
IMAGE_REL_SH3_DIRECT8, IMAGE_REL_SH3_DIRECT8_WORD,
IMAGE_REL_SH3_DIRECT8_LONG, IMAGE_REL_SH3_DIRECT4,
IMAGE_REL_SH3_DIRECT4_WORD, IMAGE_REL_SH3_DIRECT4_LONG,
IMAGE_REL_SH3_PCREL8_WORD, IMAGE_REL_SH3_PCREL8_LONG,
IMAGE_REL_SH3_PCREL12_WORD, IMAGE_REL_SH3_STARTOF_SECTION,
IMAGE_REL_SH3_SIZEOF_SECTION, IMAGE_REL_SH3_SECTION,
IMAGE_REL_SH3_SECREL, IMAGE_REL_SH3_DIRECT32_NB,
IMAGE_REL_SH3_GPREL4_LONG, IMAGE_REL_SH3_TOKEN,
IMAGE_REL_SHM_PCRELPT, IMAGE_REL_SHM_REFLO,
IMAGE_REL_SHM_REFHALF, IMAGE_REL_SHM_RELLO,
IMAGE_REL_SHM_RELHALF, IMAGE_REL_SHM_PAIR,
IMAGE_REL_SHM_NOMODE): Add defines.

(IMAGE_REL_M32R_ABSOLUTE, IMAGE_REL_M32R_ADDR32,
IMAGE_REL_M32R_ADDR32NB, IMAGE_REL_M32R_ADDR24,
IMAGE_REL_M32R_GPREL16, IMAGE_REL_M32R_PCREL24,
IMAGE_REL_M32R_PCREL16, IMAGE_REL_M32R_PCREL8,
IMAGE_REL_M32R_REFHALF, IMAGE_REL_M32R_REFHI,
IMAGE_REL_M32R_REFLO, IMAGE_REL_M32R_PAIR,
IMAGE_REL_M32R_SECTION, IMAGE_REL_M32R_SECREL,
IMAGE_REL_M32R_TOKEN): Add defines.

(IMAGE_REL_MIPS_JMPADDR16): Add define.

18 years agoopcodes/
rsandifo [Sat, 29 Jul 2006 08:55:38 +0000 (08:55 +0000)]
opcodes/
* m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire
"fdaddl" entry.

gas/testsuite/
* gas/m68k/mcf-fpu.s: Add tests for all addressing modes.
* gas/m68k/mcf-fpu.d: Update accordingly.

18 years agold/
rsandifo [Sat, 29 Jul 2006 08:48:15 +0000 (08:48 +0000)]
ld/
* Makefile.am (eelf32b4300.c): Update dependencies.
(eelf32bmip.c): Likewise.
(eelf32bsmip.c): Likewise.
(eelf32btsmip.c): Likewise.
(eelf32btsmipn32.c): Likewise.
(eelf32ltsmip.c): Likewise.
(eelf32ltsmipn32.c): Likewise.
(eelf32ebmip.c): Likewise.
(eelf32ebmipvxworks.c): Likewise.
(eelf32elmip.c): Likewise.
(eelf32elmipvxworks.c): Likewise.
(eelf32bmipn32.c): Likewise.
(eelf32lmip.c): Likewise.
(eelf32mipswindiss.c): Likewise.
(eelf32lsmip.c): Likewise.
(eelf64bmip.c): Likewise.
(eelf64btsmip.c): Likewise.
(eelf64ltsmip.c): Likewise.
(emipsbig.c): Likewise.  Canonicalize ${GENSCRIPTS} line.
(emipsbsd.c): Likewise.
(emipsidt.c): Update dependencies.
(emipsidtl.c): Likewise.
(emipslit.c): Likewise.
(emipslnews.c): Likewise.
(emipspe.c): Likewise.  Fix ${GENSCRIPTS} invocation.
* Makefile.in: Regenerate.
* emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
* emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
* emultempl/irix.em: Include emultempl/mipself.em.
* emultempl/mipself.em: New file.

ld/testsuite/
* ld-mips-elf/hash1.s, ld-mips-elf/hash1a.d,
* ld-mips-elf/hash1b.d, ld-mips-elf/hash1c.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

18 years agodaily update
amodra [Sat, 29 Jul 2006 00:00:10 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 29 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * fhandler.h (struct wsa_event): Define here.
corinna [Fri, 28 Jul 2006 08:50:46 +0000 (08:50 +0000)]
* fhandler.h (struct wsa_event): Define here.
(class fhandler_socket): Make wsock_evt private again.
(fhandler_socket::wsock_event): New read accessor for wsock_evt.
(fhandler_socket::serial_number): New read accessor to get the
socket's serial number.
(fhandler_socket::ready_for_read): Just return true.
* fhandler_socket.cc (struct wsa_event): Move definition to fhandler.h.
* select.cc (struct socketinf): Add serial number vector.
(start_thread_socket): Identify duplicate sockets by their serial
number, not (wrongly) by their wsock_evt.

18 years ago*** empty log message ***
gdbadmin [Fri, 28 Jul 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 28 Jul 2006 00:00:11 +0000 (00:00 +0000)]
daily update

18 years ago * MAINTAINERS (Write After Approval): Add myself.
bwilson [Thu, 27 Jul 2006 23:02:56 +0000 (23:02 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

18 years ago * main.c (captured_main): Print a newline after calling
drow [Thu, 27 Jul 2006 21:31:40 +0000 (21:31 +0000)]
* main.c (captured_main): Print a newline after calling
print_gdb_version instead of waiting until after the symbol file
has been read.  Adjust error_pre_print, quit_pre_print, and
warning_pre_print values.

18 years ago * irix5-nat.c (fetch_core_registers): Simplify and correct logic.
drow [Thu, 27 Jul 2006 21:27:12 +0000 (21:27 +0000)]
* irix5-nat.c (fetch_core_registers): Simplify and correct logic.

18 years ago * target.h (target_read_stralloc): New prototype.
drow [Thu, 27 Jul 2006 21:23:42 +0000 (21:23 +0000)]
* target.h (target_read_stralloc): New prototype.
* target.c (target_read_alloc_1): Renamed from target_read_alloc.
Take new PADDING argument.
(target_read_alloc): Use it.
(target_read_stralloc): New function.

18 years ago * cygpath.c (get_long_name): Cover the case that GetLongPathName
corinna [Thu, 27 Jul 2006 21:07:33 +0000 (21:07 +0000)]
* cygpath.c (get_long_name): Cover the case that GetLongPathName
doesn't return valid information for non-existant files.  Just return
incoming filename in that case.

18 years agomerge from gcc
dj [Thu, 27 Jul 2006 18:05:31 +0000 (18:05 +0000)]
merge from gcc

18 years ago * fhandler_socket.cc: Revert misguided attempt to handle FD_CLOSE error
corinna [Thu, 27 Jul 2006 13:58:53 +0000 (13:58 +0000)]
* fhandler_socket.cc: Revert misguided attempt to handle FD_CLOSE error
conditions in evaluate_events.
(search_wsa_event_slot): Move wrongly placed memset in
fhandler_socket::init_events here.
(fhandler_socket::init_events): Initially set FD_WRITE event for
connectionless sockets.
* poll.cc (poll): Don't add sockets always to except_fds since select
is now supposed to do it right.
* select.cc (set_bits): Set connection state correctly for failed
af_local_connect on local sockets.  Remove socket special handling
for except_selected descriptors.
(peek_socket): Try to set the read/write/exception bits actually
correctly.

18 years ago * fhandler_socket.cc (fhandler_socket::recvmsg): Remove unused tot
corinna [Thu, 27 Jul 2006 09:18:28 +0000 (09:18 +0000)]
* fhandler_socket.cc (fhandler_socket::recvmsg): Remove unused tot
argument.  All callers changed.
(fhandler_socket::sendmsg): Likewise.
* net.cc (cygwin_recvmsg): Likewise.
(cygwin_sendmsg): Likewise, and prevent calling sendmsg whith an
invalid iovec.
* fhandler.h (fhandler_socket::recvmsg): Adjust prototype.
(fhandler_socket::sendmsg): Likewise.

18 years ago * fhandler.h (class fhandler_socket): Remove prot_info_ptr.
corinna [Thu, 27 Jul 2006 09:11:36 +0000 (09:11 +0000)]
* fhandler.h (class fhandler_socket): Remove prot_info_ptr.
(fhandler_socket::fixup_before_fork_exec): Remove.
(fhandler_socket::fixup_after_exec): Remove.
(fhandler_socket::need_fixup_before): Remove.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Drop
initializing prot_info_ptr.  Remove unused code.
(fhandler_socket::~fhandler_socket): Drop free'ing prot_info_ptr.
(struct wsa_event): Rename connect_errorcode to errorcode.
(fhandler_socket::evaluate_events): Handle FD_CLOSE error condition
as FD_CONNECT error condition, except, never reset an FD_CLOSE error
condition.  Always set FD_WRITE after successfully recorded FD_CONNECT.
(fhandler_socket::fixup_before_fork_exec): Remove.
(fhandler_socket::fixup_after_fork): Revert to using handle duplication.
(fhandler_socket::fixup_after_exec): Remove.
(fhandler_socket::dup): Revert to using handle duplication.
(fhandler_socket::send_internal): Only call wait_for_events in case
of WSAEWOULDBLOCK condition.
(fhandler_socket::set_close_on_exec): Call
fhandler_base::set_close_on_exec.
* net.cc (fdsock): Just set socket to inheritable on non-NT.  Don't
call inc_need_fixup_before.
* select.cc (peek_socket): Don't set except_ready on every FD_CLOSE,
just on error.

18 years ago Update some IMAGE flags to PECOFF v8 (May, 2006) specs.
dannysmith [Thu, 27 Jul 2006 08:30:33 +0000 (08:30 +0000)]
Update some IMAGE flags to PECOFF v8 (May, 2006) specs.
* include/winnt.h (IMAGE_FILE_MACHINE_AM33,
IMAGE_FILE_MACHINE_ARM, IMAGE_FILE_MACHINE_EBC,
IMAGE_FILE_MACHINE_M32R, IMAGE_FILE_MACHINE_MIPS16,
IMAGE_FILE_MACHINE_MIPSFPU, IMAGE_FILE_MACHINE_MIPSFPU16,
IMAGE_FILE_MACHINE_POWERPCFP, IMAGE_FILE_MACHINE_R4000,
IMAGE_FILE_MACHINE_SH3, IMAGE_FILE_MACHINE_SH3DSP,
IMAGE_FILE_MACHINE_SH4, IMAGE_FILE_MACHINE_SH5,
IMAGE_FILE_MACHINE_THUMB, IMAGE_FILE_MACHINE_WCEMIPSV2):
Add defines.

(IMAGE_SUBSYSTEM_EFI_APPLICATION,
IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER,
IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER, IMAGE_SUBSYSTEM_EFI_ROM):
Add defines.

(IMAGE_SYM_CLASS_CLR_TOKEN): Add define

(IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY,
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
IMAGE_DLLCHARACTERISTICS_NO_ISOLATION, IMAGE_DLLCHARACTERISTICS_NO_SEH,
IMAGE_DLLCHARACTERISTICS_NO_BIND,
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE): Add defines.

(IMAGE_REL_I386_TOKEN, IMAGE_REL_I386_SECREL7): Add defines.

(IMAGE_REL_AMD64_ABSOLUTE, IMAGE_REL_AMD64_ADDR64,
IMAGE_REL_AMD64_ADDR32, IMAGE_REL_AMD64_ADDR32NB, IMAGE_REL_AMD64_REL32,
IMAGE_REL_AMD64_REL32_1, IMAGE_REL_AMD64_REL32_2,
IMAGE_REL_AMD64_REL32_3, IMAGE_REL_AMD64_REL32_4,
IMAGE_REL_AMD64_REL32_5, IMAGE_REL_AMD64_SECTION,
IMAGE_REL_AMD64_SECREL, IMAGE_REL_AMD64_SECREL7, IMAGE_REL_AMD64_TOKEN,
IMAGE_REL_AMD64_SREL32, IMAGE_REL_AMD64_PAIR, IMAGE_REL_AMD64_SSPAN32):
Add defines.

(IMAGE_REL_IA64_ABSOLUTE, IMAGE_REL_IA64_IMM14, IMAGE_REL_IA64_IMM22,
IMAGE_REL_IA64_IMM64, IMAGE_REL_IA64_DIR32, IMAGE_REL_IA64_DIR64,
IMAGE_REL_IA64_PCREL21B, IMAGE_REL_IA64_PCREL21M,
IMAGE_REL_IA64_PCREL21F, IMAGE_REL_IA64_GPREL22, IMAGE_REL_IA64_LTOFF22,
IMAGE_REL_IA64_SECTION, IMAGE_REL_IA64_SECREL22,
IMAGE_REL_IA64_SECREL64I, IMAGE_REL_IA64_SECREL32,
IMAGE_REL_IA64_DIR32NB, IMAGE_REL_IA64_SREL14, IMAGE_REL_IA64_SREL22,
IMAGE_REL_IA64_SREL32, IMAGE_REL_IA64_UREL32, IMAGE_REL_IA64_PCREL60X,
IMAGE_REL_IA64_PCREL60B, IMAGE_REL_IA64_PCREL60F,
IMAGE_REL_IA64_PCREL60I, IMAGE_REL_IA64_PCREL60M,
IMAGE_REL_IA64_IMMGPREL64, IMAGE_REL_IA64_TOKEN, IMAGE_REL_IA64_GPREL32,
IMAGE_REL_IA64_ADDEND): Add defines.

(IMAGE_SCN_GPREL): Add define.

18 years ago* fhandler.cc (fhandler_base::read): Call get_readahead_into_buffer instead of
cgf [Thu, 27 Jul 2006 03:32:50 +0000 (03:32 +0000)]
* fhandler.cc (fhandler_base::read): Call get_readahead_into_buffer instead of
duplicating it.

18 years ago * server.c (handle_query): Correct qPart to qXfer.
drow [Thu, 27 Jul 2006 00:06:12 +0000 (00:06 +0000)]
* server.c (handle_query): Correct qPart to qXfer.

18 years ago * remote.c (remote_protocol_features): Correct qPart to qXfer.
drow [Thu, 27 Jul 2006 00:06:02 +0000 (00:06 +0000)]
* remote.c (remote_protocol_features): Correct qPart to qXfer.

18 years ago*** empty log message ***
gdbadmin [Thu, 27 Jul 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 27 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * shared.cc (offsets): Define as offsets relative to cygwin_hmodule
corinna [Wed, 26 Jul 2006 21:02:01 +0000 (21:02 +0000)]
* shared.cc (offsets): Define as offsets relative to cygwin_hmodule
instead of addresses.
(off_addr): New macro.
(open_shared): Use offsets array accordingly.  Remove unused code.
* shared_info.h (cygwin_shared_address): Remove.

18 years ago * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.
schwab [Wed, 26 Jul 2006 19:56:16 +0000 (19:56 +0000)]
* elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.

18 years ago * cygheap.h (struct init_cygheap): Remove shared_h and mt_h members.
corinna [Wed, 26 Jul 2006 15:59:38 +0000 (15:59 +0000)]
* cygheap.h (struct init_cygheap): Remove shared_h and mt_h members.
* fhandler_tape.cc (mt): Define as DLL shared area in
.cygwin_dll_common instead of as dynamically allocated area.
Change referencing throughout.
* mtinfo.h (mt_h): Remove entirely.
(mt): Remove extern declaration.
* shared.cc (cygwin_shared_area): New global cygwin_shared
variable located in .cygwin_dll_common.
(offsets): Define shared region addresses descending from
cygwin_shared_address.
(open_shared): Replace usage of SH_CYGWIN_SHARED by SH_USER_SHARED.
(memory_init): Set cygwin_shared just by pointing to cygwin_shared_area.
* shared_info.h (shared_locations): Remove SH_CYGWIN_SHARED and
SH_MTINFO.
(cygwin_shared_address): Define as DLL start address.
* tty.h (tty_min::tty_min): Remove constructor.

18 years ago * elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.
amodra [Wed, 26 Jul 2006 12:32:27 +0000 (12:32 +0000)]
* elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Delete.
(define elf_backend_modify_segment_map): Don't define.

18 years ago * emultempl/elf-generic.em (map_segments): Reorganise loop so that
amodra [Wed, 26 Jul 2006 12:27:11 +0000 (12:27 +0000)]
* emultempl/elf-generic.em (map_segments): Reorganise loop so that
layout happens before segment map.  Don't do segment map on
relocatable link.

18 years ago * ld-scripts/overlay-size-map.d: Update.
amodra [Wed, 26 Jul 2006 05:10:05 +0000 (05:10 +0000)]
* ld-scripts/overlay-size-map.d: Update.