OSDN Git Service
amodra [Wed, 15 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update
amodra [Wed, 15 Nov 2006 21:47:49 +0000 (21:47 +0000)]
* symbols.c (resolve_symbol_value): Formatting.
jjohnstn [Wed, 15 Nov 2006 20:10:25 +0000 (20:10 +0000)]
2006-11-15 Till Straumann <strauman@slac.stanford.edu>
* libc/time/tzset_r.c (_tzset_r): Initialize local variable.
jbeulich [Wed, 15 Nov 2006 15:59:24 +0000 (15:59 +0000)]
gas/
2006-11-15 Jan Beulich <jbeulich@novell.com>
PR/3469
* symbols.c (symbol_clone): Mark symbol ending up not on symbol
chain by linking it to itself.
(resolve_symbol_value): Also check symbol_shadow_p().
(symbol_shadow_p): New.
* symbols.h (symbol_shadow_p): Declare.
gas/testsuite/
2006-11-15 Jan Beulich <jbeulich@novell.com>
* gas/elf/equ-reloc.[sd]: New.
* gas/elf/elf.exp: Run new test.
nickc [Wed, 15 Nov 2006 15:18:04 +0000 (15:18 +0000)]
Add changelog entry for previous delta
gdbadmin [Wed, 15 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
dj [Tue, 14 Nov 2006 23:26:38 +0000 (23:26 +0000)]
* Makefile.tpl (clean-stage*): Sync with GCC (clean).
* Makefile.in: Sync with GCC.
* configure.in: Sync with GCC (mpfr, gmp).
* configure: Sync with GCC.
amodra [Tue, 14 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update
drow [Tue, 14 Nov 2006 21:53:58 +0000 (21:53 +0000)]
2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
* NEWS: New port to Xtensa.
* Makefile.in: Add dependencies for Xtensa files.
* configure.tgt (xtensa*, xtensa*-*-elf*): New.
* configure.host (xtensa*-*-elf*): New.
* config/xtensa/xtensa.mt: New file.
* xtensa-config.c: New file.
* xtensa-tdep.h: New file.
* xtensa-tdep.c: New file.
2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
* gdb.texinfo (Contributors): Add contributors of Xtensa port.
drow [Tue, 14 Nov 2006 21:40:18 +0000 (21:40 +0000)]
gdb/
* remote.c (set_remote_cmd): Call help_list.
(show_remote_cmd): Skip legacy aliases. Handle non-show_cmd
entries. Add missed cleanup.
* cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
gdb/doc/
* gdb.texinfo (Remote configuration): Rewrite documentation for
packet configuration commands.
(OS Information): Adjust reference to qXfer:auxv:read.
(General Query Packets): Remove references to read-aux-vector-packet
and set remote get-thread-local-storage-address.
jjohnstn [Tue, 14 Nov 2006 21:29:26 +0000 (21:29 +0000)]
2006-11-14 Eric Blake <ebb9@byu.net>
* libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
(chclass): ' is a flag. j, t, and z are modifiers.
iant [Tue, 14 Nov 2006 19:21:05 +0000 (19:21 +0000)]
More dynamic object support, initial scripting support.
nickc [Tue, 14 Nov 2006 19:03:32 +0000 (19:03 +0000)]
* peXXigen.c: Updates for PE/COFF V8.0, and clarification
(dir_names): Added CLR Runtime Header to dir_names[].
(_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX subsystem names
(_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out)
(pe_print_idata, pe_print_edata)
(_bfd_XX_bfd_copy_private_bfd_data_common)
(_bfd_XXi_final_link_postscript): Use #DEFINEs for index into DataDirectory.
* pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and IMAGE_SUBSYSTEM_XBOX.
* internal.h: Added defines for PE directory entry types.
NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in pe.h
shinwell [Tue, 14 Nov 2006 12:21:12 +0000 (12:21 +0000)]
gas/
* config/tc-arm.c (do_t_czb): Rename to do_t_cbz.
(insns): Adjust accordingly.
(md_apply_fix): Alter comments to use CBZ instead of CZB.
drow [Tue, 14 Nov 2006 03:32:36 +0000 (03:32 +0000)]
* tls.m4 (GCC_CHECK_TLS): Fall back to a link test.
geoffk [Tue, 14 Nov 2006 02:04:57 +0000 (02:04 +0000)]
Merge ChangeLog and multi.m4 from GCC repository.
gdbadmin [Tue, 14 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 13 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update
drow [Mon, 13 Nov 2006 21:18:35 +0000 (21:18 +0000)]
* ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack.
* ld-arm/armthumb-lib.d, ld-arm/mixed-app.d, ld-arm/mixed-lib.d:
Allow smaller section gap.
* ld-arm/armthumb-lib.sym, ld-arm/mixed-lib.sym: Reorder. Remove
_stack.
* ld-arm/mixed-app.sym: Remove _stack.
* ld-arm/tls-app.d: Update start address.
drow [Mon, 13 Nov 2006 20:39:20 +0000 (20:39 +0000)]
bfd/
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
prototype.
(bfd_elf32_arm_set_byteswap_code): New prototype.
* bfd-in2.h: Regenerate.
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Don't take
byteswap_code as an argument. Revert 2006-11-01 change.
(bfd_elf32_arm_set_byteswap_code): New.
(elf32_arm_size_dynamic_sections): Call
bfd_elf32_arm_process_before_allocation.
ld/
* emultempl/armelf.em (arm_elf_before_allocation): Only call
bfd_elf32_arm_process_before_allocation if no dynamic sections.
drow [Mon, 13 Nov 2006 19:05:50 +0000 (19:05 +0000)]
Fix last entry.
pgilliam [Mon, 13 Nov 2006 18:50:11 +0000 (18:50 +0000)]
Fixed up some indentation introduced by my last pactch.
pgilliam [Mon, 13 Nov 2006 17:37:36 +0000 (17:37 +0000)]
Fix sigtramp cache code so that PPC register are read only if there is H/W.
fred [Mon, 13 Nov 2006 09:33:30 +0000 (09:33 +0000)]
2006-11-13 Denis Pilat <denis.pilat@st.com>
* terminal.c (_rl_get_screen_size): use wr and wc variable to store
window size.
dannysmith [Mon, 13 Nov 2006 02:11:45 +0000 (02:11 +0000)]
2006-11-13 Daniel Schlyder <thrug@users.sourceforge.net>
* include/winnt.h (VER_SUITE_EMBEDDEDNT, VER_SUITE_SINGLEUSERTS,
VER_SUITE_STORAGE_SERVER, VER_SUITE_COMPUTE_SERVER): Define.
* include/winuser.h (SM_STARTER, SM_SERVERR2): Define.
gdbadmin [Mon, 13 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 12 Nov 2006 22:58:49 +0000 (22:58 +0000)]
daily update
bjh21 [Sun, 12 Nov 2006 11:06:30 +0000 (11:06 +0000)]
* arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.
gdbadmin [Sun, 12 Nov 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 11 Nov 2006 22:58:50 +0000 (22:58 +0000)]
daily update
gdbadmin [Sat, 11 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 10 Nov 2006 22:58:51 +0000 (22:58 +0000)]
daily update
hjl [Fri, 10 Nov 2006 20:52:03 +0000 (20:52 +0000)]
2006-11-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/merom.d: Use "#pass" instead of "#..." to skip the
rest of output.
* gas/i386/x86-64-merom.d: Likewise.
drow [Fri, 10 Nov 2006 20:11:34 +0000 (20:11 +0000)]
* frame.c (frame_register_unwind_location): New function.
(get_prev_frame_1): Check for UNWIND_NO_SAVED_PC.
(frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC.
* frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC.
drow [Fri, 10 Nov 2006 19:20:35 +0000 (19:20 +0000)]
gdb/
* arch-utils.c (target_byte_order_user): Renamed from
target_byte_order.
(target_byte_order_auto, selected_byte_order): Removed.
(show_endian): Check target_byte_order_user.
(set_endian): Always update the architecture. Set
target_byte_order_user after success.
(target_architecture_auto): Removed.
(target_architecture_user): New.
(selected_architecture_name, show_architecture): Check it.
(set_architecture): Set target_architecture_user after success.
(gdbarch_from_bfd): Check the argument.
(default_byte_order): New.
(initialize_current_architecture): Set the global default
architecture and endianness.
(gdbarch_info_fill): Remove GDBARCH argument. Do not check the
previous architecture. Use exec_bfd, global selected architecture
and endianness, and global defaults.
* arch-utils.h (selected_byte_order): Remove prototype.
(gdbarch_info_fill): Update.
* exec.c (exec_file_attach): Update the architecture after removing
the current file.
* gdbarch.sh: Update comments.
(find_arch_by_info): Remove OLD_GDBARCH argument. Update call to
gdbarch_info_fill.
(gdbarch_find_by_info): Update call to find_arch_by_info.
* gdbarch.h, gdbarch.c: Regenerated.
* remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
gdb/doc/
* gdbint.texinfo (Target Architecture Definition): Add new
Initializing a New Architecture section.
vprus [Fri, 10 Nov 2006 16:58:52 +0000 (16:58 +0000)]
2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/completion.exp: Fix completion tests for
'info' and 'info '.
* gdb.base/help.exp (help_test_raw, test_class_help)
(test_prefix_command_help): Move...
* lib/gdb.exp: Here.
* gdb.base/main.exp: Adjust.
* gdb.cp/maint.exp: Adjust.
* gdb.trace/tracecmd.exp: Use test_help_class.
ths [Fri, 10 Nov 2006 14:37:33 +0000 (14:37 +0000)]
* config.bfd (mips*el-sde-elf*, mips*-sde-elf*): Drop ECOFF support
for SDE configs.
ths [Fri, 10 Nov 2006 14:15:52 +0000 (14:15 +0000)]
* gas/cfi/cfi.exp: Don't run cfi-common-6 for mips*-*.
nickc [Fri, 10 Nov 2006 09:32:41 +0000 (09:32 +0000)]
* config/tc-arm.c (arm_fix_adjustable) [OBJ_COFF]: Delete.
(arm_fix_adjustable) [OBJ_ELF]: Use it on coff targets too.
* gas/arm/local_label_coff.s: New test.
* gas/arm/local_label_coff.d: New test.
* gas/arm/local_label_elf.s: New test.
* gas/arm/local_label_elf.d: New test.
* gas/arm/local_label_wince.s: New test.
* gas/arm/local_label_wince.d: New test.
nickc [Fri, 10 Nov 2006 07:53:31 +0000 (07:53 +0000)]
* config.bfd: Move previously obsoleted targets to the REMOVED list.
Add maxq-*-coff to the obsolete list.
nickc [Fri, 10 Nov 2006 07:47:14 +0000 (07:47 +0000)]
PR gas/3456:
* config/obj-elf.c (obj_elf_version): Do not include the name field's padding in the namesz value.
nickc [Fri, 10 Nov 2006 07:35:17 +0000 (07:35 +0000)]
* pe-arm-wince.c (LOCAL_LABEL_PREFIX): Define as ".".
* pei-arm-wince.c (LOCAL_LABEL_PREFIX): Likewise.
* coff-arm.c (LOCAL_LABEL_PREFIX): Only define if not defined before.
* gas/arm/undefined.d: Run test on Windows CE.
* gas/arm/undefined_coff.d: Don't run test on Windows CE.
kseitz [Fri, 10 Nov 2006 07:10:40 +0000 (07:10 +0000)]
* help/trace/locals.html: Remove all references to gdb.ini. Even
Cygwin now uses .gdbinit.
* help/trace/watch.html: Likewise.
hjl [Fri, 10 Nov 2006 03:54:11 +0000 (03:54 +0000)]
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (print_insn): Check PREFIX_REPNZ before
PREFIX_DATA when prefix user table is used.
hjl [Fri, 10 Nov 2006 02:13:40 +0000 (02:13 +0000)]
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (twobyte_uses_SSE_prefix): Renamed to ...
(twobyte_uses_DATA_prefix): This.
(twobyte_uses_REPNZ_prefix): New.
(twobyte_uses_REPZ_prefix): Likewise.
(threebyte_0x38_uses_DATA_prefix): Likewise.
(threebyte_0x38_uses_REPNZ_prefix): Likewise.
(threebyte_0x38_uses_REPZ_prefix): Likewise.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(threebyte_0x3a_uses_REPNZ_prefix): Likewise.
(threebyte_0x3a_uses_REPZ_prefix): Likewise.
(print_insn): Updated checking usages of DATA/REPNZ/REPZ
prefixes.
jimb [Fri, 10 Nov 2006 01:12:24 +0000 (01:12 +0000)]
Fix garbled ChangeLog entry.
gdbadmin [Fri, 10 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Thu, 9 Nov 2006 23:29:19 +0000 (23:29 +0000)]
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/sse2.s: Test movdqa with memory destination.
* gas/i386/sse2.d: Updated.
hjl [Thu, 9 Nov 2006 23:09:42 +0000 (23:09 +0000)]
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/sse2.s: Test movdqu with memory destination.
* gas/i386/sse2.d: Updated.
amodra [Thu, 9 Nov 2006 22:58:52 +0000 (22:58 +0000)]
daily update
vprus [Thu, 9 Nov 2006 19:31:14 +0000 (19:31 +0000)]
2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
* gdb.stabs/weird.exp (print_weird_var): Use
gdb_test_multiple instead of gdb_expect.
vprus [Thu, 9 Nov 2006 19:26:45 +0000 (19:26 +0000)]
Move changelog entry to the right place
vprus [Thu, 9 Nov 2006 19:22:11 +0000 (19:22 +0000)]
2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/help.exp (help_test_raw): New.
(test_class_help): New.
(test_prefix_command_help): New.
Adjust testcases.
brobecke [Thu, 9 Nov 2006 16:36:58 +0000 (16:36 +0000)]
* sparc-tdep.c (sparc_fetch_instruction): Read instruction
using read_memory_nobpt.
jjohnstn [Thu, 9 Nov 2006 16:25:54 +0000 (16:25 +0000)]
2006-11-08 Jie Zhang <jie.zhang@analog.com>
* configure.in: Remove target-libgloss from noconfigdirs for
bfin-*-*.
* configure: Regenerated.
jjohnstn [Thu, 9 Nov 2006 16:24:43 +0000 (16:24 +0000)]
Change Jie Zhang's e-mail address to work address.
jjohnstn [Thu, 9 Nov 2006 16:24:06 +0000 (16:24 +0000)]
Change Jie Zhang's e-mail address to work e-mail.
corinna [Thu, 9 Nov 2006 15:24:34 +0000 (15:24 +0000)]
* autoload.cc (EqualPrefixSid): Define.
* security.cc (create_token): Drop grps_buf. Use alloca instead.
Only add the MIC SID to the TOKEN_GROUPS list for the NtCreateToken
call. If the subauthentication token exists, use its MIC SID.
Set SID Attributes for the MIC SID to 0.
ths [Thu, 9 Nov 2006 13:04:39 +0000 (13:04 +0000)]
* config/tc-mips.c: Fix outdated comment.
fred [Thu, 9 Nov 2006 09:20:17 +0000 (09:20 +0000)]
2006-11-09 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/constvars.c (main): Write to crass and crips, so that
they are allocated by the compiler.
gdbadmin [Thu, 9 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 8 Nov 2006 22:58:53 +0000 (22:58 +0000)]
daily update
dannysmith [Wed, 8 Nov 2006 21:58:18 +0000 (21:58 +0000)]
[ mingw-Bugs-
1590623 ]
* include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
in C99 mode.
jjohnstn [Wed, 8 Nov 2006 20:28:29 +0000 (20:28 +0000)]
2006-11-08 Jie Zhang <jzhang918@gmail.com>
* configure.in: Remove target-libgloss from noconfigdirs for
bfin-*-*.
* configure: Regenerated.
hjl [Wed, 8 Nov 2006 19:56:02 +0000 (19:56 +0000)]
gas/
2006-11-08 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h (CpuPNI): Removed.
(CpuUnknownFlags): Replace CpuPNI with CpuSSE3.
* config/tc-i386.c (md_assemble): Likewise.
include/opcode/
2006-11-08 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Replace CpuPNI with CpuSSE3.
jjohnstn [Wed, 8 Nov 2006 19:36:55 +0000 (19:36 +0000)]
2006-11-08 Jie Zhang <jzhang918@gmail.com>
* bfin/configure.in: New.
* bfin/crt0.S: New.
* bfin/Makefile.in: New.
* bfin/syscalls.c: New.
* bfin/aclocal.m4: Generate.
* bfin/configure: Ditto.
* configure.in: Add support for bfin-*-*.
* configure: Regenerate.
* syscall.h (SYS_argc): Define.
(SYS_argnlen): Define.
(SYS_argn): Define.
jjohnstn [Wed, 8 Nov 2006 19:26:43 +0000 (19:26 +0000)]
2006-11-08 Jie Zhang <jzhang918@gmail.com>
* configure.host: Add support for bfin.
* libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
* libc/include/machine/setjmp.h: Define _JBLEN for bfin.
* libc/machine/bfin/aclocal.m4: Generate.
* libc/machine/bfin/configure.in: New.
* libc/machine/bfin/configure: Generate.
* libc/machine/bfin/Makefile.am: New.
* libc/machine/bfin/Makefile.in: Generate.
* libc/machine/bfin/setjmp.S: New.
* libc/machine/bfin/longjmp.S: New.
* libc/machine/configure.in: Add bfin support.
* libc/machine/configure: Generate.
dj [Wed, 8 Nov 2006 19:09:26 +0000 (19:09 +0000)]
merge from gcc
vprus [Wed, 8 Nov 2006 16:18:58 +0000 (16:18 +0000)]
2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
* pex-win32.c (no_suffixes): Remove.
(std_suffixes): Add "" as first element.
(find_executable): Remove detection of already-present
extension. Try all suffixes in std_suffixes.
ths [Wed, 8 Nov 2006 12:00:11 +0000 (12:00 +0000)]
* basic.exp: Fix spelling in comment. Use canonical form of target
patterns. Run DSP test only for DSP-capable ISAs. Check also mips32r2
and mips64r2 if supported by the target.
corinna [Wed, 8 Nov 2006 11:38:05 +0000 (11:38 +0000)]
* sec_helper.cc (sid_auth): Remove.
(well_known_this_org_sid): New well known sid.
(SECURITY_MANDATORY_INTEGRITY_AUTHORITY): Define.
(mandatory_medium_integrity_sid): New well known sid.
(mandatory_high_integrity_sid): Ditto.
(mandatory_system_integrity_sid): Ditto.
(cygsid::get_sid): Use local SID_IDENTIFIER_AUTHORITY. Allow all
authorities fitting in a UCHAR.
* security.cc (get_token_group_sidlist): Always add the local
group to the token. Add comment. Add "This Organization" group
if available in incoming group list.
(get_server_groups): Only add world and authenticated users groups
if not already in list.
(create_token): Add matching mandatory integrity SID to group list
on systems supporting Mandatory Integrity Control.
* security.h (well_known_this_org_sid): Define.
(mandatory_medium_integrity_sid): Define.
(mandatory_high_integrity_sid): Define.
(mandatory_system_integrity_sid): Define.
* wincap.h: Define has_mandatory_integrity_control throughout.
* wincap.cc: Ditto.
amodra [Wed, 8 Nov 2006 11:29:15 +0000 (11:29 +0000)]
ld/
* emultempl/elf32.em (gld*_before_allocation): Adjust output section
size for warning sections.
ld/testsuite/
* ld-elf/group.ld: Handle .rodata.brlt for powerpc64.
vprus [Wed, 8 Nov 2006 10:21:11 +0000 (10:21 +0000)]
2006-11-07 Vladimir Prus <vladimir@codesourcery.com>
* testsuite/ld-elf/symbol2w.s: Use "%" instead
of "@" to avoid breakage on ARM.
amodra [Wed, 8 Nov 2006 06:31:39 +0000 (06:31 +0000)]
* symbols.c (symbol_create, symbol_clone): Don't set udata.p.
gdbadmin [Wed, 8 Nov 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
daney [Tue, 7 Nov 2006 23:55:36 +0000 (23:55 +0000)]
gas:
* config/tc-mips.c (pic_need_relax): Return true for section symbols.
gas/testsuite:
* gas/mips/elf-rel26.s: New test.
* gas/mips/elf-rel26.d: Ditto.
* gas/mips/mips.exp: Run it.
amodra [Tue, 7 Nov 2006 22:58:54 +0000 (22:58 +0000)]
daily update
brolley [Tue, 7 Nov 2006 21:12:08 +0000 (21:12 +0000)]
2006-11-07 Dave Brolley <brolley@redhat.com>
* sid-model.scm (gen-model-unit-fn-decl): Use symbol->string where
necessary.
ths [Tue, 7 Nov 2006 19:29:59 +0000 (19:29 +0000)]
* gentmap.c: Fix compile time warning.
ths [Tue, 7 Nov 2006 19:07:41 +0000 (19:07 +0000)]
* sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
for bfd text addresses.
iant [Tue, 7 Nov 2006 18:51:39 +0000 (18:51 +0000)]
Add Elf_file interface which can be used by both Sized_relobj and
Sized_dynobj.
corinna [Tue, 7 Nov 2006 17:59:53 +0000 (17:59 +0000)]
* fhandler.cc (check_posix_perm): Moved here from syscalls.cc.
(fhandler_base::fpathconf): New method implementing (f)pathconf.
* fhandler.h (class fhandler_base): Declare fpathconf method.
* path.cc (path_conv::check): Replace MAX_LINK_DEPTH with SYMLOOP_MAX.
* path.h (MAX_LINK_DEPTH): Delete.
* syscalls.cc (check_posix_perm): Move to fhandler.cc.
(fpathconf): Call fhandler's fpathconf method.
(pathconf): Build fhandler and call fhandler's fpathconf method.
* sysconf.cc (sysconf): Reorder switch according to order of flags
in sys/unistd.h. Add handling for some missing flags.
* include/limits.h: Reorder according to SUSv3 description. Add some
missing definitions. Add comments.
* include/sys/syslimits.h: New file overriding newlib's syslimits.h
file.
corinna [Tue, 7 Nov 2006 15:33:39 +0000 (15:33 +0000)]
* libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
(_PC_FILESIZEBITS): Add definition.
(_PC_2_SYMLINKS): Ditto.
(_PC_SYMLINK_MAX): Ditto.
jules [Tue, 7 Nov 2006 15:17:40 +0000 (15:17 +0000)]
* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.
ths [Tue, 7 Nov 2006 14:59:49 +0000 (14:59 +0000)]
* dsp.igen (do_w_op): Fix compiler warning.
drow [Tue, 7 Nov 2006 14:57:43 +0000 (14:57 +0000)]
* elf32-arm.c (find_thumb_glue): Add ERROR_MESSAGE argument; set it
on error.
(find_arm_glue): Likewise.
(elf32_thumb_to_arm_stub, elf32_arm_create_thumb_stub)
(elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate): Add
ERROR_MESSAGE argument and pass it through.
(elf32_arm_to_thumb_export_stub): Update.
(elf32_arm_relocate_section): Use ERROR_MESSAGE and reloc_dangerous.
iant [Tue, 7 Nov 2006 04:40:46 +0000 (04:40 +0000)]
Rework stringpool and hash tables so that we always generate the same
output regardless of randomize_va_space.
amodra [Tue, 7 Nov 2006 03:34:51 +0000 (03:34 +0000)]
* elf64-ppc.c (enum _ppc64_sec_type): New.
(struct _ppc64_elf_section_data): Move "t_symndx" into opd union,
and rename fields. Add sec_type and has_14bit_branch.
(struct ppc_link_hash_table): Remove has_14bit_branch.
(get_opd_info, get_tls_mask, ppc64_elf_edit_opd): Adjust.
(ppc64_elf_relocate_section): Likewise.
(ppc64_elf_check_relocs): Likewise. Set per-section has_14bit_branch.
(ppc64_elf_size_stubs): Don't set default group size here.
(group_sections): Instead do so here, and group sections using
their individual requirements.
amodra [Tue, 7 Nov 2006 03:24:13 +0000 (03:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Remove "has_dotsym"
and union.
(struct ppc_link_hash_entry): Add "next_dot_sym".
(struct ppc_link_hash_table): Add "dot_syms".
(link_hash_newfunc): Make list of syms starting with a dot.
(ppc_get_stub_entry, adjust_opd_syms): Adjust.
(ppc64_elf_add_symbol_hook): Don't set has_dotsym.
(struct add_symbol_adjust_data): Delete.
(add_symbol_adjust): Simplify params and return.
(ppc64_elf_check_directives): Just process the "dot_syms" lists,
not all syms.
gdbadmin [Tue, 7 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
jimb [Mon, 6 Nov 2006 23:20:12 +0000 (23:20 +0000)]
2006-11-06 Jim Blandy <jimb@codesourcery.com>
* (dwarf_expr_read_reg): Use frame_register_read, not frame_register.
* dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read
instead of frame_register. Doc fix.
amodra [Mon, 6 Nov 2006 22:58:55 +0000 (22:58 +0000)]
daily update
iant [Mon, 6 Nov 2006 22:46:08 +0000 (22:46 +0000)]
Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.
iant [Mon, 6 Nov 2006 22:45:08 +0000 (22:45 +0000)]
Rework swapping code.
drow [Mon, 6 Nov 2006 21:50:32 +0000 (21:50 +0000)]
* server.c (handle_query): Correct error handling for read_auxv.
ths [Mon, 6 Nov 2006 15:05:40 +0000 (15:05 +0000)]
* doc/c-mips.texi (-march): Document sb1a.
ths [Mon, 6 Nov 2006 14:28:21 +0000 (14:28 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Remove 24k/24ke aliases.
34k always has DSP ASE.
corinna [Mon, 6 Nov 2006 13:46:23 +0000 (13:46 +0000)]
* dtable.cc (build_fh_pc): Add missing DEV_SD1_MAJOR case (Thanks to
Joe Loh for noticing).
vprus [Mon, 6 Nov 2006 12:15:34 +0000 (12:15 +0000)]
2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
* testsuite/ld-elf/symbol1ref.s: Use ".dc.a" instead
of ".long".
vprus [Mon, 6 Nov 2006 10:39:16 +0000 (10:39 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Don't prepend "warning" to the message.
* testsuite/ld-elf/warn2.d: New.
* testsuite/ld-elf/symbol2w.s: New.
* testsuite/ld-elf/symbol2ref.s: New.