OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years agogcc 3.2.2 portability hacks.
iant [Fri, 3 Nov 2006 18:38:43 +0000 (18:38 +0000)]
gcc 3.2.2 portability hacks.

17 years agoCan now do a full static link of hello, world in C or C++
iant [Fri, 3 Nov 2006 18:26:10 +0000 (18:26 +0000)]
Can now do a full static link of hello, world in C or C++

17 years agoFix typo in comment.
ths [Fri, 3 Nov 2006 16:32:04 +0000 (16:32 +0000)]
Fix typo in comment.

17 years ago * config/tc-mips.c (md_pcrel_from_section): Disallow PC relative
ths [Fri, 3 Nov 2006 16:27:41 +0000 (16:27 +0000)]
* config/tc-mips.c (md_pcrel_from_section): Disallow PC relative
MIPS16 instructions referencing other sections, unless they are
external branches.

17 years ago * config/tc-mips.c (mips_cpu_info_table): The 25Kf is a MIPS64
ths [Fri, 3 Nov 2006 12:36:39 +0000 (12:36 +0000)]
* config/tc-mips.c (mips_cpu_info_table): The 25Kf is a MIPS64
release 1 CPU.

17 years ago * dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,
jakub [Fri, 3 Nov 2006 07:29:37 +0000 (07:29 +0000)]
* dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,
personality and lsda.
(struct cie_entry): Add per_encoding, lsda_encoding and personality.
(alloc_fde_entry): Initialize per_encoding and lsda_encoding.
(cfi_pseudo_table): Handle .cfi_personality and .cfi_lsda.
(dot_cfi_personality, dot_cfi_lsda, encoding_size): New functions.
(output_cie): Output personality including its encoding and LSDA encoding.
(output_fde): Output LSDA.
(select_cie_for_fde): Don't share CIE if personality, its encoding or
LSDA encoding are different.  Copy the 3 fields from fde_entry to
cie_entry.
* doc/as.texinfo (.cfi_personality, .cfi_lsda): Document.

* gas/cfi/cfi-common-6.d: New test.
* gas/cfi/cfi-common-6.s: New.
* gas/cfi/cfi.exp: Add cfi-common-6 test.

17 years ago * subsegs.h (struct frchain): Add frch_cfi_data field.
jakub [Fri, 3 Nov 2006 07:27:38 +0000 (07:27 +0000)]
* subsegs.h (struct frchain): Add frch_cfi_data field.
* dw2gencfi.c: Include subsegs.h.
(cur_fde_data, last_address, cur_cfa_offset, cfa_save_stack): Removed.
(struct frch_cfi_data): New type.
(unused_cfi_data): New variable.
(alloc_fde_entry): Move cur_fde_data, last_address, cur_cfa_offset
and cfa_save_stack static vars into a structure pointed from
each frchain.
(alloc_cfi_insn_data, cfi_new_fde, cfi_end_fde, cfi_set_return_column,
cfi_add_advance_loc, cfi_add_CFA_def_cfa, cfi_add_CFA_def_cfa_offset,
cfi_add_CFA_remember_state, cfi_add_CFA_restore_state, dot_cfi,
dot_cfi_escape, dot_cfi_startproc, dot_cfi_endproc, cfi_finish):
Likewise.

* gas/cfi/cfi-common-5.d: New test.
* gas/cfi/cfi-common-5.s: New.
* gas/cfi/cfi.exp: Add cfi-common-5 test.

17 years agobfd/
drow [Fri, 3 Nov 2006 00:58:09 +0000 (00:58 +0000)]
bfd/
* libbfd-in.h (_bfd_clear_contents): New prototype.
* reloc.c (_bfd_clear_contents): New.
* libbfd.h: Regenerated.

* elf32-arm.c (elf32_arm_final_link_relocate): Use
_bfd_clear_contents.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.

* elfxx-ia64.c (elfNN_ia64_relocate_section): Set value to
zero for discarded symbols.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
ld/testsuite/
* ld-discard/zero-rel.d, ld-discard/zero-rel.s: New files.

17 years ago*** empty log message ***
gdbadmin [Fri, 3 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 2 Nov 2006 22:59:00 +0000 (22:59 +0000)]
daily update

17 years ago * config/tc-h8300.c (build_bytes): Fix const warning.
drow [Thu, 2 Nov 2006 21:39:56 +0000 (21:39 +0000)]
* config/tc-h8300.c (build_bytes): Fix const warning.

17 years ago * dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
drow [Thu, 2 Nov 2006 21:34:07 +0000 (21:34 +0000)]
* dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
(load_full_comp_unit): Take OBJFILE argument and use it.
(dwarf2_build_psymtabs_hard): Skip partial units.
(process_queue): Pass OBJFILE to load_full_comp_unit.  Check
type_hash for read in CUs.  Test psymtab for NULL.

17 years ago * arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.
drow [Thu, 2 Nov 2006 21:32:22 +0000 (21:32 +0000)]
* arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.

17 years ago [ bfd/ChangeLog ]
ths [Thu, 2 Nov 2006 15:20:30 +0000 (15:20 +0000)]
[ bfd/ChangeLog ]
* elf-bfd.h (local_call_stubs): New member.
* elfxx-mips.c (FN_STUB_P, CALL_STUB_P, CALL_FP_STUB_P): New macros.
(mips_elf_calculate_relocation): Handle local mips16 call stubs.
(mips16_stub_section_p): Rename from mips_elf_stub_section_p, use
the new stub macros.
(_bfd_mips_elf_check_relocs): Handle call stubs for code which
mixes mips16 and mips32 functions. Use mips16_stub_section_p. Mark
used stubs with SEC_KEEP. Use the new stub macros.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips16-intermix.d, gas/mips/mips16-intermix.s: New
testcase.
* gas/mips/mips.exp: Run new testcase.

[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-intermix-1.s, ld-mips-elf/mips16-intermix-2.s,
ld-mips-elf/mips16-intermix.d: New testcase.
* ld-mips-elf/mips-elf.exp (mips16_intermix_test): Run new testcases.

17 years ago * path.cc (symlink_info::posixify): Fix comment.
corinna [Thu, 2 Nov 2006 13:39:43 +0000 (13:39 +0000)]
* path.cc (symlink_info::posixify): Fix comment.

17 years ago * path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.
corinna [Thu, 2 Nov 2006 12:19:15 +0000 (12:19 +0000)]
* path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.

17 years ago * path.cc (symlink_info::posixify): New mothod converting NT and DOS
corinna [Thu, 2 Nov 2006 11:45:03 +0000 (11:45 +0000)]
* path.cc (symlink_info::posixify): New mothod converting NT and DOS
paths in symlinks to POSIX.
(symlink_info::check_shortcut): Allocate buf allowing for a trailing 0.
Call posixify on the result.
(symlink_info::check_sysfile): Read from file into local buffer.
Eliminate old b16 considerations.  Call posixify on the result.
(symlink_info::check_reparse_point): Don't use PrintName but
SubstituteName which is relevant for Windows' path handling.
Call posixify on the result.

17 years ago * include/winuser.h (LR_DEFAULTSIZE): Remove duplicate.
dannysmith [Thu, 2 Nov 2006 00:54:46 +0000 (00:54 +0000)]
* include/winuser.h (LR_DEFAULTSIZE): Remove duplicate.

C99 'extern inline' patrol.
* include/winnt.h (GetCurrentFiber): Remove extern declaration.  Make
inline static.
(GetFiberData): Likewise.
* lib/kernel32.c: Remove.
* lib/Makefile.in: Remove reference to kernel32.[co].

17 years ago*** empty log message ***
gdbadmin [Thu, 2 Nov 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 1 Nov 2006 22:58:59 +0000 (22:58 +0000)]
daily update

17 years ago * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Correct
drow [Wed, 1 Nov 2006 20:00:21 +0000 (20:00 +0000)]
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Correct
check for PLT usage.

17 years ago * elfxx-mips.c (mips_elf_merge_gots): Always use maxcnt.
drow [Wed, 1 Nov 2006 16:07:42 +0000 (16:07 +0000)]
* elfxx-mips.c (mips_elf_merge_gots): Always use maxcnt.

17 years ago* tc-score.c (do16_rdrs): Handle not! instruction especially.
nickc [Wed, 1 Nov 2006 10:29:49 +0000 (10:29 +0000)]
* tc-score.c (do16_rdrs): Handle not! instruction especially.
* score-opc.h (score_opcodes): Delete modifier '0x'.
* gas/score/rD_rA.d: Correct not! and not.c instruction disassembly.
* gas/score/b.d: Correct b! and b instruction disassembly.

17 years ago * security.h (cygpriv_idx): Add privileges new in Vista.
corinna [Wed, 1 Nov 2006 09:00:13 +0000 (09:00 +0000)]
* security.h (cygpriv_idx): Add privileges new in Vista.
* security.cc (sys_privs): Ditto.
* sec_helper.cc (cygpriv): Ditto.  Fix comment.

17 years ago * include/winnt.h (SE_RELABEL_NAME): Define.
corinna [Wed, 1 Nov 2006 08:57:56 +0000 (08:57 +0000)]
* include/winnt.h (SE_RELABEL_NAME): Define.
(SE_INCREASE_WORKING_SET_NAME): Define.
(SE_TIME_ZONE_NAME): Define.
(SE_CREATE_SYMBOLIC_LINK_NAME): Define.

17 years ago* pe-dll.c (autofilter_entry_type): Change name to const.
cgf [Wed, 1 Nov 2006 00:48:24 +0000 (00:48 +0000)]
* pe-dll.c (autofilter_entry_type): Change name to const.
(pe_details_type) : Change target_name, object_target and autofilter_symbollist
to const.
(autofilter_symbollist_generic): Change to const.
(autofilter_symbollist_i386, pe_detail_list, pe_details, autofilter_liblist,
autofilter_objlist autofilter_symbolprefixlist, autofilter_symbolsuffixlist):
Likewise.
(is_import): Fix indentation.
(auto_export): Change afptr to const.  Move name declaration to beginning of
scope.
(make_tail): Clear undefined byte.
(jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change to const.
(make_one): Change jmp_bytes to const.  Make idata$6 member size arithmetic
explicit and add comment.

17 years ago*** empty log message ***
gdbadmin [Wed, 1 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 31 Oct 2006 22:59:01 +0000 (22:59 +0000)]
daily update

17 years ago * stabs.texinfo (Macro define and undefine): New node describing
eliz [Tue, 31 Oct 2006 22:38:27 +0000 (22:38 +0000)]
* stabs.texinfo (Macro define and undefine): New node describing
stabs for #define and #undef.

17 years ago2006-10-31 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 31 Oct 2006 20:33:40 +0000 (20:33 +0000)]
2006-10-31  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
for EABIv4.

17 years ago2006-10-30 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 31 Oct 2006 20:21:56 +0000 (20:21 +0000)]
2006-10-30  Paul Brook  <paul@codesourcery.com>

binutils/
* objdump.c (disassemble_section): Set info->symtab_pos.
(disassemble_data): Set info->symtab and info->symtab_size.

include/
* dis-asm.h (disassemble_info): Add symtab, symtab_pos and
symtab_size.

opcodes/
* arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
(get_sym_code_type): New function.
(print_insn): Search for mapping symbols.

17 years ago2006-10-31 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 31 Oct 2006 20:16:32 +0000 (20:16 +0000)]
2006-10-31  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (object_arch): New variable.
(s_arm_object_arch): New function.
(md_pseudo_table): Add object_arch.
(aeabi_set_public_attributes): Obey object_arch.
* doc/c-arm.texi: Document .object_arch.

17 years ago * cygheap.h (struct user_heap_info): Add slop member.
corinna [Tue, 31 Oct 2006 18:41:16 +0000 (18:41 +0000)]
* cygheap.h (struct user_heap_info): Add slop member.
* heap.cc (heap_init): Add slop factor to heap allocation.  Add
comment.
* mmap.cc (MapViewNT): Allocate memory maps top down.
(fhandler_dev_zero::mmap): Ditto.
* shared.cc (shared_info::heap_slop_size): New method.
(shared_info::heap_chunk_size): Don't use debug_printf at early stage.
* shared_info.h (SHARED_INFO_CB): Accomodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add heap_slop member.  Declare heap_slop_size.
* wincap.h: Define heapslop throughout.
* wincap.cc: Ditto.

17 years agoImprove "help all".
vprus [Tue, 31 Oct 2006 11:45:40 +0000 (11:45 +0000)]
Improve "help all".

17 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
corinna [Tue, 31 Oct 2006 11:40:46 +0000 (11:40 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
directory attribute for reparse points to avoid mistreating.
(fhandler_base::fstat_by_name): Ditto.
* path.cc (symlink_info::check_reparse_point): New method testing
reparse points for symbolic links.
(symlink_info::check_shortcut): Move file attribute tesat to calling
function.
(symlink_info::check): Add handling for reparse points.
* path.h (enum path_types): Add PATH_REP to denote reparse point based
symlinks.
(path_conv::is_rep_symlink): New method.
* syscalls.cc (unlink): Handle reparse points.

17 years ago * include/winnt.h (IO_REPARSE_TAG_SYMLINK): Define.
corinna [Tue, 31 Oct 2006 11:39:58 +0000 (11:39 +0000)]
* include/winnt.h (IO_REPARSE_TAG_SYMLINK): Define.
(struct _REPARSE_DATA_BUFFER): Add missing Flags field to
SymbolicLinkReparseBuffer substructure.

17 years ago* tc-score.c (data_op2): Check invalid operands.
nickc [Tue, 31 Oct 2006 09:54:40 +0000 (09:54 +0000)]
* tc-score.c (data_op2): Check invalid operands.
  (my_get_expression): Const operand of some instructions can not be symbol in assembly.
  (get_insn_class_from_type): Handle instruction type Insn_internal.
  (do_macro_ldst_label): Modify inst.type.
  (Insn_PIC): Delete.
* score-inst.h (enum score_insn_type): Add Insn_internal.
* tc-score.c (data_op2): The immediate value in lw is 15 bit signed.
* score-dis.c (print_insn): Correct the error code to print correct PCE instruction disassembly.

17 years ago * elf.c (elfcore_write_note): Pad note descriptor to 4-byte
amodra [Tue, 31 Oct 2006 02:36:18 +0000 (02:36 +0000)]
* elf.c (elfcore_write_note): Pad note descriptor to 4-byte
boundary.  Tidy.  Comment.

17 years ago*** empty log message ***
gdbadmin [Tue, 31 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agobfd/
hjl [Mon, 30 Oct 2006 23:25:49 +0000 (23:25 +0000)]
bfd/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* elf-bfd.h (elf_obj_tdata): Add symbuf.
(_bfd_elf_section_already_linked): Add struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(bfd_elf_match_symbols_in_sections): Likewise.

* elf.c (assign_section_numbers): Updated to add
struct bfd_link_info *.
(bfd_elf_match_symbols_in_sections): Updated. Cache symbol
buffer if info->reduce_memory_overheads is false.

* elflink.c (match_group_member): Updated to add
struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(elf_link_input_bfd): Likewise.
(_bfd_elf_section_already_linked): Likewise.
(bfd_elf_final_link): Free symbol buffer if
info->reduce_memory_overheads is false.

* libbfd-in.h (_bfd_nolink_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* libbfd.h: Regenerated.

* linker.c (bfd_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* targets.c (bfd_target): Add struct bfd_link_info * to
_section_already_linked.
* bfd-in2.h: Regenerated.

include/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* bfdlink.h (bfd_link_info): Add reduce_memory_overheads.

ld/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* ld.h (args_type): Remove reduce_memory_overheads.

* ldlang.c (lang_map): Updated.
(section_already_linked): Likewise.
(print_input_section): Likewise.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.

17 years agodaily update
amodra [Mon, 30 Oct 2006 22:59:02 +0000 (22:59 +0000)]
daily update

17 years ago * bfd-in2.h: Regenerate.
amodra [Mon, 30 Oct 2006 07:44:11 +0000 (07:44 +0000)]
* bfd-in2.h: Regenerate.

17 years ago * bfd.c (bfd_error_type): Add bfd_error_on_input.
amodra [Mon, 30 Oct 2006 07:41:17 +0000 (07:41 +0000)]
* bfd.c (bfd_error_type): Add bfd_error_on_input.
(input_bfd, input_error): New static vars.
(bfd_set_error): Handle bfd_error_on_input.
(bfd_errmsg): Likewise.
(bfd_perror): Simplify.
* archive.c (_bfd_write_archive_contents): Report errors on input.

17 years ago2006-10-29 Randolph Chung <tausq@debian.org>
tausq [Mon, 30 Oct 2006 01:10:45 +0000 (01:10 +0000)]
2006-10-29  Randolph Chung  <tausq@debian.org>

* gas/cfi/cfi.exp [hppa*-linux*]: Run hppa CFI test.
* gas/cfi/cfi-hppa-1.s: New file.
* gas/cfi/cfi-hppa-1.h: New file.

17 years ago2006-10-29 Randolph Chung <tausq@debian.org>
tausq [Mon, 30 Oct 2006 01:09:18 +0000 (01:09 +0000)]
2006-10-29  Randolph Chung  <tausq@debian.org>

* config/tc-hppa.c (hppa_cfi_frame_initial_instructions)
(hppa_regname_to_dw2regnum): New funcions.
* config/tc-hppa.h [OBJ_ELF] (TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions)
(tc_regname_to_dw2regnum): Define.
(hppa_cfi_frame_initial_instructions)
(hppa_regname_to_dw2regnum): Declare.
(DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN)
(DWARF2_CIE_DATA_ALIGNMENT): Define.

17 years ago * ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
kkojima [Mon, 30 Oct 2006 00:48:02 +0000 (00:48 +0000)]
* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
* ld-sh/sh64/crange3.rd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update for removal
of empty sections.

17 years ago*** empty log message ***
gdbadmin [Mon, 30 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * elf.c (elfcore_write_note): Pad to 4-byte boundary.
amodra [Sun, 29 Oct 2006 23:49:37 +0000 (23:49 +0000)]
* elf.c (elfcore_write_note): Pad to 4-byte boundary.

17 years agodaily update
amodra [Sun, 29 Oct 2006 22:59:02 +0000 (22:59 +0000)]
daily update

17 years ago2006-10-29 Daniel Atallah <datallah@users.sourceforge.net>
dannysmith [Sun, 29 Oct 2006 22:37:10 +0000 (22:37 +0000)]
2006-10-29  Daniel Atallah  <datallah@users.sourceforge.net>

* lib/ws2_32.def (WSANSPIoctl): Add to lib.

17 years ago2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 29 Oct 2006 19:18:47 +0000 (19:18 +0000)]
2006-10-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3384
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.

* readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
(program_interpreter): Allocate PATH_MAX bytes instead of 64.
(process_program_headers): Don't assume that program interpreter
is shorter than 64 characters.

17 years ago2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 29 Oct 2006 19:07:54 +0000 (19:07 +0000)]
2006-10-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3384
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.

* readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
(program_interpreter): Allocate PATH_MAX bytes instead of 64.
(process_program_headers): Don't assume that program interpreter
is shorter than 64 characters.

17 years ago* config/tc-spu.c (md_assemble): Cast printf string size parameter
nickc [Sun, 29 Oct 2006 18:18:34 +0000 (18:18 +0000)]
* config/tc-spu.c (md_assemble): Cast printf string size parameter
  to int in order to avoid a compiler warning.

17 years ago* pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
cgf [Sun, 29 Oct 2006 17:14:37 +0000 (17:14 +0000)]
* pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.

17 years ago*** empty log message ***
gdbadmin [Sun, 29 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 28 Oct 2006 22:59:03 +0000 (22:59 +0000)]
daily update

17 years agoinclude/elf/
rsandifo [Sat, 28 Oct 2006 10:13:49 +0000 (10:13 +0000)]
include/elf/
* mips.h (R_MIPS_GLOB_DAT): Define
(R_MIPS_max): Bump by 1.

bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT.
* elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
(elf_mips_howto_table_rela): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
(mips_elf64_howto_table_rela): Likewise.

17 years ago*** empty log message ***
gdbadmin [Sat, 28 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Fri, 27 Oct 2006 23:59:04 +0000 (23:59 +0000)]
daily update

17 years ago2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
jjohnstn [Fri, 27 Oct 2006 23:02:00 +0000 (23:02 +0000)]
2006-10-27  Joel Schopp  <jschopp@austin.ibm.com>

        * libc/machine/spu/memcpy.c: Override generic function with vectorized
        version optimized for the cell spu.
        * libc/machine/spu/memmove.c: Ditto.
        * libc/machine/spu/memset.c: Ditto.
        * libc/machine/spu/strcat.c: Ditto.
        * libc/machine/spu/strchr.c: Ditto.
        * libc/machine/spu/strcmp.c: Ditto.
        * libc/machine/spu/strcpy.c: Ditto.
        * libc/machine/spu/strcspn.c: Ditto.
        * libc/machine/spu/strlen.c: Ditto.
        * libc/machine/spu/strncat.c: Ditto.
        * libc/machine/spu/strncmp.c: Ditto.
        * libc/machine/spu/strncpy.c: Ditto.
        * libc/machine/spu/strpbrk.c: Ditto.
        * libc/machine/spu/strrchr.c: Ditto.
        * libc/machine/spu/strspn.c: Ditto.
        * libc/machine/spu/strxfrm.c: Ditto.
        * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
        removing altivec style initializers.
        * libc/machine/spu/Makefile.am: Add new files to list so they build
        * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am

17 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 27 Oct 2006 23:00:35 +0000 (23:00 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add spu license.
        * COPYING.LIBGLOSS: Ditto.

17 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 27 Oct 2006 22:57:03 +0000 (22:57 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add spu license.

17 years ago * gdbcmd.h (detachlist): Declare.
schwab [Fri, 27 Oct 2006 22:23:19 +0000 (22:23 +0000)]
* gdbcmd.h (detachlist): Declare.
* infcmd.c (_initialize_infcmd): Define "detach" as prefix
command.
* linux-fork.c (_initialize_linux_fork): Rename
"detach-checkpoint" to "detach checkpoint" and "detach-fork" to
"detach fork".
* cli/cli-cmds.c (detachlist): Define.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (detachlist): Declare.

doc/:
* gdb.texinfo (Processes): Rename "detach-fork" to "detach fork".

testsuite/:
* gdb.base/multi-forks.exp: Use "detach fork" instead of
"detach-fork".

17 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 27 Oct 2006 19:22:57 +0000 (19:22 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * README: Add a brief section on how to regenerate
        configuration files in newlib.

17 years ago * shared.cc (open_shared): Drop useless attempt from 2006-08-11.
corinna [Fri, 27 Oct 2006 10:51:25 +0000 (10:51 +0000)]
* shared.cc (open_shared): Drop useless attempt from 2006-08-11.

17 years ago * dcrt0.cc (__api_fatal): Drop spare argument to __small_sprintf.
corinna [Fri, 27 Oct 2006 10:41:51 +0000 (10:41 +0000)]
* dcrt0.cc (__api_fatal): Drop spare argument to __small_sprintf.
* smallprint.c (__small_vsprintf): Preserve GetLastError value.
* winsup.h (api_fatal): Simplify.  Drop duplicate filename arg.

17 years ago2006-10-27 Andrew Stubbs <andrew.stubbs@st.com>
ams [Fri, 27 Oct 2006 09:34:45 +0000 (09:34 +0000)]
2006-10-27  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh.c (md_assemble): Define size of branches.

17 years ago2006-10-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 27 Oct 2006 04:15:49 +0000 (04:15 +0000)]
2006-10-26  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_init_private_section_data): Assert output
section ELF type instead of check if it is SHT_NULL.  Copy
OS/PROC specific flags from input section to output section.

17 years agobfd/
amodra [Fri, 27 Oct 2006 03:22:08 +0000 (03:22 +0000)]
bfd/
* section.c (SEC_KEEP): Update comment.
* bfd-in2.h: Regenerate.
* elflink.c (bfd_elf_gc_sections): Ignore SEC_EXCLUDE sections.
* merge.c (_bfd_merge_sections): Set SEC_KEEP on excluded sections.
* stabs.c (_bfd_discard_section_stabs): Likewise.
(_bfd_link_section_stabs): Likewise.  Simplify abs_section check.
ld/
* ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
sections have been discarded.
(lang_do_version_exports_section): Set SEC_KEEP on export section.
* emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
sections.

17 years ago2006-10-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Fri, 27 Oct 2006 01:02:29 +0000 (01:02 +0000)]
2006-10-26  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/Makefile.in: Fix order for 'all' rule.

17 years ago*** empty log message ***
gdbadmin [Fri, 27 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 26 Oct 2006 23:59:04 +0000 (23:59 +0000)]
daily update

17 years ago2006-10-26 Ben Elliston <bje@au.ibm.com>
bergner [Thu, 26 Oct 2006 17:37:26 +0000 (17:37 +0000)]
2006-10-26  Ben Elliston  <bje@au.ibm.com>
    Anton Blanchard  <anton@samba.org>
    Peter Bergner  <bergner@vnet.ibm.com>

* ppc-opc.c (A_L, DCM, DGM, TE, RMC, R, SP, S, SH16, XRT_L, EH,
AFRALFRC_MASK, Z, ZRC, Z_MASK, XLRT_MASK, XEH_MASK): Define.
(POWER6): Define.
(powerpc_opcodes): Extend "lwarx", "ldarx", "dcbf", "fres", "fres.",
"frsqrtes", "frsqrtes." "fre", "fre.", "frsqrte" and "frsqrte.".
Add "doze", "nap", "sleep", "rvwinkle", "dcbfl", "prtyw", "prtyd",
"mfcfar", "cmpb", "lfdpx", "stfdpx", "mtcfar", "mffgpr", "mftgpr",
"lwzcix", "lhzcix", "lbzcix", "ldcix", "lfiwax", "stwcix", "sthcix",
"stbcix", "stdcix", "lfdp", "dadd", "dadd.", "dqua", "dqua.", "dmul",
"dmul.", "drrnd", "drrnd.", "dscli", "dscli.", "dquai", "dquai.",
"dscri", "dscri.", "drintx", "drintx.", "dcmpo", "dtstex", "dtstdc",
"dtstdg", "dtstsf", "drintn", "drintn.", "dctdp", "dctdp.", "dctfix",
"dctfix.", "ddedpd", "ddedpd.", "dxex", "dxex.", "dsub", "dsub.",
"ddiv", "ddiv.", "dcmpu", "drsp", "drsp.", "dcffix", "dcffix.",
"denbcd", "denbcd.", "diex", "diex.", "stfdp", "daddq", "daddq.",
"dquaq", "dquaq.", "fcpsgn", "fcpsgn.", "dmulq", "dmulq.",
"drrndq", "drrndq.", "dscliq", "dscliq.", "dquaiq", "dquaiq.",
"dscriq", "dscriq.", "drintxq", "drintxq.", "dcmpoq", "dtstexq",
"dtstdcq", "dtstdgq", "dtstsfq", "drintnq", "drintnq.",
"dctqpq", "dctqpq.", "dctfixq", "dctfixq.", "ddedpdq", "ddedpdq.",
"dxexq", "dxexq.", "dsubq", "dsubq.", "ddivq", "ddivq.", "dcmpuq",
"drdpq", "drdpq.", "dcffixq", "dcffixq.", "denbcdq", "denbcdq.",
"diexq" and "diexq." opcodes.

17 years ago * h8300-dis.c (bfd_h8_disassemble): Add missing consts.
drow [Thu, 26 Oct 2006 15:37:21 +0000 (15:37 +0000)]
* h8300-dis.c (bfd_h8_disassemble): Add missing consts.

17 years ago2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
jsm28 [Thu, 26 Oct 2006 12:52:39 +0000 (12:52 +0000)]
2006-10-26  Joseph S. Myers  <joseph@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>

* configure.tgt (arm*linux*): Support both big- and little-endian.

17 years agomerge from gcc
dj [Thu, 26 Oct 2006 04:18:41 +0000 (04:18 +0000)]
merge from gcc

17 years ago2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 26 Oct 2006 00:31:59 +0000 (00:31 +0000)]
2006-10-25  H.J. Lu  <hongjiu.lu@intel.com>

* emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
(OTHER_BSS_SECTIONS): This.
* scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
(LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.

17 years ago * reloc.c (_bfd_relocate_contents): Remove explicit case 0.
bje [Thu, 26 Oct 2006 00:22:52 +0000 (00:22 +0000)]
* reloc.c (_bfd_relocate_contents): Remove explicit case 0.

17 years ago * write.c (chain_frchains_together_1): Assert that this function
bje [Thu, 26 Oct 2006 00:17:49 +0000 (00:17 +0000)]
* write.c (chain_frchains_together_1): Assert that this function
never returns a pointer to the auto variable `dummy'.

17 years ago * dw2gencfi.c (cfi_add_CFA_offset):
bje [Thu, 26 Oct 2006 00:16:50 +0000 (00:16 +0000)]
* dw2gencfi.c (cfi_add_CFA_offset):
Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero.

17 years ago * elf.c (bfd_section_from_shdr): Remove extraneous breaks.
bje [Thu, 26 Oct 2006 00:14:39 +0000 (00:14 +0000)]
* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
* targets.c (find_target): Remove extraneous break.

17 years ago * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
bje [Thu, 26 Oct 2006 00:10:43 +0000 (00:10 +0000)]
* coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
(struct maxq_reloc_map): Unused; remove.
(maxq_reloc_map): Likewise.
(maxq_reloc_type_lookup): Remove loop over maxq_reloc_map.

17 years ago * elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
bje [Thu, 26 Oct 2006 00:01:30 +0000 (00:01 +0000)]
* elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
from int to enum dynamic_lib_link_class lib_class.
* bfd-in.h (bfd_elf_set_dyn_lib_class): Likewise.
* bfd-in2.h: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Thu, 26 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 25 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update

17 years agogdb/ChangeLog:
jimb [Wed, 25 Oct 2006 21:26:41 +0000 (21:26 +0000)]
gdb/ChangeLog:
2006-10-25  Jim Blandy  <jimb@codesourcery.com>

* p-valprint.c (pascal_object_print_value): Add 'static' keyword
to function definition, to match declaration earlier in file.

17 years ago2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
jjohnstn [Wed, 25 Oct 2006 18:46:40 +0000 (18:46 +0000)]
2006-10-25  Vladimir Prus  <vladimir@codesourcery.com>

        * libc/include/math.h: (exception): Add a comment
        telling fixincludes that we handle C vs. C++ issue.

17 years agoNew Cell SPU port.
amodra [Wed, 25 Oct 2006 06:49:18 +0000 (06:49 +0000)]
New Cell SPU port.

17 years agomerge from gcc
dj [Wed, 25 Oct 2006 01:42:44 +0000 (01:42 +0000)]
merge from gcc

17 years agomissed from last commit
amodra [Wed, 25 Oct 2006 00:44:26 +0000 (00:44 +0000)]
missed from last commit

17 years ago*** empty log message ***
gdbadmin [Wed, 25 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 24 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update

17 years ago*** empty log message ***
nickrob [Tue, 24 Oct 2006 20:23:56 +0000 (20:23 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nickrob [Tue, 24 Oct 2006 20:22:40 +0000 (20:22 +0000)]
*** empty log message ***

17 years ago * expr.c (expr): Replace O_add case in switch (op_left) explaining
bje [Tue, 24 Oct 2006 18:10:57 +0000 (18:10 +0000)]
* expr.c (expr): Replace O_add case in switch (op_left) explaining
why it can never occur.

17 years ago * ld-powerpc/plt1.s: New.
amodra [Tue, 24 Oct 2006 13:29:37 +0000 (13:29 +0000)]
* ld-powerpc/plt1.s: New.
* ld-powerpc/plt1.d: New.
* ld-powerpc/relbrlt.s: New.
* ld-powerpc/relbrlt.d: New.
* ld-powerpc/powerpc.exp: Run them.

17 years ago * lexsup.c (parse_args): Add a comment noting a fall-through.
bje [Tue, 24 Oct 2006 03:35:48 +0000 (03:35 +0000)]
* lexsup.c (parse_args): Add a comment noting a fall-through.

17 years agoAdd powerpc cell support.
amodra [Tue, 24 Oct 2006 01:27:28 +0000 (01:27 +0000)]
Add powerpc cell support.

17 years ago*** empty log message ***
gdbadmin [Tue, 24 Oct 2006 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 23 Oct 2006 23:59:09 +0000 (23:59 +0000)]
daily update