OSDN Git Service
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.
drow [Thu, 26 Oct 2006 15:37:21 +0000 (15:37 +0000)]
* h8300-dis.c (bfd_h8_disassemble): Add missing consts.
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.
dj [Thu, 26 Oct 2006 04:18:41 +0000 (04:18 +0000)]
merge from gcc
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.
bje [Thu, 26 Oct 2006 00:22:52 +0000 (00:22 +0000)]
* reloc.c (_bfd_relocate_contents): Remove explicit case 0.
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'.
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.
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.
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.
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.
gdbadmin [Thu, 26 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 25 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update
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.
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.
amodra [Wed, 25 Oct 2006 06:49:18 +0000 (06:49 +0000)]
New Cell SPU port.
dj [Wed, 25 Oct 2006 01:42:44 +0000 (01:42 +0000)]
merge from gcc
amodra [Wed, 25 Oct 2006 00:44:26 +0000 (00:44 +0000)]
missed from last commit
gdbadmin [Wed, 25 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 24 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update
nickrob [Tue, 24 Oct 2006 20:23:56 +0000 (20:23 +0000)]
*** empty log message ***
nickrob [Tue, 24 Oct 2006 20:22:40 +0000 (20:22 +0000)]
*** empty log message ***
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.
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.
bje [Tue, 24 Oct 2006 03:35:48 +0000 (03:35 +0000)]
* lexsup.c (parse_args): Add a comment noting a fall-through.
amodra [Tue, 24 Oct 2006 01:27:28 +0000 (01:27 +0000)]
Add powerpc cell support.
gdbadmin [Tue, 24 Oct 2006 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 23 Oct 2006 23:59:09 +0000 (23:59 +0000)]
daily update
meissner [Mon, 23 Oct 2006 22:53:28 +0000 (22:53 +0000)]
Fix AMDFAM10 POPCNT instruction
brolley [Mon, 23 Oct 2006 21:14:33 +0000 (21:14 +0000)]
2006-10-23 Dave Brolley <brolley@redhat.com>
* commonCfg.cxx (CacheCfg (const string, sid::host_int_4)):
Initialize type as "hw-cache-buffer-" + size. Don't call
compute_comptype.
brolley [Mon, 23 Oct 2006 21:11:51 +0000 (21:11 +0000)]
2006-10-23 Dave Brolley <brolley@redhat.com>
* compCGEN.cxx (cgen_print_address): Print "0x" prefix.
hjl [Mon, 23 Oct 2006 16:44:17 +0000 (16:44 +0000)]
2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.
corinna [Mon, 23 Oct 2006 16:41:10 +0000 (16:41 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix comment.
corinna [Mon, 23 Oct 2006 15:13:55 +0000 (15:13 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Accomodate
buggy RestartScan behaviour of Windows 2000.
* wincap.h: Define has_buggy_restart_scan throughout.
* wincap.cc: Ditto.
amodra [Mon, 23 Oct 2006 03:30:02 +0000 (03:30 +0000)]
* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
set section address on a relocatable link.
amodra [Mon, 23 Oct 2006 03:26:08 +0000 (03:26 +0000)]
wrap overlong lines
amodra [Mon, 23 Oct 2006 03:23:49 +0000 (03:23 +0000)]
* config/tc-m68hc11.c (md_assemble): Quiet warning.
amodra [Mon, 23 Oct 2006 03:20:56 +0000 (03:20 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.
amodra [Mon, 23 Oct 2006 03:09:35 +0000 (03:09 +0000)]
* ld.texinfo (Output Section Discarding): Fix xref.
amodra [Mon, 23 Oct 2006 03:07:49 +0000 (03:07 +0000)]
missed from 2006-10-19 commit.
amodra [Mon, 23 Oct 2006 02:41:11 +0000 (02:41 +0000)]
* elf32-score.c: Formatting.
(elf_backend_omit_section_dynsym): Define.
(score_elf_create_dynamic_relocation): Remove code copied from mips.
Don't use section syms in dynamic relocs. Remove unused param.
(score_elf_final_link_relocate): Remove unused param.
amodra [Mon, 23 Oct 2006 02:35:35 +0000 (02:35 +0000)]
* linker.c (fix_syms): Choose best of previous and next
section based on section flags and vma.
gdbadmin [Mon, 23 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 22 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update
corinna [Sun, 22 Oct 2006 19:31:33 +0000 (19:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): Fix whitespace.
* external.cc: Update copyright.
* fhandler.cc: Ditto.
* sec_helper.cc: Ditto.
* security.h: Ditto.
* security.cc: Ditto.
(check_registry_access): Return -1 if W_OK is requested.
corinna [Sun, 22 Oct 2006 14:57:43 +0000 (14:57 +0000)]
* external.cc (cygwin_internal): Use security_descriptor::copy method.
* sec_helper.cc (security_descriptor::malloc): Use own free method.
Set type.
(security_descriptor::realloc): Handle the case that psd has been
allocated using LocalAlloc. Set type.
(security_descriptor::free): Ditto.
* security.cc (get_nt_attribute): Remove.
(get_reg_security): Remove.
(get_nt_object_security): Use GetSecurityInfo which handles all
securable objects.
(get_nt_object_attribute): Remove.
(get_object_attribute): Call get_nt_object_security instead of
get_nt_object_attribute.
(get_file_attribute): Ditto.
(check_registry_access): Call get_nt_object_security instead of
get_reg_security.
* security.h (cygpsid::operator PSID): Make method const, not the
result.
(class security_descriptor): Add type member. Accomodate throughout.
(security_descriptor::copy): New method.
(security_descriptor::operator PSECURITY_DESCRIPTOR *): New operator.
corinna [Sun, 22 Oct 2006 09:38:46 +0000 (09:38 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Check if opening registry
actually created a handle. This handles the registry root dir.
* fhandler_registry.cc (fhandler_registry::open): Set io_handle in
case of opening one of the predefined registry keys.
kkojima [Sun, 22 Oct 2006 01:19:06 +0000 (01:19 +0000)]
* gas/sh/sh64/syntax-1.d: Update.
* 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/crangerel1.rd,
* ld-sh/sh64/crangerel2.rd, ld-sh/sh64/mix1.xd,
* ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd,
* ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd,
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update.
kkojima [Sun, 22 Oct 2006 01:07:29 +0000 (01:07 +0000)]
* emulparams/shelf32.sh: Set default stack to 0x80000.
* emulparams/shelf64.sh: Likewise.
kkojima [Sun, 22 Oct 2006 01:02:38 +0000 (01:02 +0000)]
* elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
only when the non visibility part of st_other is non-zero.
* elf64-sh64.c (sh64_elf64_merge_symbol_attribute): Likewise.
gdbadmin [Sun, 22 Oct 2006 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 21 Oct 2006 23:59:12 +0000 (23:59 +0000)]
daily update
uweigand [Sat, 21 Oct 2006 20:47:07 +0000 (20:47 +0000)]
* callback.c: Include "xmalloc.h".
* Makefile.in: Add dependency.
pbrook [Sat, 21 Oct 2006 17:59:07 +0000 (17:59 +0000)]
2006-10-21 Paul Brook <paul@codesourcery.com>
* remote.c (remote_fetch_registers): Fix error message.
corinna [Sat, 21 Oct 2006 17:19:29 +0000 (17:19 +0000)]
* regtool.cc (key_type): Drop.
(REG_AUTO): Define.
(value_type): Replace key_type. Use REG_xxx values directly.
Accomodate change throughout.
(longopts): Add --dword, --dword-le, --none, --qword and --hex options.
(opts): Add -d, -D, -n, -Q and -x options.
(types): Array to convert REG_xxx into strings.
(hex): New variable to keep value of --hex option.
(usage): Accomodate new options. Print only the necessary by default.
Only be verbose in case of -h/--help option.
(cmd_list): Use key separator from -K option when printing.
Print value type when verbose option is given. Handle so far not
handled REG_xxx types.
(cmd_set): Avoid SEGV due to missing argument. Handle so far not
handled REG_xxx types.
(cmd_get): Handle --binary option type agnostic. Handle so far not
handled REG_xxx types.
(main): Handle new options.
eliz [Sat, 21 Oct 2006 13:06:03 +0000 (13:06 +0000)]
gdb.texinfo (Source Annotations): Fix index entries by adding
"annotation" to them, to discriminate from index entries that point
to the more general topic descriptions.
eliz [Sat, 21 Oct 2006 12:54:18 +0000 (12:54 +0000)]
(Breakpoints): Fix a typo.
eliz [Sat, 21 Oct 2006 12:50:16 +0000 (12:50 +0000)]
* gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
clarify on the possible meanings of ``expression'' watched by
watchpoints. Add indexing.
eliz [Sat, 21 Oct 2006 12:20:59 +0000 (12:20 +0000)]
(Backtrace): Fix a typo.
corinna [Sat, 21 Oct 2006 11:05:32 +0000 (11:05 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Call check_registry_access
for registry keys/values if ntsec is on.
* security.cc (check_access): New static function derived from
check_file_access, but object type agnostic.
(check_file_access): Only do file specific stuff. Call check_access.
(check_registry_access): New access check function for registry keys/
values.
* security.h (check_registry_access): Declare.
corinna [Sat, 21 Oct 2006 10:58:35 +0000 (10:58 +0000)]
* fhandler_registry.cc (fhandler_registry::fstat): Set restrictive
permission and ownership if key can't be opened for reading security.
(open_key): If opening key fails, retry opening with backup intent.
gdbadmin [Sat, 21 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 20 Oct 2006 23:59:12 +0000 (23:59 +0000)]
daily update
drow [Fri, 20 Oct 2006 22:06:24 +0000 (22:06 +0000)]
* gcore.c (MAX_COPY_BYTES): Define.
(gcore_copy_callback): Use it to limit allocation.
iant [Fri, 20 Oct 2006 20:40:49 +0000 (20:40 +0000)]
Framework for relocation scanning. Implement simple static TLS
relocations.
kkojima [Fri, 20 Oct 2006 15:16:43 +0000 (15:16 +0000)]
* ld-sh/tlsbin-1.d: Update.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlstpoff-1.d: Likewise.
ams [Fri, 20 Oct 2006 14:47:05 +0000 (14:47 +0000)]
2006-10-20 Andrew Stubbs <andrew.stubbs@st.com>
opcodes/
* sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB
duplicating it.
gas/testsuite/
* gas/sh/pcrel-coff.d: Update patterns (remove 0x on addresses).
* gas/sh/pcrel-hms.d: Likewise.
* gas/sh/pcrel.d: Likewise.
* gas/sh/pcrel2.d: Likewise.
* gas/sh/pic.d: Likewise.
* gas/sh/tlsd.d: Likewise.
* gas/sh/tlsdnopic.d: Likewise.
* gas/sh/tlsdpic.d: Likewise.
corinna [Fri, 20 Oct 2006 12:57:24 +0000 (12:57 +0000)]
* net.cc (cygwin_getnameinfo): Fix typo in comment.
rsandifo [Fri, 20 Oct 2006 07:59:44 +0000 (07:59 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't extend
PT_DYNAMIC on GNU/Linux targets.
rsandifo [Fri, 20 Oct 2006 07:58:17 +0000 (07:58 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make the
size of .rel.dyn reflect the value of DT_RELSZ.
ld/testsuite/
* ld-mips-elf/multi-got-1.d: Remove trailing R_MIPS_NONE entries.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
rsandifo [Fri, 20 Oct 2006 07:57:02 +0000 (07:57 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate
a PT_NULL header for dynamic objects.
(_bfd_mips_elf_modify_segment_map): Add it.
ld/testsuite/
* ld-mips-elf/multi-got-1.d: Do not expect a particular address
for DT_HASH.
* ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for
the extra program header.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/tlslib-o32.got: Likewise.
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the
extra program header.
* ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account
for the extra program header, and thus the shorter gap between the
text and data segments.
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20
to account for the extra program header.
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
rsandifo [Fri, 20 Oct 2006 07:55:37 +0000 (07:55 +0000)]
ld/
* emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
ld/testsuite/
* ld-mips-elf/rel32-o32.d: Bump the section number of .text by 1
to account for the fact that .rel.dyn is now before .text in the
section table.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
uweigand [Fri, 20 Oct 2006 01:08:13 +0000 (01:08 +0000)]
* linux-thread-db.c (check_for_thread_db): Don't attempt to use
thread_db for remote targets.
* remote.c (remote_new_objfile): Always call predecessor on
new_objfile event chain.
uweigand [Fri, 20 Oct 2006 00:34:35 +0000 (00:34 +0000)]
2005-10-19 Ulrich Weigand <uweigand@de.ibm.com>
* configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets
and srv_linux_thread_db to yes.
* linux-s390-low.c (s390_fill_gregset): New function.
(target_regsets): Define data structure.
vapier [Fri, 20 Oct 2006 00:32:42 +0000 (00:32 +0000)]
* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.
(x86_64_section_letter): Likewise.
gdbadmin [Fri, 20 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 19 Oct 2006 23:59:15 +0000 (23:59 +0000)]
daily update
brobecke [Thu, 19 Oct 2006 19:58:23 +0000 (19:58 +0000)]
* solib.c (libpthread_solib_p): New function.
(solib_add): Always read the symbols from the libpthread library.
ams [Thu, 19 Oct 2006 15:58:24 +0000 (15:58 +0000)]
2006-10-19 Andrew Stubbs <andrew.stubbs@st.com>
* breakpoint.c (describe_other_breakpoints): Add thread parameter.
Annotate display with thread number where appropriate.
(create_breakpoints): Add thread parameter to call to
describe_other_breakpoints.
nickc [Thu, 19 Oct 2006 15:47:33 +0000 (15:47 +0000)]
Fix score bugs
rsandifo [Thu, 19 Oct 2006 13:47:10 +0000 (13:47 +0000)]
bfd/
* elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the
same symbol by increasing r_offset.
(sort_dynamic_relocs_64): Likewise. Fix comparisons between very
large and very small symbol indexes.
ld/testsuite/
* ld-mips-elf/tlslib-o32-hidden.got: Sort relocations against the
same symbol in order of increasing r_offset.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-hidden3.r: Likewise.
* ld-mips-elf/tls-hidden4.r: Likewise.
rsandifo [Thu, 19 Oct 2006 13:42:16 +0000 (13:42 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG
and DT_MIPS_RLD_MAP tags for position-independent executables.
Do not add DT_DEBUG to shared libraries for any MIPS target.
ld/testsuite/
* ld-mips-elf/multi-got-1.d: Remove DT_DEBUG tag. Do not require
a specific file offset for .dynamic. Reduce DT_HASH by 8 to account
for removed tag.
* ld-mips-elf/tls-multi-got-1.r: Likewise. Also reduce DT_REL by 8.
Reduce PLTGOT and symbol values by 16 to account for the removed tag.
* ld-mips-elf/textrel-1.d: Remove DT_DEBUG tag.
* ld-mips-elf/rel32-n32.d: Reduce addresses by 16 to account for
removed DT_DEBUG tag.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
corinna [Thu, 19 Oct 2006 10:01:03 +0000 (10:01 +0000)]
* fhandler.h (fhandler_base::set_name): Make virtual.
(class fhandler_registry): Add wow64 and prefix_len members.
Declare set_name method.
* fhandler_proc.cc (PROC_REGISTRY32): Define.
(PROC_REGISTRY64): Define.
(proc_listing): Add "registry32" and "registry64" elements.
(proc_fhandlers): Add corresponding FH_REGISTRY values.
* fhandler_registry.cc (registry_len): Drop static value in favor of
class member prefix_len. Use preifx_len instead of registry_len
throughout.
(fhandler_registry::set_name): Define. Set wow64 and prefix_len
according to directory prefix.
(fhandler_registry::fhandler_registry): Set wow64 and prefix_len to
default values.
(open_key): Add wow64 argument. Handle wow64 in call to RegOpenKeyEx.
Use fhandler_registry member wow64 in this place throughout.
schwab [Thu, 19 Oct 2006 09:23:10 +0000 (09:23 +0000)]
Typos.
corinna [Thu, 19 Oct 2006 09:15:25 +0000 (09:15 +0000)]
* fhandler_proc.cc: Drop superfluous definition of _WIN32_WINNT.
* miscfuncs.cc: Ditto.
* sched.cc: Ditto.
corinna [Thu, 19 Oct 2006 09:08:44 +0000 (09:08 +0000)]
* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option.
(usage): Add text for --wow32/-W option.
(main): Handle --wow32/-W option.
* utils.sgml: Document the new -W option.
corinna [Thu, 19 Oct 2006 08:36:02 +0000 (08:36 +0000)]
* Fix ChangeLog entry to mention full path of changed file.
hjl [Thu, 19 Oct 2006 02:40:13 +0000 (02:40 +0000)]
bfd/
2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3290
* elflink.c (elf_link_add_object_symbols): Hide definitions in
debug sections.
ld/testsuite/
2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3290
* ld-elf/dummy.c: New file.
* ld-elf/dwarf.exp: Likewise.
* ld-elf/dwarf1.c: Likewise.
* ld-elf/dwarf1.h: Likewise.
* ld-elf/dwarf1.out: Likewise.
* ld-elf/dwarf1main.c: Likewise.
amodra [Thu, 19 Oct 2006 02:10:40 +0000 (02:10 +0000)]
bfd/
* elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check,
don't set, glue section size.
(record_arm_to_thumb_glue): Set glue section size here.
(record_thumb_to_arm_glue): Likewise.
(bfd_elf32_arm_add_glue_sections_to_bfd): Formatting.
(bfd_elf32_arm_process_before_allocation): Ignore exluded sections.
ld/
* emultempl/armelf.em (arm_elf_before_allocation): Run
gld${EMULATION_NAME}_before_allocation later.
* ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
gdbadmin [Thu, 19 Oct 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 18 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update
vapier [Wed, 18 Oct 2006 23:58:51 +0000 (23:58 +0000)]
2006-10-18 Roy Marples <uberlord@gentoo.org>
* bfd/elf64-sparc.c: Add FreeBSD support.
(elf64_sparc_fbsd_post_process_headers): New function.
* bfd/targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec.
* bfd/config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec.
* bfd/configure.in: Add entry for bfd_elf64_sparc_freebsd_vec.
* bfd/configure: Regenerate.
* gas/config/tc-sparc.c (md_parse_option): Treat any target starting with elf32-sparc
as a viable target for the -32 switch and any target starting with elf64-sparc as a
viable target for the -64 switch.
(sparc_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64
while for 32-bit ELF flavoured output use ELF_TARGET_FORMAT.
* gas/config/tc-sparc.h (ELF_TARGET_FORMAT, ELF_TARGET_FORMAT64): Define.
* ld/emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as elf64-sparc-freebsd.
drow [Wed, 18 Oct 2006 22:16:52 +0000 (22:16 +0000)]
* utils.c (query): Use defaulted_query.
(defaulted_query): Handle having no default answer. Print out
messages even if we have no terminal. Prevent memory corruption.
drow [Wed, 18 Oct 2006 19:52:04 +0000 (19:52 +0000)]
* frame.c (struct frame_info): Add stop_reason.
(get_prev_frame_1): Set stop_reason. Don't call error for
stop reasons.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New.
* frame.h (enum unwind_stop_reason): New.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New
prototypes.
* stack.c (frame_info): Print the stop reason.
(backtrace_command_1): Print the stop reason for errors.
brolley [Wed, 18 Oct 2006 18:51:02 +0000 (18:51 +0000)]
2006-10-18 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2006-05-11 Dave Brolley <brolley@redhat.com>
* gloss.cxx (sh_compact.h): #include it.
(sh_media.h): #include it.
(target_to_host_syscall): Handle "sh-compact" and "sh-media".
* sh_compact.h: New header.
* sh_media.h: New header.
brolley [Wed, 18 Oct 2006 18:48:00 +0000 (18:48 +0000)]
2006-10-18 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2006-05-10 Dave Brolley <brolley@redhat.com>
* sid.spec: Add sh*-elf-sid support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
brolley [Wed, 18 Oct 2006 18:46:17 +0000 (18:46 +0000)]
2006-10-18 Dave Brolley <brolley@redhat.com>
* Contribue the following changes:
2006-07-19 Dave Brolley <brolley@redhat.com>
* shCfg.h (insn_buffer): All references removed.
(main_memory): New member of ShBoardCfg.
* shCfg.cxx (insn_buffer): All references removed.
(ShBoardCfg): Don't initialize icache or ocache. Assume icache and
ocache are always created. Don't connect memory heirarchy here.
(write_config): Do it here instead.
2006-05-11 Dave Brolley <brolley@redhat.com>
* Makefile.am: Add sh support.
* mainDynamic.cxx: Likewise.
* shCfg.cxx: New source file.
* shCfg.h: New source file.
* commonCfg.cxx (GprofCfg): Set bucket-size for hw-cpu-sh*.
brolley [Wed, 18 Oct 2006 18:43:42 +0000 (18:43 +0000)]
Regenerated.
brolley [Wed, 18 Oct 2006 18:42:36 +0000 (18:42 +0000)]
2006-10-18 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2006-05-11 Dave Brolley <brolley@redhat.com>
* sidtargets.m4: Add sh support.
* info.tcl.in: Likewise.
brolley [Wed, 18 Oct 2006 18:40:51 +0000 (18:40 +0000)]
2006-10-18 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2006-05-10 Dave Brolley <brolley@redhat.com>
* Makefile.am: Add sh support.
* configrun-sid.in: Likewise.
* sh-elf-sid,sh5-elf-sid,sh64-elf-sid: New files.
* Makefile.am: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.