OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago2006-03-08 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 8 Mar 2006 14:22:47 +0000 (14:22 +0000)]
2006-03-08  Paul Brook  <paul@codesourcery.com>

* arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
(arm_frame_align): New function.
(arm_gdbarch_init): Use it.

18 years ago*** empty log message ***
gdbadmin [Wed, 8 Mar 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 7 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2006-03-07 Eric Blake <ebb9@byu.net>
jjohnstn [Tue, 7 Mar 2006 22:20:18 +0000 (22:20 +0000)]
2006-03-07  Eric Blake  <ebb9@byu.net>

        * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
        filename, allow read-only or write-only FILE atop O_RDWR file
        descriptor.
        * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.

18 years ago2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 7 Mar 2006 22:14:04 +0000 (22:14 +0000)]
2006-03-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
        * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.

18 years ago2006-03-07 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 7 Mar 2006 21:40:50 +0000 (21:40 +0000)]
2006-03-07  Paul Brook  <paul@codesourcery.com>

* gdb.base/assign.exp: Correct fail message.

18 years agogas/testsuite/
hjl [Tue, 7 Mar 2006 20:18:04 +0000 (20:18 +0000)]
gas/testsuite/

2006-03-07  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2428
* gas/i386/i386.exp: Add rep, rep-suffix, x86-64-rep and
x86-64-rep-suffix.

* gas/i386/naked.d: Replace repz with rep.
* gas/i386/x86_64.d: Likewise.

* gas/i386/rep-suffix.d: New file.
* gas/i386/rep-suffix.s: Likewise.
* gas/i386/rep.d: Likewise.
* gas/i386/rep.s: Likewise.
* gas/i386/x86-64-rep-suffix.d: Likewise.
* gas/i386/x86-64-rep-suffix.s: Likewise.
* gas/i386/x86-64-rep.d: Likewise.
* gas/i386/x86-64-rep.s: Likewise.

opcodes/

2006-03-07  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2428
* i386-dis.c (REP_Fixup): New function.
(AL): Remove duplicate.
(Xbr): New.
(Xvr): Likewise.
(Ybr): Likewise.
(Yvr): Likewise.
(indirDXr): Likewise.
(ALr): Likewise.
(eAXr): Likewise.
(dis386): Updated entries of ins, outs, movs, lods and stos.

18 years ago2006-03-07 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 7 Mar 2006 19:55:55 +0000 (19:55 +0000)]
2006-03-07  Paul Brook  <paul@codesourcery.com>

* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.

18 years ago2006-03-07 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 7 Mar 2006 18:51:56 +0000 (18:51 +0000)]
2006-03-07  Paul Brook  <paul@codesourcery.com>

* lib/compiler.c: Extract armcc version number.
* lib/compiler.cc: Ditto.

18 years ago2006-03-07 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 7 Mar 2006 15:23:31 +0000 (15:23 +0000)]
2006-03-07  Paul Brook  <paul@codesourcery.com>

* gdb.arch/altivec-abi.exp: Use nowarnings instead of
additional_flags=-w.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.arch/e500-abi.exp: Ditto.
* gdb.arch/e500-regs.exp: Ditto.
* gdb.base/all-bin.exp: Ditto.
* gdb.base/annota1.exp: Ditto.
* gdb.base/annota3.exp: Ditto.
* gdb.base/args.exp: Ditto.
* gdb.base/arithmet.exp: Ditto.
* gdb.base/assign.exp: Ditto.
* gdb.base/async.exp: Ditto.
* gdb.base/bang.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/completion.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/consecutive.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/environ.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/jump.exp: Ditto.
* gdb.base/logical.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pc-fp.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/sect-cmd.exp: Ditto.
* gdb.base/sep.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
* gdb.cp/annota2.exp: Ditto.
* gdb.cp/annota3.exp: Ditto.
* gdb.trace/actions.exp: Ditto.
* gdb.trace/backtrace.exp: Ditto.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/limits.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* lib/gdb.exp: Ditto.
(gdb_compile): Handle nowarning option.

18 years ago * include/shellapi.h [_WIN32_IE >= 0x0600]
papadopo [Tue, 7 Mar 2006 10:59:46 +0000 (10:59 +0000)]
* include/shellapi.h  [_WIN32_IE >= 0x0600]
(SEE_MASK_NOZONECHECKS,SEE_MASK_FLAG_LOG_USAGE): Define on
Windows XP SP1 and Windows XP respectively.

18 years ago * include/shellapi.h (NOTIFYICONDATA_V*_SIZE): Define.
papadopo [Tue, 7 Mar 2006 10:45:35 +0000 (10:45 +0000)]
* include/shellapi.h (NOTIFYICONDATA_V*_SIZE): Define.
Thanks to:  Daniel Atallah <datallah at users dot sf dot net>
* include/shellapi.h  [_WIN32_IE >= 0x0500]
(NIS_*): Introduced in Version 5.0.

18 years ago * cygwinenv.sgml: Add missing </para> at transparent_exe.
corinna [Tue, 7 Mar 2006 09:21:28 +0000 (09:21 +0000)]
* cygwinenv.sgml: Add missing </para> at transparent_exe.

18 years agobfd/
rsandifo [Tue, 7 Mar 2006 08:39:19 +0000 (08:39 +0000)]
bfd/
* configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
(bfd_elf32_bigarm_symbian_vec): Likewise.
(bfd_elf32_bigarm_vxworks_vec): Likewise.
(bfd_elf32_littlearm_vec): Likewise.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(bfd_elf32_littlearm_vxworks_vec): Likewise.
* configure: Regenerate.
* elf32-arm.c: Include libiberty.h and elf-vxworks.h.
(RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
(elf32_arm_vxworks_bed): Add forward declaration.
(elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
(elf32_arm_vxworks_exec_plt0_entry): New table.
(elf32_arm_vxworks_exec_plt_entry): Likewise.
(elf32_arm_vxworks_shared_plt_entry): Likewise.
(elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
(reloc_section_p): New function.
(create_got_section): Use RELOC_SECTION.
(elf32_arm_create_dynamic_sections): Likewise.  Call
elf_vxworks_create_dynamic_sections for VxWorks targets.
Choose between the two possible values of plt_header_size
and plt_entry_size.
(elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
(elf32_arm_abs12_reloc): New function.
(elf32_arm_final_link_relocate): Call it.  Allow the creation of
dynamic R_ARM_ABS12 relocs on VxWorks.  Use reloc_section_p,
RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION.  Initialize the
r_addend fields of relocs.  On rela targets, skip any code that
adjusts in-place addends.  When using _bfd_link_final_relocate
to perform a final relocation, pass rel->r_addend as the addend
argument.
(elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
object, ignore flags that are not standard on VxWorks.
(elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
relocs on VxWorks.  Use reloc_section_p.
(elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
(allocate_dynrelocs): Use RELOC_SIZE.  Account for the size of
.rela.plt.unloaded relocs on VxWorks targets.
(elf32_arm_size_dynamic_sections): Use RELOC_SIZE.  Check for
.rela.plt.unloaded as well as .rel(a).plt.  Add DT_RELA* tags
instead of DT_REL* tags on RELA targets.
(elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle VxWorks
PLT entries.  Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle DT_RELASZ
like DT_RELSZ.  Handle the VxWorks form of initial PLT entry.
Correct the .rela.plt.unreloaded symbol indexes.
(elf32_arm_output_symbol_hook): Call the VxWorks version of this
hook on VxWorks targets.
(elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
Minor formatting tweak.
(elf32_arm_vxworks_final_write_processing): New function.
(elf_backend_add_symbol_hook): Override for VxWorks and reset
for Symbian.
(elf_backend_final_write_processing): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_want_plt_sym): Likewise.
(ELF_MAXPAGESIZE): Likewise.
(elf_backend_may_use_rel_p): Minor formatting tweak.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_rela_normal): Likewise.
* Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.

gas/
* config/tc-arm.c (md_apply_fix): Install a value of zero into a
BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
R_ARM_ABS12 reloc.
(tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
relocs, but adjust by md_pcrel_from_section.  Create R_ARM_ABS12
relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.

gas/testsuite/
* gas/arm/abs12.s, gas/arm/abs12.d: New test.
* gas/arm/pic.d: Skip for *-*-vxworks*...
* gas/arm/pic_vxworks.d: ...use this version instead.
* gas/arm/unwind_vxworks.d: Fix expected output.

ld/
* emulparams/armelf_vxworks.sh: Include vxworks.sh.
(MAXPAGESIZE): Define.
* emulparams/vxworks.sh: Undefine.
* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
* Makefile.in: Regenerate.

ld/testsuite/
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
* ld-arm/vxworks2-static.sd: New tests.
* ld-arm/arm-elf.exp: Run them.

18 years ago* gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
aoliva [Tue, 7 Mar 2006 05:05:29 +0000 (05:05 +0000)]
* gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
* gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
Rename executable to prelinkt.  Don't re-prelink if we didn't
get a core file.  Test prelink -u exit status to tell whether
prelinking failed.  Use gdb_test_multiple.

18 years ago*** empty log message ***
gdbadmin [Tue, 7 Mar 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 6 Mar 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago * include/wingdi.h (CS_*): Correct WINVER guard on
dannysmith [Mon, 6 Mar 2006 21:13:43 +0000 (21:13 +0000)]
* include/wingdi.h (CS_*): Correct WINVER guard on
Image Color Matching colour definitions.

18 years ago * include/shlobj.h (SFGAO_ISSLOW): Define.
dannysmith [Mon, 6 Mar 2006 21:02:55 +0000 (21:02 +0000)]
* include/shlobj.h (SFGAO_ISSLOW): Define.
(SFGAO_DISPLAYATTRMASK): Define in terms of preceding display
attribute constants.

18 years ago * config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
bwilson [Mon, 6 Mar 2006 18:02:06 +0000 (18:02 +0000)]
* config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
even when using the text-section-literals option.

18 years ago * include/wingdi.h [WINVER >= 0x0500]
papadopo [Mon, 6 Mar 2006 14:30:30 +0000 (14:30 +0000)]
* include/wingdi.h  [WINVER >= 0x0500]
(GRADIENT_FILL_*,*_EMBEDED): Included in Windows 2000 and later.
Thanks to: David A. Capello <dacap at users dot sf dot net>

18 years ago * include/wingdi.h [WINVER >= 0x0500]
papadopo [Mon, 6 Mar 2006 14:29:04 +0000 (14:29 +0000)]
* include/wingdi.h  [WINVER >= 0x0500]
(INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later.
Thanks to: David A. Capello <dacap at users dot sf dot net>

18 years ago * include/wingdi.h [WINVER >= 0x0500]
papadopo [Mon, 6 Mar 2006 14:28:35 +0000 (14:28 +0000)]
* include/wingdi.h  [WINVER >= 0x0500]
(INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later.
Thanks to: David A. Capello <dacap at users dot sf dot net>

18 years agomissing changelog entry for my 2006-02-07 patch
nathan [Mon, 6 Mar 2006 13:46:53 +0000 (13:46 +0000)]
missing changelog entry for my 2006-02-07 patch
* m68k.h (m68008, m68ec030, m68882): Remove.
(m68k_mask): New.
(cpu_m68k, cpu_cf): New.
(mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407

18 years ago bfd:
nathan [Mon, 6 Mar 2006 13:42:02 +0000 (13:42 +0000)]
bfd:
* archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
New.  Adjust other variants.
(bfd_default_scan): Update.
* bfd-in2.h: Rebuilt.
* cpu-m68k.c: Adjust.
(bfd_m68k_compatible): New. Use it for architectures.
* elf32-m68k.c (elf32_m68k_object_p): Adjust.
(elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
mismatch.
(elf32_m68k_print_private_bfd_data): Adjust.
* ieee.c (ieee_write_processor): Adjust.

binutils:
* readelf.c (get_machine_flags): Adjust.

gas:
* config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
and cf.
(m68k_ip): <case 'J'> Check we have some control regs.
(md_parse_option): Allow raw arch switch.
(m68k_init_arch): Better detection of arch/cpu mismatch.  Detect
whether 68881 or cfloat was meant by -mfloat.
(md_show_usage): Adjust extension display.
(m68k_elf_final_processing): Adjust.

gas/testsuite:
* gas/m68k/arch-cpu-1.s: Tweak.
* gas/m68k/arch-cpu-1.d: Tweak.

include/elf:
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A,
EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust.
(EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New.
(EF_M68K_HW_DIV, EF_M68K_USP): Remove.
(EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust.
(EF_M68K_EMAC_B): New.

ld/testsuite:
* ld-m68k: New tests.

18 years ago * dwarf2.c: Formatting.
amodra [Mon, 6 Mar 2006 04:52:03 +0000 (04:52 +0000)]
* dwarf2.c: Formatting.
(add_line_info): Remove outer loop.

18 years ago2006-03-05 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 6 Mar 2006 01:36:51 +0000 (01:36 +0000)]
2006-03-05  H.J. Lu  <hongjiu.lu@intel.com>
    Alan Modra  <amodra@bigpond.net.au>

PR binutils/2338
* dwarf2.c (loadable_section): New struct.
(dwarf2_debug): Add loadable_section_count and
loadable_sections.
(new_line_sorts_after): New.
(add_line_info): Use new_line_sorts_after to compare line
addresses.
(check_function_name): Removed.
(unset_sections): New.
(place_sections): New.
(_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
and unset_sections on relocatable files.
(_bfd_dwarf2_find_line): Likewise.

18 years ago*** empty log message ***
gdbadmin [Mon, 6 Mar 2006 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 5 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago* cgen-ibld.in (insert_normal): Cope with attempts to insert a signed 32-bit
nickc [Sun, 5 Mar 2006 08:38:53 +0000 (08:38 +0000)]
* cgen-ibld.in (insert_normal): Cope with attempts to insert a signed 32-bit
  value into an unsigned 32-bit field when the host is a 64-bit machine.

18 years ago2006-03-05 Paul J. Lucas <pauljlucas@users.sourceforge.net>
dannysmith [Sun, 5 Mar 2006 08:31:57 +0000 (08:31 +0000)]
2006-03-05  Paul J. Lucas  <pauljlucas@users.sourceforge.net>

* include/wininet.h (INTERNET_CONNECTED_INFO): Define structure.
(INTERNET_STATE_*): Define flags.
(INTERNET_OPTION_CONNECTED_STATE): Define constant.

18 years ago2006-03-05 Chris Wilson <chris+mingw@qwirx.com>
dannysmith [Sun, 5 Mar 2006 07:49:45 +0000 (07:49 +0000)]
2006-03-05 Chris Wilson <chris+mingw@qwirx.com>

* include/sddl.h: New file.

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

18 years agodaily update
amodra [Sat, 4 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes come
danglin [Sat, 4 Mar 2006 22:11:48 +0000 (22:11 +0000)]
* hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes come
first.  Correct mask of bb "B" opcode.

18 years ago*** empty log message ***
gdbadmin [Sat, 4 Mar 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoIndex: ChangeLog
cagney [Fri, 3 Mar 2006 23:08:11 +0000 (23:08 +0000)]
Index: ChangeLog
2006-03-03  Khem Raj <khem@mvista.com>

* remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
Committed by Andrew Cagney.

18 years agodaily update
amodra [Fri, 3 Mar 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago * dir.cc (opendir): Fix indentation.
corinna [Fri, 3 Mar 2006 20:19:26 +0000 (20:19 +0000)]
* dir.cc (opendir): Fix indentation.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Move storing
fhandler in file descriptor table to some point very late in function
to avoid double free'ing.  Add comment to explain what happens.
Add label free_mounts and don't forget to delete __DIR_mounts structure
if NtOpenFile fails.

18 years ago * dwarf.c (frame_display_row, display_debug_frames): Handle
jakub [Fri, 3 Mar 2006 18:29:40 +0000 (18:29 +0000)]
* dwarf.c (frame_display_row, display_debug_frames): Handle
DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.

18 years agoFix parseing functions to return an error message if the parse failed
nickc [Fri, 3 Mar 2006 15:57:43 +0000 (15:57 +0000)]
Fix parseing functions to return an error message if the parse failed

18 years agoUpdate formatting to ISO-C90
nickc [Fri, 3 Mar 2006 15:54:23 +0000 (15:54 +0000)]
Update formatting to ISO-C90

18 years agoAdd linker relaxation support for the AVR
nickc [Fri, 3 Mar 2006 15:25:29 +0000 (15:25 +0000)]
Add linker relaxation support for the AVR

18 years ago * remote-utils.c (prepare_resume_reply): Move declaration
drow [Fri, 3 Mar 2006 14:48:55 +0000 (14:48 +0000)]
* remote-utils.c (prepare_resume_reply): Move declaration
of gdb_id_from_wait to the top of the block.

18 years ago * regtool.cc (options): Add 'binary'.
corinna [Fri, 3 Mar 2006 09:43:35 +0000 (09:43 +0000)]
* regtool.cc (options): Add 'binary'.
(usage): Document 'load|unload|save' and '-b'.
(find_key): Add 'options' parameter, add load/unload.
(cmd_set): Add KT_BINARY case.
(cmd_get): Add hex output in KT_BINARY case.
(cmd_load): New function.
(cmd_unload): New function.
(set_privilege): New function.
(cmd_save): New function.
(commands): Add load, unload and save.
(main): Add '-b'
* utils.sgml (regtool): Document it.

18 years agold/
rsandifo [Fri, 3 Mar 2006 09:31:57 +0000 (09:31 +0000)]
ld/
* emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
(EXTRA_EM_FILE): Define.
* emultempl/vxworks.em: New file.
* ld.texinfo (--force-dynamic): Document.
* Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
on vxworks.em.
* Makefile.in: Regenerate.

ld/testsuite/
* ld-i386/vxworks1-static.d, ld-i386/vxworks2.s,
* ld-i386/vxworks2.sd, ld-i386/vxworks2-static.sd: New tests.
* ld-i386/i386.exp: Run them.
* ld-powerpc/vxworks1-static.d, ld-powerpc/vxworks2.s,
* ld-powerpc/vxworks2.sd, ld-powerpc/vxworks2-static.sd: New tests.
* ld-powerpc/powerpc.exp: Run them.

18 years ago* m32c/exit.S: Preserve r1.
dj [Fri, 3 Mar 2006 03:20:58 +0000 (03:20 +0000)]
* m32c/exit.S: Preserve r1.

18 years ago* elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
dj [Fri, 3 Mar 2006 03:13:48 +0000 (03:13 +0000)]
* elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
calculations.

18 years agoFix problem with double-stop-bit after itc.i instruction.
wilson [Fri, 3 Mar 2006 01:10:42 +0000 (01:10 +0000)]
Fix problem with double-stop-bit after itc.i instruction.
* config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we
change the template, then clear md.slot[curr].end_of_insn_group.

18 years ago*** empty log message ***
gdbadmin [Fri, 3 Mar 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 2 Mar 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago * syscalls.cc (chroot): Disallow chroot into special directories.
corinna [Thu, 2 Mar 2006 18:08:08 +0000 (18:08 +0000)]
* syscalls.cc (chroot): Disallow chroot into special directories.
Return EPERM instead.

18 years ago2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 2 Mar 2006 16:46:12 +0000 (16:46 +0000)]
2006-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/math/math.tex: Fix reference to sisnan.def which
        is now in common subdirectory.
        * libm/mathfp/mathfp.tex: Ditto.

18 years agoforce null checkin
cgf [Thu, 2 Mar 2006 15:33:12 +0000 (15:33 +0000)]
force null checkin

18 years agold/testsuite/
rsandifo [Thu, 2 Mar 2006 15:16:25 +0000 (15:16 +0000)]
ld/testsuite/
* ld-powerpc/vxworks1.ld: Use a page alignment of 0x10000.
* ld-powerpc/vxworks1.dd: Update accordingly.
* ld-powerpc/vxworks1-lib.nd: Likewise.
* ld-powerpc/vxworks1-lib.rd: Likewise.
* ld-powerpc/vxworks1.rd: Likewise.

18 years ago * fhandler_disk_file.cc (__DIR_mounts::check_missing_mount): Check
corinna [Thu, 2 Mar 2006 09:48:42 +0000 (09:48 +0000)]
* fhandler_disk_file.cc (__DIR_mounts::check_missing_mount): Check
cygdrive string length for those who have cygdrive mapped to "/".

18 years agobfd/
rsandifo [Thu, 2 Mar 2006 09:44:23 +0000 (09:44 +0000)]
bfd/
* elf32-ppc.c (is_ppc_elf_target): Return true if the target is
bfd_elf32_powerpc_vxworks_vec.

ld/testsuite/
* ld-i386/vxworks1.ld (.data): New section.
* ld-i386/vxworks1-lib.s: Add a pointer to a local symbol.
* ld-i386/vxworks1-lib.rd: Test for the associated reloc.
* ld-powerpc/vxworks1.ld (.data): New section.
* ld-powerpc/vxworks1-lib.s: Add a pointer to a local symbol.
* ld-powerpc/vxworks1-lib.rd: Test for the associated reloc.

18 years agoInitialise 'gap'.
nickc [Thu, 2 Mar 2006 09:38:57 +0000 (09:38 +0000)]
Initialise 'gap'.

18 years ago * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
corinna [Thu, 2 Mar 2006 09:31:22 +0000 (09:31 +0000)]
* mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
address to MDR register.

18 years agobfd/
rsandifo [Thu, 2 Mar 2006 08:56:59 +0000 (08:56 +0000)]
bfd/
* elf32-i386.c (elf_i386_create_dynamic_sections): Use
elf_vxworks_create_dynamic_sections.
(elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
symbol handling.
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
elf_vxworks_create_dynamic_sections.
(ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
symbol handling.
* elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
* elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.

ld/testsuite/
* ld-i386/ld-i386/vxworks1-lib.nd: New test.
* ld-i386/i386.exp: Run it.
* ld-powerpc/ld-powerpc/vxworks1-lib.nd: New test.
* ld-powerpc/powerc.exp: Run it.

18 years agold/testsuite/
rsandifo [Thu, 2 Mar 2006 08:54:43 +0000 (08:54 +0000)]
ld/testsuite/
* ld-i386/vxworks1.ld: Use bigger alignments.  Make sure .bss isn't
placed as an orphan.
* ld-i386/vxworks1-lib.dd, ld-i386/vxworks1.dd,
* ld-i386/vxworks1.rd: Update accordingly.
* ld-i386/vxworks1-lib.rd: Likewise.  Remove symbol indexes.

18 years agobfd/
rsandifo [Thu, 2 Mar 2006 08:52:49 +0000 (08:52 +0000)]
bfd/
* elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
(elf_backend_link_output_symbol_hook): Use
elf_vxworks_link_output_symbol_hook instead.
* elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
(elf_backend_link_output_symbol_hook): Use
elf_vxworks_link_output_symbol_hook instead.
* elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
same interface as elf_backend_link_output_symbol_hook.
* elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
prototype accordingly.

18 years agobfd/
rsandifo [Thu, 2 Mar 2006 08:50:03 +0000 (08:50 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_plt_type): New enumeration.
(ppc_elf_link_hash_table): Replace old_got and new_got with
plt_type and can_use_new_plt.
(ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
(ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
(ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
either plt_type == PLT_OLD or plt_type == PLT_NEW.  Assert that
this function should not be called for VxWorks targets.
(ppc_elf_tls_setup): Use plt_type instead of old_got.
(allocate_got): Likewise.  Rearrange so that max_before_header
is only used for PLT_OLD and PLT_NEW.
(allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relax_section): Likewise.
(ppc_elf_relocate_section): Likewise.
(ppc_elf_finish_dynamic_symbol): Likewise.
(ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.

ld/
* emulparams/elf32ppccommon.sh: New file, extracted from...
* emulparams/elf32ppc.sh: ...here.
* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
instead of elf32ppc.sh.
(BSS_PLT): Remove override.
* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
(eelf32ppclinux.c): Likewise.
(eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
* Makefile.in: Regenerate.

ld/testsuite/
* ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
* ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
* ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
* ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
* ld-powerpc/powerpc.exp: Run it.

18 years ago Import from the GCC tree:
bje [Thu, 2 Mar 2006 00:54:27 +0000 (00:54 +0000)]
Import from the GCC tree:
2006-03-01  Jakub Jelinek  <jakub@redhat.com>

* dwarf2.h (DW_TAG_condition, DW_TAG_shared_type): New constants
from DWARF 3.
(DW_AT_description, DW_AT_binary_scale, DW_AT_decimal_scale,
DW_AT_small, DW_AT_decimal_sign, DW_AT_digit_count,
DW_AT_picture_string, DW_AT_mutable, DW_AT_threads_scaled,
DW_AT_explicit, DW_AT_object_pointer, DW_AT_endianity,
DW_AT_elemental, DW_AT_pure, DW_AT_recursive): New.
(DW_OP_form_tls_address, DW_OP_call_frame_cfa, DW_OP_bit_piece): New.
(DW_ATE_packed_decimal, DW_ATE_numeric_string, DW_ATE_edited,
DW_ATE_signed_fixed, DW_ATE_unsigned_fixed): New.
(DW_DS_unsigned, DW_DS_leading_overpunch, DW_DS_trailing_overpunch,
DW_DS_leading_separate, DW_DS_trailing_separate): New.
(DW_END_default, DW_END_big, DW_END_little): New.
(DW_END_lo_user, DW_END_hi_user): Define.
(DW_LNE_lo_user, DW_LNE_hi_user): Define.
(DW_CFA_val_offset, DW_CFA_val_offset_sf, DW_CFA_val_expression): New.
(DW_LANG_PLI, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_UPC,
DW_LANG_D): New.

18 years ago*** empty log message ***
gdbadmin [Thu, 2 Mar 2006 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME
corinna [Wed, 1 Mar 2006 23:14:25 +0000 (23:14 +0000)]
* sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME
privileges.

18 years agodaily update
amodra [Wed, 1 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * fhandler_proc.cc (fhandler_proc::fstat): Always return fixed link
corinna [Wed, 1 Mar 2006 22:56:12 +0000 (22:56 +0000)]
* fhandler_proc.cc (fhandler_proc::fstat): Always return fixed link
count of 1 for /proc directory instead of incorrect PROC_LINK_COUNT.

18 years ago * fhandler.h (enum dirent_states): Remove dirent_saw_cygdrive,
corinna [Wed, 1 Mar 2006 22:37:25 +0000 (22:37 +0000)]
* fhandler.h (enum dirent_states): Remove dirent_saw_cygdrive,
dirent_saw_dev and dirent_saw_proc.
(fhandler_cygdrive::open): Declare.
(fhandler_cygdrive::close): Declare.
* fhandler_disk_file.cc (class __DIR_mounts): Move to beginning of file.
(__DIR_mounts::check_mount): New parameter to indicate if inode number
is needed in calling function or not. Add /proc and /cygdrive handling.
(__DIR_mounts::check_missing_mount): Ditto.
(path_conv::ndisk_links): Use __DIR_mounts class to create correct
hardlink count for directories with mount points in them.
(fhandler_disk_file::readdir_helper): Remove /dev, /proc and /cygdrive
handling.
(fhandler_cygdrive::open): New method.
(fhandler_cygdrive::close): New method.
(fhandler_cygdrive::fstat): Always return fixed inode number 2 and
fixed link count of 1. Drop call to set_drives.
(fhandler_cygdrive::opendir): Drop call to get_namehash.
(fhandler_cygdrive::readdir): Handle "." entry to return fixed inode
number 2.

18 years ago* cygwin.din: Fix some erroneous SIGFE/NOSIGFE settings.
cgf [Wed, 1 Mar 2006 21:31:24 +0000 (21:31 +0000)]
* cygwin.din: Fix some erroneous SIGFE/NOSIGFE settings.
* cygthread.cc (cygthread::callfunc): Revert below change.  Make ev a manual
reset event again.  so that it will be reset by WaitFor*Object as appropriate.
(cygthread::stub): Ditto.
(cygthread::terminate_thread): Reset ev if it was found to have been set.

18 years ago* DLLEXPORT decoration tweak, from Rex Sung-Tien Cho <song10@andestech.com>
fche [Wed, 1 Mar 2006 21:07:00 +0000 (21:07 +0000)]
* DLLEXPORT decoration tweak, from Rex Sung-Tien Cho <song10@andestech.com>

18 years ago* analyze_sigfe: New script.
cgf [Wed, 1 Mar 2006 20:20:21 +0000 (20:20 +0000)]
* analyze_sigfe: New script.
* dllfixdbg: Add copyright.
* gendef: Ditto.
* gendevices: Ditto.
* gentls_offsets: Ditto.

18 years agogdb/
drow [Wed, 1 Mar 2006 19:34:45 +0000 (19:34 +0000)]
gdb/
* gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
calls.
gdb/testsuite/
* gdb.cp/inherit.exp (test_print_mi_member_types): New function.
(do_tests): Call it.

18 years ago* cygthread.cc (cygthread::callfunc): Create ev as an auto-reset event so that
cgf [Wed, 1 Mar 2006 18:23:23 +0000 (18:23 +0000)]
* cygthread.cc (cygthread::callfunc): Create ev as an auto-reset event so that
it will be reset by WaitFor*Object as appropriate.
(cygthread::stub): Ditto.
(cygthread::terminate_thread): Remove forced setting of thread termination.

18 years ago2006-03-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 1 Mar 2006 17:40:34 +0000 (17:40 +0000)]
2006-03-01  H.J. Lu  <hongjiu.lu@intel.com>

PR libgcj/17311
* ltmain.sh: Don't use "$finalize_rpath" for compile.

18 years ago * include/sys/dirent.h (struct __DIR): Rename __d_unused to
corinna [Wed, 1 Mar 2006 13:47:49 +0000 (13:47 +0000)]
* include/sys/dirent.h (struct __DIR): Rename __d_unused to
__d_internal.
* fhandler_disk_file.cc (struct __DIR_cache): Remove useless "typedef".
(d_dirname): Remove useless "struct".
(d_cachepos): Ditto.
(d_cache): Ditto.
(class __DIR_mounts): New class, implementing mount point tracking
for readdir.
(d_mounts): New macro for easy access to __DIR_mounts structure.
(fhandler_disk_file::opendir): Allocate __DIR_mounts structure and
let __d_internal element of dir point to it.
(fhandler_disk_file::readdir_helper): Add mount points in the current
directory, which don't have a real directory backing them.
Don't generate an inode number for /dev.  Add comment, why.
(fhandler_disk_file::readdir): Move filling fname to an earlier point.
Check if current entry is a mount point and evaluate correct inode
number for it.
(fhandler_disk_file::readdir_9x): Ditto.
(fhandler_disk_file::rewinddir): Set all mount points in this directory
to "not found" so that they are listed again after calling rewinddir().
(fhandler_disk_file::closedir): Deallocate __DIR_mounts structure.
* path.cc (mount_info::get_mounts_here): New method to evaluate a list
of mount points in a given parent directory.
* shared_info.h (class mount_info): Declare get_mounts_here.

18 years agoUpdate information about: config-ml.in; makefile.vms; mkdep; setup.com;
nickc [Wed, 1 Mar 2006 10:25:01 +0000 (10:25 +0000)]
Update information about: config-ml.in; makefile.vms; mkdep; setup.com;
etc/; intl/; utils/; compile; depcomp; install-sh; missing; ylwrap;
config/

18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
tausq [Wed, 1 Mar 2006 05:47:45 +0000 (05:47 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* somread.c (som_symfile_read): Update comment and remove unneeded
use of a deprecated variable.

18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
tausq [Wed, 1 Mar 2006 05:43:03 +0000 (05:43 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (unwind_table_entry): Update field names to match HP
runtime specification.
* hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
(unwind_command): Likewise.

18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
tausq [Wed, 1 Mar 2006 05:22:38 +0000 (05:22 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
Pseudo_SP_Set in unwind record.

18 years ago2006-03-01 Randolph Chung <tausq@debian.org>
tausq [Wed, 1 Mar 2006 05:19:11 +0000 (05:19 +0000)]
2006-03-01  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
TDEP->is_elf to determine if we are working with a SOM binary.
(null_symtab_and_line): Remove unused variable.
* config/pa/hppa64.mt: Use tm-hppa.h.
* config/pa/tm-hppa64.h: Remove file.

18 years ago * f-typeprint.c (f_type_print_base): Delete the redundant space.
woodzltc [Wed, 1 Mar 2006 01:37:25 +0000 (01:37 +0000)]
* f-typeprint.c (f_type_print_base): Delete the redundant space.

18 years ago*** empty log message ***
gdbadmin [Wed, 1 Mar 2006 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 28 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoAdd am33 linux signal frame support.
kevinb [Tue, 28 Feb 2006 22:38:03 +0000 (22:38 +0000)]
Add am33 linux signal frame support.

18 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack
kevinb [Tue, 28 Feb 2006 22:28:17 +0000 (22:28 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue):  Implement backtrack
out of pattern match by saving relevant state.  Fix stack size
adjustment bug.

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Use iscygdrive
corinna [Tue, 28 Feb 2006 20:26:51 +0000 (20:26 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Use iscygdrive
instead of isspecial.
* path.h (path_conv::iscygdrive): New method.

18 years ago* exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check since
cgf [Tue, 28 Feb 2006 20:02:16 +0000 (20:02 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check since
some cygwin functions are meant to be interrupted.

18 years ago* objcopy.c (use_alt_mach_code): Change type to unsigned long.
nickc [Tue, 28 Feb 2006 16:09:01 +0000 (16:09 +0000)]
* objcopy.c (use_alt_mach_code): Change type to unsigned long.
   (copy_object):  If bfd_alt_mach_code fails emit a more helpful message
   and if the target architecture is ELF use the alternative as replacement
   value for the e_machine number.
   (copy_main): Use strtoul to parse the number provided with the
   --alt-mach-code switch.
* doc/binutils.texi (--alt-mach-code): Document that this switch can now
    set the absolute e_machine value.

18 years ago * cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand.
corinna [Tue, 28 Feb 2006 15:32:48 +0000 (15:32 +0000)]
* cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand.
* include/cygwin/version.h: Bump API minor number to 155.

18 years ago * dir.cc (readdir_worker): Use slash as path separator when evaluating
corinna [Tue, 28 Feb 2006 12:20:11 +0000 (12:20 +0000)]
* dir.cc (readdir_worker): Use slash as path separator when evaluating
namehash for paths below /proc.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Use expensive
inode number evaluation on share names.

18 years agogas/
jbeulich [Tue, 28 Feb 2006 07:57:09 +0000 (07:57 +0000)]
gas/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

* macro.c (get_any_string): Don't insert quotes for <>-quoted input.

gas/testsuite/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

* gas/all/altmacro.s: Adjust.
* gas/all/altmac2.s: Adjust.

18 years agogas/
jbeulich [Tue, 28 Feb 2006 07:55:33 +0000 (07:55 +0000)]
gas/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

PR/1070
* macro.c (getstring): Don't treat parentheses special anymore.
(get_any_string): Don't consider '(' and ')' as quoting anymore.
Special-case '(', ')', '[', and ']' when dealing with non-quoting
characters.

gas/testsuite/
2006-02-28  Jan Beulich  <jbeulich@novell.com>

* gas/macros/paren[sd]: New.
* gas/macros/macros.exp: Run new test.

18 years agold/testsuite/
rsandifo [Tue, 28 Feb 2006 07:17:32 +0000 (07:17 +0000)]
ld/testsuite/
* ld-i386/vxworks1-lib.s, ld-i386/vxworks1-lib.dd,
* ld-i386/vxworks1-lib.rd, ld-i386/vxworks1.s, ld-i386/vxworks1.dd,
* ld-i386/vxworks1.rd, ld-i386/vxworks1.ld: New test.
* ld-i386/i386.exp: Run it.

18 years agobfd/
rsandifo [Tue, 28 Feb 2006 07:16:10 +0000 (07:16 +0000)]
bfd/
* elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
(elf_i386_link_hash_table_create): Initialize it.
(elf_i386_compute_jump_table_size): Use it instead of
srelplt->reloc_count.
(allocate_dynrelocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.

ld/testsuite/
* ld-i386/emit-relocs.s, ld-i386/emit-relocs.d: New test.
* ld-i386/i386.exp: Run it.

18 years agogdb/ChangeLog:
aoliva [Tue, 28 Feb 2006 04:29:10 +0000 (04:29 +0000)]
gdb/ChangeLog:
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
l_ld_size fields.
* solib-svr4.c (struct lm_info): Add l_addr field.
(LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_ADDR_CHECK): New.  Use it instead of LM_ADDR.
(svr4_current_sos): Initialize l_addr.  Adjust.
(svr4_relocate_section_addresses): Adjust.
(svr4_ilp32_fetch_link_map_offsets): Define new members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: New test.
* gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.

18 years agogdb/ChangeLog:
aoliva [Tue, 28 Feb 2006 04:28:46 +0000 (04:28 +0000)]
gdb/ChangeLog:
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
l_ld_size fields.
* solib-svr4.c (struct lm_info): Add l_addr field.
(LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_ADDR_CHECK): New.  Use it instead of LM_ADDR.
(svr4_current_sos): Initialize l_addr.  Adjust.
(svr4_relocate_section_addresses): Adjust.
(svr4_ilp32_fetch_link_map_offsets): Define new members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: New test.
* gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Only set d_cachepos
cgf [Tue, 28 Feb 2006 04:23:16 +0000 (04:23 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Only set d_cachepos
under NT or suffer memory corruption.
(fhandler_disk_file::readdir_helper): Avoid else with a return.  Just calculate
extension location once when doing symlink checks.
(fhandler_disk_file::readdir): Make debug output more useful.
(fhandler_disk_file::readdir_9x): Ditto.  Eliminate redundant variable.

18 years ago* include/sys/termios.h (cfsetispeed): Just define as a function rather than
cgf [Tue, 28 Feb 2006 01:31:04 +0000 (01:31 +0000)]
* include/sys/termios.h (cfsetispeed): Just define as a function rather than
resorting to a macro.
(cfsetospeed): Ditto.

18 years ago* sigproc.cc: Fix a comment.
cgf [Tue, 28 Feb 2006 01:28:28 +0000 (01:28 +0000)]
* sigproc.cc: Fix a comment.