Thiago Jung Bauermann [Sat, 21 Mar 2009 03:13:02 +0000 (03:13 +0000)]
gdb/
2009-03-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Jim Blandy <jimb@red-bean.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
Tom Tromey <tromey@redhat.com>
Miscellaneous fixes to the Python code.
* python/python-cmd.c (cmdpy_init): Accept keyword
arguments.
* python/python-value.c (valpy_string): Accept keyword
arguments.
(valpy_binop): Use `break' to exit from the TRY_CATCH block.
Do not call value_to_value_object on NULL RES_VAL.
(value_object_methods): Change `string' entry to also accept
keyword arguments.
(convert_value_from_python): Return a copy of the value if obj is
a gdb.Value object.
(value_object_methods): Mark the `string' method as accepting
keywords, and show method "prototype" in the doc string.
* python/python.c (get_parameter): Don't return inside a
TRY_CATCH.
gdb/doc/
2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.texinfo (Values From Inferior): Fix optional arguments
markup.
(Commands In Python): Adjust argument names of gdb.Command.__init__
to what the function accepts as keywords.
gdb/testsuite/
2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-cmd.exp: Add tests for keyword arguments.
* gdb.python/python-function.exp: Add test for function returning
a GDB value.
Thiago Jung Bauermann [Sat, 21 Mar 2009 03:03:56 +0000 (03:03 +0000)]
gdb/
2009-03-05 Tom Tromey <tromey@redhat.com>
Add support for convenience functions in Python.
* Makefile.in (SUBDIR_PYTHON_OBS): Add python-function.o.
(SUBDIR_PYTHON_SRCS): Add python-function.c.
(python-function.o): New target.
* eval.c: Include "python/python.h" and <ctype.h>.
(evaluate_subexp_standard): Handle values of type
TYPE_CODE_INTERNAL_FUNCTION.
* gdbtypes.h (type_code): Add TYPE_CODE_INTERNAL_FUNCTION.
* parse.c (write_exp_string): Remove duplicate word in comment.
* python/python-function.c: New file.
* python/python-internal.h (gdbpy_initialize_functions): Add
prototype.
* python/python.c (_initialize_python): Call
gdbpy_initialize_functions.
* valprint.c (value_check_printable): Handle values of type
TYPE_CODE_INTERNAL_FUNCTION.
* value.c: Include "cli/cli-decode.h".
(internal_function): New struct.
(functionlist, internal_fn_type): New static variables.
(lookup_only_internalvar,
lookup_internalvar): Add const qualifier to name argument.
(create_internalvar): Likewise. Initialize new field.
(set_internal_var): Fix typo in comment. Don't allow assignment
to canonical variable.
(value_create_internal_function, value_internal_function_name,
call_internal_function, function_command, function_destroyer,
add_internal_function): New functions.
(_initialize_values): Create `function' placeholder command.
Initialize internal_fn_type.
* value.h (lookup_only_internalvar, create_internalvar,
lookup_internalvar): Add const qualifier to name argument.
(internal_function_fn, add_internal_function, call_internal_function,
value_internal_function_name): Add prototypes.
(struct internalvar) <canonical>: New field.
gdb/doc/
2008-03-05 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Convenience Vars): Document convenience functions.
(Functions In Python): New node.
(Python API): Update.
gdb/testsuite/
2009-03-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-function.exp: New file.
Alan Modra [Sat, 21 Mar 2009 02:35:27 +0000 (02:35 +0000)]
* elf32-ppc.c (is_pic_glink_stub): Delete.
(is_nonpic_glink_stub): New function.
(ppc_elf_get_synthetic_symtab): Check for last non-pic stub rather
than first pic one.
(struct ppc_elf_link_hash_table <glink_pltresolve>): Comment fix.
Tom Tromey [Sat, 21 Mar 2009 00:46:17 +0000 (00:46 +0000)]
* c-lang.c (evaluate_subexp_c): Call check_typedef.
gdbadmin [Sat, 21 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 21 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Ian Lance Taylor [Fri, 20 Mar 2009 23:37:51 +0000 (23:37 +0000)]
include/elf:
* common.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
elfcpp:
* elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
gold:
* incremental.cc: New file.
* Makefile.am (CCFILES): Add incremental.cc.
* Makefile.in: Rebuild.
Tom Tromey [Fri, 20 Mar 2009 23:04:40 +0000 (23:04 +0000)]
gdb:
2009-03-19 Tom Tromey <tromey@redhat.com>
Julian Brown <julian@codesourcery.com>
PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103,
PR i18n/9401, PR exp/9613:
* NEWS: Update
* value.h (value_typed_string): Declare.
(val_print_string): Update.
* valprint.h (print_char_chars): Update.
* valprint.c (print_char_chars): Add type argument. Update.
(val_print_string): Likewise.
* valops.c (value_typed_string): New function.
* utils.c (host_char_to_target): New function.
(parse_escape): Use host_char_to_target, host_hex_value. Update.
Remove '^' case.
(no_control_char_error): Remove.
* typeprint.c (print_type_scalar): Update.
* scm-valprint.c (scm_scmval_print): Update.
* scm-lang.h (scm_printchar, scm_printstr): Update.
* scm-lang.c (scm_printchar): Add type argument.
(scm_printstr): Likewise.
* printcmd.c (print_formatted): Update.
(print_scalar_formatted): Update.
(printf_command) <wide_string_arg, wide_char_arg>: New constants.
Handle '%lc' and '%ls'.
* parser-defs.h (struct typed_stoken): New type.
(struct stoken_vector): Likewise.
(write_exp_string_vector): Declare.
* parse.c (write_exp_string_vector): New function.
* p-valprint.c (pascal_val_print): Update.
* p-lang.h (is_pascal_string_type, pascal_printchar,
pascal_printstr): Update.
* p-lang.c (is_pascal_string_type): Remove 'char_size' argument.
Add 'char_type' argument.
(pascal_emit_char): Add type argument.
(pascal_printchar): Likewise.
(pascal_printstr): Likewise.
* objc-lang.c (objc_emit_char): Add type argument.
(objc_printchar): Likewise.
(objc_printstr): Likewise.
* macroexp.c (get_character_constant): Handle unicode characters.
Use c_parse_escape.
(get_string_literal): Handle unicode strings. Use
c_parse_escape.
* m2-valprint.c (print_unpacked_pointer): Update.
(m2_print_array_contents): Update.
(m2_val_print): Update.
* m2-lang.c (m2_emit_char): Add type argument.
(m2_printchar): Likewise.
(m2_printstr): Likewise.
* language.h (struct language_defn) <la_printchar>: Add type
argument.
<la_printstr, la_emitchar>: Likewise.
(LA_PRINT_CHAR): Likewise.
(LA_PRINT_STRING): Likewise.
(LA_EMIT_CHAR): Likewise.
* language.c (unk_lang_emit_char): Add type argument.
(unk_lang_printchar): Likewise.
(unk_lang_printstr): Likewise.
* jv-valprint.c (java_val_print): Update.
* jv-lang.c (java_emit_char): Add type argument.
* f-valprint.c (f_val_print): Update.
* f-lang.c (f_emit_char): Add type argument.
(f_printchar): Likewise.
(f_printstr): Likewise.
* expprint.c (print_subexp_standard): Update.
* charset.h (target_wide_charset): Declare.
(c_target_char_has_backslash_escape, c_parse_backslash,
host_char_print_literally, host_char_to_target,
target_char_to_host, target_char_to_control_char): Remove.
(enum transliterations): New type.
(convert_between_encodings): Declare.
(HOST_ESCAPE_CHAR): New define.
(host_letter_to_control_character, host_hex_value): Declare.
(enum wchar_iterate_result): New enum.
(struct wchar_iterator): Declare.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): Declare.
* charset-list.h: New file.
* c-valprint.c (textual_name): New function.
(textual_element_type): Handle wide character types.
(c_val_print): Pass original type to textual_element_type. Handle
wide character types.
(c_value_print): Use textual_element_type. Pass original type of
value to val_print.
* c-lang.h (enum c_string_type): New type.
(c_printchar, c_printstr): Update.
* c-lang.c (classify_type): New function.
(print_wchar): Likewise.
(c_emit_char): Add type argument. Handle wide characters.
(c_printchar): Likewise.
(c_printstr): Add type argument. Handle wide and multibyte
character sets.
(convert_ucn): New function.
(emit_numeric_character): Likewise.
(convert_octal): Likewise.
(convert_hex): Likewise.
(ADVANCE): New macro.
(convert_escape): New function.
(parse_one_string): Likewise.
(evaluate_subexp_c): Likewise.
(exp_descriptor_c): New global.
(c_language_defn): Use exp_descriptor_c.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
(charset_for_string_type): New function.
* c-exp.y (%union): Add 'svec' and 'tsval'.
(CHAR): New token.
(exp): Add CHAR production.
(string_exp): Rewrite.
(exp) <string_exp>: Rewrite.
(tempbuf): Now global.
(tempbuf_init): New global.
(parse_string_or_char): New function.
(yylex) <tempbuf>: Now global.
<tokptr, tempbufindex, tempbufsize, token_string, class_prefix>:
Remove.
Handle 'u', 'U', and 'L' prefixes. Call parse_string_or_char.
(c_parse_escape): New function.
* auxv.c (fprint_target_auxv): Update.
* ada-valprint.c (ada_emit_char): Add type argument.
(ada_printchar): Likewise.
(ada_print_scalar): Update.
(printstr): Add type argument. Update calls to ada_emit_char.
(ada_printstr): Add type argument.
(ada_val_print_array): Update.
(ada_val_print_1): Likewise.
* ada-lang.c (emit_char): Add type argument.
* ada-lang.h (ada_emit_char, ada_printchar, ada_printstr): Add
type arguments.
* gdb_locale.h: Include langinfo.h.
* charset.c (_initialize_charset): Set default host charset from
the locale. Don't register charsets. Add target-wide-charset
commands. Call find_charset_names.
(struct charset, struct translation): Remove.
(GDB_DEFAULT_HOST_CHARSET): Remove.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): New define.
(target_wide_charset_name): New global.
(show_host_charset_name): Handle "auto".
(show_target_wide_charset_name): New function.
(host_charset_enum, target_charset_enum): Remove.
(charset_enum): New global.
(all_charsets, register_charset, lookup_charset, all_translations,
register_translation, lookup_translation): Remove.
(simple_charset, ascii_print_literally, ascii_to_control): Remove.
(iso_8859_print_literally, iso_8859_to_control,
iso_8859_family_charset): Remove.
(ebcdic_print_literally, ebcdic_to_control,
ebcdic_family_charset): Remove.
(struct cached_iconv, check_iconv_cache, cached_iconv_convert,
register_iconv_charsets): Remove.
(target_wide_charset_be_name, target_wide_charset_le_name): New
globals.
(identity_either_char_to_other): Remove.
(set_be_le_names, validate): New functions.
(backslashable, backslashed, represented): Remove.
(default_c_target_char_has_backslash_escape): Remove.
(default_c_parse_backslash, iconv_convert): Remove.
(ascii_to_iso_8859_1_table, ascii_to_ebcdic_us_table,
ascii_to_ibm1047_table, iso_8859_1_to_ascii_table,
iso_8859_1_to_ebcdic_us_table, iso_8859_1_to_ibm1047_table,
ebcdic_us_to_ascii_table, ebcdic_us_to_iso_8859_1_table,
ebcdic_us_to_ibm1047_table, ibm1047_to_ascii_table,
ibm1047_to_iso_8859_1_table, ibm1047_to_ebcdic_us_table): Remove.
(table_convert_char, table_translation, simple_table_translation):
Remove.
(current_host_charset, current_target_charset,
c_target_char_has_backslash_escape_func,
c_target_char_has_backslash_escape_baton): Remove.
(c_parse_backslash_func, c_parse_backslash_baton): Remove.
(host_char_to_target_func, host_char_to_target_baton): Remove.
(target_char_to_host_func, target_char_to_host_baton): Remove.
(cached_iconv_host_to_target, cached_iconv_target_to_host):
Remove.
(lookup_charset_or_error, check_valid_host_charset): Remove.
(set_host_and_target_charsets): Remove.
(set_host_charset, set_target_charset): Remove.
(set_host_charset_sfunc, set_target_charset_sfunc): Rewrite.
(set_target_wide_charset_sfunc): New function.
(show_charset): Print target wide character set.
(host_charset, target_charset): Rewrite.
(target_wide_charset): New function.
(c_target_char_has_backslash_escape): Remove.
(c_parse_backslash): Remove.
(host_letter_to_control_character): New function.
(host_char_print_literally): Remove.
(host_hex_value): New function.
(target_char_to_control_char): Remove.
(cleanup_iconv): New function.
(convert_between_encodings): New function.
(target_char_to_host): Remove.
(struct wchar_iterator): Define.
(make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator,
wchar_push_back): New functions.
(do_cleanup_iterator): New function.
(char_ptr): New typedef.
(charsets): New global.
(add_one, find_charset_names): New functions.
(default_charset_names): New global.
(auto_host_charset_name): Likewise.
* aclocal.m4, config.in, configure: Rebuild.
* configure.ac: Call AM_LANGINFO_CODESET.
(GDB_DEFAULT_HOST_CHARSET): Default to UTF-8.
(AM_ICONV): Invoke earlier.
* acinclude.m4: Include codeset.m4. Subst LIBICONV_INCLUDE and
LIBICONV_LIBDIR. Check for libiconv in build tree.
* Makefile.in (LIBICONV_LIBDIR, LIBICONV_INCLUDE): New macros.
(INTERNAL_CFLAGS_BASE): Add LIBICONV_INCLUDE.
(INTERNAL_LDFLAGS): Add LIBICONV_LIBDIR.
* gdb_obstack.h (obstack_grow_wstr): New define.
* gdb_wchar.h: New file.
* defs.h: Include it.
gdb/testsuite:
* gdb.base/store.exp: Update for change to escape output.
* gdb.base/callfuncs.exp (fetch_all_registers): Update for change
to escape output.
* gdb.base/pointers.exp: Update for change to escape output.
* gdb.base/long_long.exp (gdb_test_long_long): Update for change
to escape output.
* gdb.base/constvars.exp (do_constvar_tests): Update for change to
escape output.
* gdb.base/call-rt-st.exp (print_struct_call): Update for change
to escape output.
* gdb.cp/ref-types.exp (gdb_start_again): Update for change to
escape output.
* gdb.base/setvar.exp: Update for change to escape output.
* lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
* gdb.base/printcmds.exp (test_print_all_chars): Update for change
to escape output.
(test_print_string_constants): Likewise.
* gdb.base/charset.exp (valid_host_charset): Check size of
wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
cases. Handle "auto"-related output.
* gdb.base/charset.c (char16_t, char32_t): New typedefs.
(uvar, Uvar): New globals.
gdb/doc:
* gdb.texinfo (Character Sets): Remove obsolete text. Document
set target-wide-charset.
(Requirements): Mention iconv.
Tom Tromey [Fri, 20 Mar 2009 22:00:11 +0000 (22:00 +0000)]
2009-03-20 Tom Tromey <tromey@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (process_die): Handle DW_TAG_typedef.
* eval.c (evaluate_subexp_standard) <OP_TYPE>: Strip a single
typedef.
* ada-lang.c (decode_packed_array_type): Call CHECK_TYPEDEF on the
SYMBOL_TYPE result.
* ada-typeprint.c (print_array_type): Do the NULL check
unconditionally.
H.J. Lu [Fri, 20 Mar 2009 17:39:04 +0000 (17:39 +0000)]
ld/
2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9970
* ldlang.c (lang_end): Warn missing entry symbol for -pie.
ld/testsuite/
2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9970
* ld-pie/pie.exp: Use -fpie to compile. Run *.d tests.
* ld-pie/start.d: New.
* ld-pie/start.s: Likewise.
Andreas Krebbel [Fri, 20 Mar 2009 12:57:15 +0000 (12:57 +0000)]
2009-03-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_*
macros for visibilty and locality checks.
(elf_s390_adjust_dynamic_symbol): Likewise.
(allocate_dynrelocs): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_finish_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_adjust_dynamic_symbol): Likewise.
(allocate_dynrelocs): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_finish_dynamic_symbol): Likewise.
H.J. Lu [Fri, 20 Mar 2009 00:05:37 +0000 (00:05 +0000)]
2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
* dwarf.c (dwarf_regnames): Moved before frame_need_space.
(dwarf_regnames_count): Likewise.
(frame_need_space): Return int.
(display_debug_frames): Check invalid registers.
gdbadmin [Fri, 20 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 20 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Paul Pluzhnikov [Thu, 19 Mar 2009 19:39:32 +0000 (19:39 +0000)]
2009-03-19 Paul Pluzhnikov <ppluzhnikov@google.com>
* layout.cc (Layout::output_section_name): Preserve names
of '.note.' sections.
Ian Lance Taylor [Thu, 19 Mar 2009 19:02:53 +0000 (19:02 +0000)]
* descriptors.cc (Descriptors::open): Check that the options are
valid before using them.
Tom Tromey [Thu, 19 Mar 2009 17:39:31 +0000 (17:39 +0000)]
* utils.c (do_obstack_free): New function.
(make_cleanup_obstack_free): Likewise.
* defs.h (make_cleanup_obstack_free): Declare.
H.J. Lu [Thu, 19 Mar 2009 14:42:52 +0000 (14:42 +0000)]
2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (debug_apply_relocations): Check relocations
against STT_SECTION symbol.
Joel Brobecker [Thu, 19 Mar 2009 14:32:38 +0000 (14:32 +0000)]
From: J"orn Rennecke <joern.rennecke@arc.com> (tiny change)
Speed up simulator startup:
* sim-utils.c (zalloc): Use xcalloc.
Jerome Guitton [Thu, 19 Mar 2009 14:08:50 +0000 (14:08 +0000)]
* gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
deltas.
* gdb.ada/fixed_points.exp: Ditto.
Kai Tietz [Thu, 19 Mar 2009 11:02:09 +0000 (11:02 +0000)]
2009-03-19 Kai Tietz <kai.tietz@onevision.com>
* bfd-in2.h: Regenerated.
* coffcode.h (sec_to_styp_flags): For pe-coff add SEC_READONLY
for debugging sections and map memory read/write dependent on
SEC_COFF_NOREAD.
(styp_to_sec_flags): Set SEC_COFF_NOREAD for sections
without memory read flags set.
* section.c: Add SEC_COFF_NOREAD to section flags.
David S. Miller [Thu, 19 Mar 2009 10:41:46 +0000 (10:41 +0000)]
* config/tc-sparc.c (md_parse_option): If the user gives
us '--64' make sure max_architecture is at least V9.
Andreas Schwab [Thu, 19 Mar 2009 10:40:06 +0000 (10:40 +0000)]
* elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long
for format string.
Alan Modra [Thu, 19 Mar 2009 07:04:12 +0000 (07:04 +0000)]
bfd/
* elf32-spu.c (spu_elf_find_overlays): Separate error return from
"no overlays" return. If there are overlays, create overlay
manager entry symbols here, so that..
(spu_elf_build_stubs): ..we don't need to set them up here.
Simplify entry symbol tests.
* elf32-spu.h (spu_elf_find_overlays): Update prototype.
ld/
* emultempl/spuelf.em (spu_before_allocation): Report errors from
spu_elf_find_overlays.
Ian Lance Taylor [Thu, 19 Mar 2009 05:51:49 +0000 (05:51 +0000)]
* script-sections.h: Include <list>.
(class Script_sections): Change Sections_elements from std::vector
to std::list. Typedef public Elements_iterator. Add
orphan_section_placement_, data_segment_align_start_, and
saw_data_segment_align_ fields. Remove data_segment_align_index_
field.
* script-sections.cc (class Orphan_section_placement): New class.
(class Sections_element): Add virtual functions is_relro and
orphan_section_init. Remove virtual function place_orphan_here.
(class Output_section_definition): Add is_relro and
orphan_section_init. Remove place_orphan_here.
(class Orphan_output_section): Likewise.
(Script_sections::Script_sections): Update for field changes.
(Script_sections::data_segment_align): Set saw_data_segment_align_
and data_segment_align_start_, not data_segment_align_index.
(Script_sections::data_segment_relro_end): Check
saw_data_segment_align_. Use data_segment_align_start_ rather
than data_segment_align_index_.
(Script_sections::place_orphan): Rewrite to use
Orphan_section_placement.
H.J. Lu [Thu, 19 Mar 2009 02:38:53 +0000 (02:38 +0000)]
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (debug_apply_relocations): Allow relocations
against function symbols.
gdbadmin [Thu, 19 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 19 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Tom Tromey [Wed, 18 Mar 2009 23:33:26 +0000 (23:33 +0000)]
* configure: Rebuild.
* configure.ac (host_libs): Add libiconv.
* Makefile.in: Rebuild.
* Makefile.def (host_modules): Add libiconv.
(configure-gdb, all-gdb): Depend on libiconv.
Nick Clifton [Wed, 18 Mar 2009 16:58:33 +0000 (16:58 +0000)]
* Makefile.am (BFD32_BACKENDS): Remove elf32-score and
elf32-score7 files.
(BFD32_BACKEND_CFILES): Likewise.
(BFD64_BACKENDS): Add elf32-score and elf32-score7 files.
(BFD64_BACKENDS_CFILES): Likewise.
* Makefile.in: Regenerate.
* config.bfd: More Score targets into BFD64 list.
* configure.in: Move score vectors to 64-bit list.
* targets.c: Likewise.
* score-dis.c: Only compile when 64-bit bfds are enabled.
Doug Evans [Wed, 18 Mar 2009 16:47:45 +0000 (16:47 +0000)]
* linux-nat.c (linux_nat_find_memory_regions): Result of PIDGET is an
int, not a long long.
(linux_nat_info_proc_cmd): Store pid in long instead of long long.
Doug Evans [Wed, 18 Mar 2009 16:38:18 +0000 (16:38 +0000)]
* expprint.c (dump_raw_expression): Print note if non-NULL.
Mark Kettenis [Wed, 18 Mar 2009 16:26:54 +0000 (16:26 +0000)]
* elf.c (elfcore_grok_openbsd_procinfo)
(elfcore_grok_openbsd_note): New functions.
(elf_parse_notes): Handle notes from OpenBSD ELF core files.
Doug Evans [Wed, 18 Mar 2009 16:22:50 +0000 (16:22 +0000)]
* printcmd.c (display_uses_solib_p): Redo loop, scan element list
backwards.
Mark Kettenis [Wed, 18 Mar 2009 15:57:17 +0000 (15:57 +0000)]
* common.h (NT_OPENBSD_PROCINFO, NT_OPENBSD_AUXV)
(NT_OPENBSD_REGS, NT_OPENBSD_FPREGS, NT_OPENBSD_XFPREGS)
(NT_OPENBSD_WCOOKIE): New defines.
Pedro Alves [Wed, 18 Mar 2009 15:36:01 +0000 (15:36 +0000)]
* return-nodebug.c: Don't include stdio.h.
(init): Delete.
(func): Delete definition and provide extern declaration.
(t): New.
(main): Don't call printf. Call func and store its result in t.
* return-nodebug1.c: New.
* return-nodebug.exp: Don't expect stdio output. Instead, print
the global variable t. Drop printf formatters and cast types from
foreach loop. Don't use prepare_for_testing. Compile
return-nodebug.c and return-nodebug1.c in separate steps. Don't
define FORMAT or CAST.
Andrew Stubbs [Wed, 18 Mar 2009 15:28:24 +0000 (15:28 +0000)]
2009-03-18 Andrew Stubbs <ams@codesourcery.com>
gas/
* config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
gas/testsuites/
* gas/arm/adr-invalid.d: New file.
* gas/arm/adr-invalid.l: New file.
* gas/arm/adr-invalid.s: New file.
H.J. Lu [Wed, 18 Mar 2009 12:11:38 +0000 (12:11 +0000)]
ld/
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/6766
* lexsup.c (parse_args): Call ldlang_add_undef for -e.
ld/testsuite/
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/6766
* ld-undefined/dummy.s: New.
* ld-undefined/entry-1.d: Likewise.
* ld-undefined/entry-2.d: Likewise.
* ld-undefined/entry-3.d: Likewise.
* ld-undefined/entry-4.d: Likewise.
* ld-undefined/entry-5.d: Likewise.
* ld-undefined/entry-6.d: Likewise.
* ld-undefined/entry.exp: Likewise.
* ld-undefined/entry.s: Likewise.
Alan Modra [Wed, 18 Mar 2009 11:47:18 +0000 (11:47 +0000)]
bfd/
* vms-hdr.c: Don't include alloca.h.
opcodes/
* cgen-opc.c: Include alloca-conf.h rather than alloca.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Alan Modra [Wed, 18 Mar 2009 11:27:18 +0000 (11:27 +0000)]
include/
* alloca-conf.h: Revise based on autoconf-2.61, autoconf-2.13
documentation.
bfd/
* elf32-m68hc1x.c: Include alloca-conf.h.
* xsym.c: Likewise.
* elf64-hppa.c: Likewise. Remove existing #if's handling alloca.
* som.c: Likewise.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* sysdep.h: Include alloca-conf.h instead of config.h and remove
existing #if's handling alloca.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
gas/
* as.h: Include alloca-conf.h instead of config.h and remove
existing #if's handling alloca.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* openrisc-opc.c: Regenerate.
ld/
* ld.h: Remove alloca handling.
Nathan Sidwell [Wed, 18 Mar 2009 08:51:11 +0000 (08:51 +0000)]
* Makefile.in: Update license to GPLv3.
* ada-exp.y: Update license to GPLv3.
* ada-lex.l: Update license to GPLv3.
* c-exp.y: Update license to GPLv3.
* cp-name-parser.y: Update license to GPLv3.
* darwin-nat-info.c: Update license to GPLv3.
* f-exp.y: Update license to GPLv3.
* gdb_thread_db.h: Update license to GPLv3.
* hppanbsd-nat.c: Update license to GPLv3.
* hppanbsd-tdep.c: Update license to GPLv3.
* hppaobsd-tdep.c: Update license to GPLv3.
* jv-exp.y: Update license to GPLv3.
* m2-exp.y: Update license to GPLv3.
* objc-exp.y: Update license to GPLv3.
* p-exp.y: Update license to GPLv3.
* reply_mig_hack.awk: Update license to GPLv3.
* reverse.c: Update license to GPLv3.
* xtensa-xtregs.c: Update license to GPLv3.
Paul Pluzhnikov [Wed, 18 Mar 2009 05:43:55 +0000 (05:43 +0000)]
2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/solib-display.exp: Disable test for remote targers.
Ian Lance Taylor [Wed, 18 Mar 2009 05:09:52 +0000 (05:09 +0000)]
* archive.cc (Archive::add_symbols): Check for a version attached
to the symbol name in the archive map.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_11.
(ver_test_11_SOURCES, ver_test_11_DEPENDENCIES): Define.
(ver_test_11_LDFLAGS, ver_test_11_LDADD): Define.
(ver_test_11.a): New target.
* testsuite/Makefile.in: Rebuild.
Pedro Alves [Wed, 18 Mar 2009 02:24:02 +0000 (02:24 +0000)]
* remote.c (remote_close): Don't call generic_mourn_inferior.
(remote_mourn_1): Call generic_mourn_inferior after closing the
target.
Pedro Alves [Wed, 18 Mar 2009 01:29:27 +0000 (01:29 +0000)]
* remote.c (remote_start_remote): Add missing call to
init_wait_for_inferior in non-stop mode.
Pedro Alves [Wed, 18 Mar 2009 01:13:19 +0000 (01:13 +0000)]
* breakpoint.c (bpstat_should_step): Only consider software
watchpoints that have a location.
DJ Delorie [Wed, 18 Mar 2009 00:07:49 +0000 (00:07 +0000)]
merge from gcc
gdbadmin [Wed, 18 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 18 Mar 2009 00:00:05 +0000 (00:00 +0000)]
daily update
Christopher Faylor [Tue, 17 Mar 2009 22:57:34 +0000 (22:57 +0000)]
Correct typo which gave me an accidental promotion.
Ian Lance Taylor [Tue, 17 Mar 2009 22:25:30 +0000 (22:25 +0000)]
* configure.ac: Check for chsize and posix_fallocate. Replace
ftruncate.
* ftruncate.c: New file, from gnulib.
* output.cc (posix_fallocate): Define dummy version if not
HAVE_POSIX_FALLOCATE.
(Output_file::map): Call posix_fallocate rather than lseek and
write.
* gold.h (ftruncate): Declare if not HAVE_FTRUNCATE.
* configure, Makefile.in, config.in: Rebuild.
Paul Pluzhnikov [Tue, 17 Mar 2009 20:36:30 +0000 (20:36 +0000)]
2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* layout.h (Layout::create_note): Add section_name parameter.
* layout.cc (Layout::create_note): Likewise.
(Layout::create_build_id, Layout::create_gold_note): Fix callers.
Pedro Alves [Tue, 17 Mar 2009 20:25:35 +0000 (20:25 +0000)]
Rename "process" to "lwp" throughout.
* linux-low.c (all_processes): Rename to...
(all_lwps): ... this.
(inferior_pid, handle_extended_wait, get_stop_pc): Adjust.
(add_process): Rename to ...
(add_lwp): ... this. Adjust.
(linux_create_inferior): Adjust.
(linux_attach_lwp): Adjust.
(linux_attach): Adjust.
(linux_kill_one_process): Rename to ...
(linux_kill_one_lwp): ... this. Adjust.
(linux_kill): Adjust.
(linux_detach_one_process): Rename to ...
(linux_detach_one_lwp): ... this. Adjust.
(linux_detach): Adjust.
(check_removed_breakpoint): Adjust.
(status_pending_p): Adjust.
(linux_wait_for_process): Rename to ...
(linux_wait_for_lwp): ... this. Adjust.
(linux_wait_for_event): Adjust.
(send_sigstop): Adjust.
(wait_for_sigstop): Adjust.
(stop_all_processes): Rename to ...
(stop_all_lwps): ... this.
(linux_resume_one_process): Rename to ...
(linux_resume_one_lwp): ... this. Adjust.
(linux_set_resume_request, linux_continue_one_thread)
(linux_queue_one_thread, resume_status_pending_p)
(usr_store_inferior_registers, regsets_store_inferior_registers)
(linux_request_interrupt, linux_read_offsets, linux_xfer_siginfo):
Adjust.
* linux-low.h (get_process): Rename to ...
(get_lwp): ... this. Adjust.
(get_thread_process): Rename to ...
(get_thread_lwp): ... this. Adjust.
(get_process_thread): Rename to ...
(get_lwp_thread): ... this. Adjust.
(struct process_info): Rename to ...
(struct lwp_info): ... this.
(all_processes): Rename to ...
(all_lwps): ... this.
* proc-service.c (ps_lgetregs): Adjust.
* thread-db.c (thread_db_create_event, find_one_thread)
(maybe_attach_thread, thread_db_get_tls_address): Adjust.
Joel Brobecker [Tue, 17 Mar 2009 19:28:09 +0000 (19:28 +0000)]
Add a target_ops parameter to the to_kill method in struct target_ops.
* target.h (struct target_ops): Add a "target_ops *" parameter to
method to_kill.
(target_kill): Remove macro. Add declaration.
* target.c (debug_to_kill): Delete, no longer necessary.
(target_kill): New function.
(update_current_target): Stop inheriting the to_kill method.
Do not de_fault it to no_process either.
(setup_target_debug): Do not set current_target.to_kill.
* gnu-nat.c, go32-nat.c, hpux-thread.c, inf-ptrace.c, inf-ttrace.c,
linux-nat.c, monitor.c, nto-procfs.c, procfs.c, remote-m32r-sdi.c,
remote-mips.c, remote-sim.c, remote.c, windows-nat.c: Update
accordingly.
Doug Evans [Tue, 17 Mar 2009 18:39:08 +0000 (18:39 +0000)]
* amd64-linux-nat.c (si_timerid,si_overrun): Provide definition for
glibc 2.3.2 and earlier.
Joel Brobecker [Tue, 17 Mar 2009 17:26:52 +0000 (17:26 +0000)]
* frame.c (get_prev_frame_1): Do not perform the inner_frame
sanity check if this_frame is not NORMAL.
(frame_id_inner): Update the description of this function.
Ian Lance Taylor [Tue, 17 Mar 2009 17:09:44 +0000 (17:09 +0000)]
* descriptors.cc: Include "options.h".
(FD_CLOEXEC, O_CLOEXEC): Define if not defined.
(Descriptors::open): Always use O_CLOEXEC when opening a new
descriptor. If we have a plugin, and O_CLOEXEC was not defined,
then set FD_CLOEXEC.
Daniel Jacobowitz [Tue, 17 Mar 2009 14:50:48 +0000 (14:50 +0000)]
* elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.
Alan Modra [Tue, 17 Mar 2009 12:46:19 +0000 (12:46 +0000)]
bfd/
* elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit.
Add compact_stub.
(emum _ovly_flavour): Delete ovly_compact, ovly_none.
* elf32-spu.c (struct spu_link_hash_table): Replace ovly_load and
ovly_return fields with ovly_entry[2]. Adjust all users.
(spu_elf_find_overlays): Set ovly_entry[1] from __icache_call_handler
when soft-icache.
(spu_elf_build_stubs): Likewise.
(ovl_stub_size): Change arg to spu_elf_params pointer. Adjust for
ovly_flavour changes. Update all callers.
(ovl_stub_size_log2): New function.
(build_stub): Handle compact icache stubs. Use different manager
entry point for stubs in non-icache area.
(spu_elf_size_stubs): Don't allocate space for indirect branch
descriptors.
(spu_elf_build_stubs): And don't built them.
ld/
* emultempl/spu_icache.S: Add new entry to dummy handler.
* emultempl/spu_icache.o_c: Regenerate.
* emultempl/spuelf.em (params): Init new field.
(no_overlays): New static var.
(spu_before_allocation): Use it.
(OPTION_SPU_COMPACT_STUBS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
(PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
handling.
ld/testsuite/
* ld-spu/icache1.d: Update for fixed set_id, new manager entry, and
reduced data.
Ian Lance Taylor [Tue, 17 Mar 2009 07:19:10 +0000 (07:19 +0000)]
* sparc.cc (class Target_sparc): Add has_got_section.
(Target_sparc::Scan::global): If we see _GLOBAL_OFFSET_TABLE_,
make sure we have a GOT section.
* sparc.cc (optimize_tls_reloc): Recognize R_SPARC_TLS_IE_ADD.
(Target_sparc::Scan::local): Likewise.
(Target_sparc::Scan::global): Likewise.
(Target_sparc::Relocate::relocate): Likewise.
(Target_sparc::Relocate::relocate_tls): Likewise.
Ian Lance Taylor [Tue, 17 Mar 2009 07:07:21 +0000 (07:07 +0000)]
* symtab.cc (Symbol_table::define_default_version): New function,
broken out of add_from_object.
(Symbol_table::add_from_object): Call define_default_version.
(Symbol_table::define_special_symbol): Add resolve_oldsym
parameter. Change all callers. If the version for a symbol comes
from a version script, resolve it with the symbol with the same
name with no version. Also add the symbol without a version if
appropriate.
(do_define_in_output_data): If resolving with oldsym, don't delete
sym.
(do_define_in_output_segment): Likewise.
(do_define_as_constant): Likewise.
* symtab.h (class Symbol_table): Update declarations.
Hui Zhu [Tue, 17 Mar 2009 06:01:10 +0000 (06:01 +0000)]
* gdb.texinfo: Change the introduce of "disassemble-next-line".
Hui Zhu [Tue, 17 Mar 2009 05:59:34 +0000 (05:59 +0000)]
* stack.c: Change the introduce of "disassemble-next-line".
Alan Modra [Tue, 17 Mar 2009 05:33:00 +0000 (05:33 +0000)]
ld/
* configure.host (HOSTING_LIBS): Two dollars on shell variable
expansion to suit make.
ld/testsuite
* config/default.exp (get_link_files): Replace double dollars with
single dollars.
Pedro Alves [Tue, 17 Mar 2009 05:18:45 +0000 (05:18 +0000)]
* mi/mi-main.h (mi_print_timing_maybe): Add strict prototype,
declare as extern.
Pedro Alves [Tue, 17 Mar 2009 05:17:37 +0000 (05:17 +0000)]
Add missing space.
Hui Zhu [Tue, 17 Mar 2009 05:14:01 +0000 (05:14 +0000)]
* gdb.texinfo: Add documentation for disassemble-next-line.
Hui Zhu [Tue, 17 Mar 2009 05:11:40 +0000 (05:11 +0000)]
*stack.c: Include valprint.h.
(disassemble_next_line): New enum.
(show_disassemble_next_line): New function. Show the current
value of disassemble-next-line.
(gdb_disassembly_stub_args): New struct for argument passing
between function do_gdb_disassembly and function
gdb_disassembly_stub.
(gdb_disassembly_stub): New function. Helper for
gdb_disassembly.
(do_gdb_disassembly): New function. Use TRY_CATCH to catch
the exception from the gdb_disassembly because it will be
broken by filter sometime.
(print_frame_info): If disassemble-next-line is set to auto
or on and doesn't have the line debug messages for $pc,
output the next instruction.
If disassemble-next-line is set to on and there is line debug
messages, output assembly codes for next line.
(_initialize_stack): Make the "set disassemble-next-line"
command an auto-boolean command. Change its class to
class_stack. Place it in the top level set list. Extend help
to describe the auto mode.
Alan Modra [Tue, 17 Mar 2009 05:01:26 +0000 (05:01 +0000)]
ld/
* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
* Makefile.am (check-DEJAGNU): Set DO_COMPARE.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-bootstrap/bootstrap.exp: Use DO_COMPARE. Remove unnecessary
cleanup and log output.
Pedro Alves [Tue, 17 Mar 2009 04:49:47 +0000 (04:49 +0000)]
* infrun.c (normal_stop): Don't overwrite old_chain.
Alan Modra [Tue, 17 Mar 2009 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 17 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Dave Korn [Mon, 16 Mar 2009 22:03:44 +0000 (22:03 +0000)]
* ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when
linking statically on Cygwin, necessitated by '-lintl'.
Joel Brobecker [Mon, 16 Mar 2009 21:12:46 +0000 (21:12 +0000)]
* remote-mips.c (mips_load): Replace call to regcache_set_valid_p,
which is undefined, by call to regcache_invalidate, which should
do what the original author wanted to do.
Joel Brobecker [Mon, 16 Mar 2009 19:38:33 +0000 (19:38 +0000)]
* remote-mips.c (mips_mourn_inferior): Add missing ops parameter.
(mips_create_inferior): Likewise.
Joel Brobecker [Mon, 16 Mar 2009 19:00:27 +0000 (19:00 +0000)]
* go32-nat.c (go32_create_inferior): Add missing ops parameter.
Joel Brobecker [Mon, 16 Mar 2009 17:00:47 +0000 (17:00 +0000)]
* configure.ac: Treat gdb as supported on x86_64-darwin.
* configure: Regenerate.
Joel Brobecker [Mon, 16 Mar 2009 15:57:08 +0000 (15:57 +0000)]
* darwin-nat.c (darwin_resume): Fix a compiler warning when
building on x86_64-darwin.
Joel Brobecker [Mon, 16 Mar 2009 15:04:15 +0000 (15:04 +0000)]
* configure.tgt: Add handling for x86_64-darwin.
Joseph Myers [Mon, 16 Mar 2009 13:29:49 +0000 (13:29 +0000)]
Merge from GCC:
2009-03-16 Joseph Myers <joseph@codesourcery.com>
* configure.ac (--with-host-libstdcxx): New option.
* configure: Regenerate.
2009-01-29 Robert Millan <rmh@aybabtu.com>
* configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
* configure: Regenerate.
2009-01-12 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/38515
* configure.ac (cloog-polylib): Removed.
(with_ppl, with_cloog): Test for "no".
* configure: Regenerated.
Andrew Stubbs [Mon, 16 Mar 2009 12:50:42 +0000 (12:50 +0000)]
Move changelog entry to the right file.
Sorry folks.
Andrew Stubbs [Mon, 16 Mar 2009 12:41:26 +0000 (12:41 +0000)]
2009-03-16 Andrew Stubbs <ams@codesourcery.com>
* dwarf2.c (read_section): Always use rawsize, if available.
Jan Kratochvil [Mon, 16 Mar 2009 09:58:25 +0000 (09:58 +0000)]
gdb/
* auxv.c (fprint_target_auxv): New TAG for AT_RANDOM.
Jan Kratochvil [Mon, 16 Mar 2009 09:45:33 +0000 (09:45 +0000)]
include/elf/
* common.h (AT_RANDOM): Define.
Thiago Jung Bauermann [Mon, 16 Mar 2009 03:34:45 +0000 (03:34 +0000)]
* gdb.texinfo (Commands In Python): Remove tindex entries.
Alan Modra [Mon, 16 Mar 2009 00:52:37 +0000 (00:52 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Use larger
of rawsize and size for buffer.
gdbadmin [Mon, 16 Mar 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 16 Mar 2009 00:00:05 +0000 (00:00 +0000)]
daily update
Joel Brobecker [Sun, 15 Mar 2009 21:05:41 +0000 (21:05 +0000)]
* aix-thread.c (aix_thread_thread_alive, aix_thread_pid_to_str):
Use the ops parameter to get to the target beneath, rather than
using the current_target global. Using the current_target global
was an unintended accident.
Joel Brobecker [Sun, 15 Mar 2009 20:26:11 +0000 (20:26 +0000)]
Fix an error happening while loading symbols from a core file
(on AIX).
* rs6000-nat.c (xcoff_relocate_symtab): Use target_has_execution
to detect whether we're debugging a core file or not.
Joel Brobecker [Sun, 15 Mar 2009 19:38:42 +0000 (19:38 +0000)]
Modernize the aix-thread later by getting rid of the base_target
global. This brings back to life the AIX port which was otherwise
crashing all the time.
* aix-thread.c (base_target): Delete.
(pd_enable): Do not set base_target.
(aix_thread_attach): Use find_target_beneath instead of base_target.
(aix_thread_detach, aix_thread_resume, aix_thread_wait)
(aix_thread_fetch_registers, aix_thread_store_registers),
(aix_thread_xfer_partial, aix_thread_mourn_inferior)
(aix_thread_thread_alive, aix_thread_pid_to_str): Likewise.
(aix_thread_kill): Delete. Does not seem necessary.
(init_aix_thread_ops): Do not set aix_thread_ops.to_kill.
Ulrich Weigand [Sun, 15 Mar 2009 15:15:29 +0000 (15:15 +0000)]
* elf32-spu.c (spu_elf_check_vma): Do not reset auto_overlay
parameter just because fixed sections fit into local store.
(spu_elf_auto_overlay): Do not declare as "noreturn". Skip
generating overlays if fixed sections plus reserved stack
and heap space fit into local store.
Dave Korn [Sun, 15 Mar 2009 14:17:28 +0000 (14:17 +0000)]
* ld-auto-import/auto-import.exp: Add missing dll entrypoint.
Jan Kratochvil [Sun, 15 Mar 2009 09:19:40 +0000 (09:19 +0000)]
gdb/
* stack.c (return_command <retval_exp>): New variables retval_expr
and old_chain. Inline parse_and_eval to initialize retval_expr. Check
RETVAL_EXPR for UNOP_CAST and set RETURN_TYPE to the RETURN_VALUE type
if RETURN_TYPE is NULL.
gdb/doc/
* gdb.texinfo (Returning): New description for missing debug info.
gdb/testsuite/
* gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
Alan Modra [Sun, 15 Mar 2009 03:28:51 +0000 (03:28 +0000)]
* elf32-spu.c (build_stub): Correct icache set_id.
(spu_elf_relocate_section): Likewise.
gdbadmin [Sun, 15 Mar 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 15 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Jan Kratochvil [Sat, 14 Mar 2009 14:25:55 +0000 (14:25 +0000)]
Fix a racy FAIL.
* gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
code from `follow parent, print pids'.
(`follow child, print pids', `follow parent, print pids'): Call it.
Replace `gdb_test "break..."' by gdb_breakpoint.
Richard Sandiford [Sat, 14 Mar 2009 09:37:18 +0000 (09:37 +0000)]
gas/testsuite/
* gas/ppc/textalign-xcoff-001.d: Expect the section VMAs to be
properly aligned.
* gas/ppc/textalign-xcoff-002.d: Likewise.
Richard Sandiford [Sat, 14 Mar 2009 09:36:38 +0000 (09:36 +0000)]
bfd/
* xcofflink.c (xcoff_link_check_archive_element): Only free the
symbol table if it was created by the current call.