Alan Modra [Thu, 14 Sep 2006 23:59:47 +0000 (23:59 +0000)]
daily update
H.J. Lu [Thu, 14 Sep 2006 23:37:35 +0000 (23:37 +0000)]
binutils/
2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3182
* objcopy.c (group_signature): Return proper group signature.
binutils/testsuite/
2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3182
* binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF
targets.
* binutils-all/strip-1.d: New file.
* binutils-all/strip-2.d: Likewise.
* lib/utils-lib.exp (run_dump_test): Support strip.
Alan Modra [Thu, 14 Sep 2006 12:11:33 +0000 (12:11 +0000)]
PR 3182
* elf.c (_bfd_elf_copy_private_header_data): Fix group members
that have had their SHT_GROUP section removed.
* objcopy.c (group_signature): New function, split out from..
(setup_section): ..here.
(is_strip_section): Return true for SHT_GROUP sections that are
going to lose their group signature symbol.
gdbadmin [Thu, 14 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 13 Sep 2006 23:59:49 +0000 (23:59 +0000)]
daily update
DJ Delorie [Wed, 13 Sep 2006 22:07:31 +0000 (22:07 +0000)]
merge from gcc
Alan Modra [Wed, 13 Sep 2006 15:08:38 +0000 (15:08 +0000)]
PR 3182
* objcopy.c (copy_object): Load symbols earlier.
(setup_section): Mark group signature symbols with BSF_KEEP.
Jan Beulich [Wed, 13 Sep 2006 10:15:59 +0000 (10:15 +0000)]
2006-09-13 Jan Beulich <jbeulich@novell.com>
* input-file.c (input_file_give_next_buffer): Demote as_bad to
as_warn.
Alan Modra [Wed, 13 Sep 2006 00:46:09 +0000 (00:46 +0000)]
PR gas/3165
* config/tc-sh (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
in parens.
Alan Modra [Wed, 13 Sep 2006 00:00:40 +0000 (00:00 +0000)]
* input-file.h: Update comment.
gdbadmin [Wed, 13 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Sep 2006 23:59:45 +0000 (23:59 +0000)]
daily update
Alan Modra [Tue, 12 Sep 2006 23:57:26 +0000 (23:57 +0000)]
* input-file.c (input_file_open): Replace as_perror with as_bad
so that gas exits with error on file errors. Correct error
message.
(input_file_get, input_file_give_next_buffer): Likewise.
H.J. Lu [Tue, 12 Sep 2006 22:10:31 +0000 (22:10 +0000)]
bfd/
2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3197
* elflink.c (elf_link_output_extsym): Compute bucket only if
needed.
ld/testsuite/
2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3197
* ld-elf/hash.d: New test.
Nick Roberts [Tue, 12 Sep 2006 20:11:42 +0000 (20:11 +0000)]
(test_file_list_exec_source_files): Just
check for one file.
Nick Roberts [Tue, 12 Sep 2006 20:11:22 +0000 (20:11 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Sep 2006 01:34:11 +0000 (01:34 +0000)]
daily update
gdbadmin [Tue, 12 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Nick Clifton [Mon, 11 Sep 2006 14:40:39 +0000 (14:40 +0000)]
PR binutils/3110
* objcopy.c (copy_archive): Add new parameter: force_output_target. If not
true, then perserve the file formats of each copied archive element,
otherwise force them to be one specific file format.
(copy_file): Compute force_output_target parameter to pass to copy_archive.
Nick Clifton [Mon, 11 Sep 2006 14:27:32 +0000 (14:27 +0000)]
PR gas/3172
* config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class registers
as a sub-class of wC registers.
Alan Modra [Mon, 11 Sep 2006 02:32:50 +0000 (02:32 +0000)]
PR gas/3165
* config/tc-mips.h (enum dwarf2_format): Forward declare.
(DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens.
* config/tc-alpha.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
* config/tc-arm.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
gdbadmin [Mon, 11 Sep 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 10 Sep 2006 23:59:51 +0000 (23:59 +0000)]
daily update
H.J. Lu [Sun, 10 Sep 2006 23:51:09 +0000 (23:51 +0000)]
2006-09-10 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3186
* elf.c (_bfd_elf_make_section_from_shdr): Correct length of
"gnu.linkonce.wi.".
Daniel Jacobowitz [Sun, 10 Sep 2006 16:21:03 +0000 (16:21 +0000)]
PR threads/2149
* infrun.c (handle_inferior_event): Context switch after fork
and exec events.
Daniel Jacobowitz [Sun, 10 Sep 2006 15:44:36 +0000 (15:44 +0000)]
* infcall.c (call_function_by_hand): Check for function pointer
types.
gdbadmin [Sun, 10 Sep 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 9 Sep 2006 23:59:51 +0000 (23:59 +0000)]
daily update
Andreas Schwab [Sat, 9 Sep 2006 23:07:32 +0000 (23:07 +0000)]
* m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of
`move.l %R,-(%sp)'.
gdbadmin [Sat, 9 Sep 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 8 Sep 2006 23:59:52 +0000 (23:59 +0000)]
daily update
Kazu Hirata [Fri, 8 Sep 2006 17:08:05 +0000 (17:08 +0000)]
* lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal.
Nick Clifton [Fri, 8 Sep 2006 16:25:46 +0000 (16:25 +0000)]
PR gas/3129
* doc/as.texinfo (Macro): Improve documentation about separating macro arguments from following text.
Paul Brook [Fri, 8 Sep 2006 15:51:02 +0000 (15:51 +0000)]
2006-09-08 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores.
gas/testsuite/
* gas/arm/arm-it.s: New test.
* gas/arm/arm-it.d: New test.
H.J. Lu [Fri, 8 Sep 2006 13:43:54 +0000 (13:43 +0000)]
2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo: Document --dynamic-list-cpp-typeinfo.
Richard Earnshaw [Fri, 8 Sep 2006 10:32:28 +0000 (10:32 +0000)]
2006-09-04 Vladimir Prus <vladimir@codesourcery.com>
* ld-arm/use-thumb-lib.sym: Use regexps instead of
absolute addresses, for robustness.
Richard Earnshaw [Fri, 8 Sep 2006 10:30:27 +0000 (10:30 +0000)]
2006-09-08 Vladimir Prus <vladimir@codesourcery.com>
* elf32-arm.c (elf32_arm_swap_symbol_out): Remove
unconditional setting of low bit for Thumb symbol
mistakenly left behind after check for external
symbols was added. Fix comment typo.
gdbadmin [Fri, 8 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 7 Sep 2006 23:59:54 +0000 (23:59 +0000)]
daily update
Ian Lance Taylor [Thu, 7 Sep 2006 21:21:41 +0000 (21:21 +0000)]
More symbol resolution code.
Paul Brook [Thu, 7 Sep 2006 17:54:15 +0000 (17:54 +0000)]
2006-09-07 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (parse_operands): Mark operand as present.
gas/testsuite/
* gas/arm/neon-omit.s: Test three-argument variants.
* gas/arm/neon-omit.d: Update expected output.
H.J. Lu [Thu, 7 Sep 2006 17:16:34 +0000 (17:16 +0000)]
bfd/
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_link_hash_entry): Add a dynamic field.
(bfd_elf_link_mark_dynamic_symbol): New.
(SYMBOLIC_BIND): New.
* elf32-i386.c (elf_i386_check_relocs): Replace info->symbolic
with SYMBOLIC_BIND (info, h).
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise.
* elflink.c (bfd_elf_link_mark_dynamic_symbol): New.
(bfd_elf_record_link_assignment): Call
bfd_elf_link_mark_dynamic_symbol on new entry.
(_bfd_elf_merge_symbol): Likewise.
(_bfd_elf_export_symbol): Return if the symbol isn't exported.
(_bfd_elf_fix_symbol_flags): Replace info->symbolic with
SYMBOLIC_BIND (info, h).
(_bfd_elf_dynamic_symbol_p): Likewise.
(_bfd_elf_symbol_refs_local_p): Likewise.
(bfd_elf_size_dynamic_sections): Updated.
include/
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_elf_dynamic_list): New.
(bfd_link_info): Add a dynamic field.
ld/
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (CXX): Set to g++.
(CXX_FOR_TARGET): Likewise.
* Makefile.in: Regenerated.
* NEWS: Mention --dynamic-list.
* ld.texinfo: Document --dynamic-list.
* ldgram.y: Support dynamic list.
* ldlang.c (lang_process): Call lang_finalize_version_expr_head
on link_info.dynamic if needed.
(lang_append_dynamic_list): New.
(lang_append_dynamic_list_cpp_typeinfo): New.
* ldlang.h (lang_append_dynamic_list): Likewise.
* ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
* ldlex.h (input_enum): Add input_dynamic_list.
* ldlex.l: Handle it.
* ldmain.c (main): Initialize link_info.dynamic.
* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
(ld_options): Add entries for OPTION_DYNAMIC_LIST and
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
(parse_args): Handle OPTION_DYNAMIC_LIST and
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
ld/testsuite/
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/dl1.c: New file.
* ld-elf/dl1.list: Likewise.
* ld-elf/dl1.out: Likewise.
* ld-elf/dl1main.c: Likewise.
* ld-elf/dl2.c: Likewise.
* ld-elf/dl2.list: Likewise.
* ld-elf/dl2a.out: Likewise.
* ld-elf/dl2b.out: Likewise.
* ld-elf/dl2main.c: Likewise.
* ld-elf/dl2xxx.c: Likewise.
* ld-elf/dl2xxx.list: Likewise.
* ld-elf/dl3.cc: Likewise.
* ld-elf/dl3.list: Likewise.
* ld-elf/dl3a.out: Likewise.
* ld-elf/dl3b.out: Likewise.
* ld-elf/dl3header.h: Likewise.
* ld-elf/dl3main.cc: Likewise.
* ld-elf/shared.exp: Updated.
* lib/ld-lib.exp (run_ld_link_exec_tests): Take an optional
argument for source language. Use CC/CXX for link, depending
on source language.
(run_cc_link_tests): Likewise.
Nick Clifton [Thu, 7 Sep 2006 17:01:10 +0000 (17:01 +0000)]
* emulparams/h8300elf.sh: _tinydata should not be placed in relocatables.
* emulparams/h8300.sh: Likewise.
* emulparams/h8300sxelf.sh: Likewise.
Vladimir Prus [Thu, 7 Sep 2006 16:40:19 +0000 (16:40 +0000)]
Allow the HIGH-FRAME parameter for -stack-list-frames to be larger
than the number of available frames.
Joel Brobecker [Thu, 7 Sep 2006 16:22:57 +0000 (16:22 +0000)]
From Stephan Springl <springl-gdb@bfw-online.de>
* fork-child.c (fork_inferior): Fix typo.
gdbadmin [Thu, 7 Sep 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 6 Sep 2006 23:59:54 +0000 (23:59 +0000)]
daily update
Alan Modra [Wed, 6 Sep 2006 00:00:12 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 6 Sep 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Tue, 5 Sep 2006 18:56:50 +0000 (18:56 +0000)]
2006-09-05 Bibo Mao <bibo.mao@intel.com>
PR binutils/3171
* coffcode.h (coff_write_object_contents): Set the optional
header magic number to PE32PMAGIC instead of ZMAGIC for ia64.
Bob Wilson [Tue, 5 Sep 2006 17:45:53 +0000 (17:45 +0000)]
* gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,
Register Packet Format, Tracepoint Packets): Fix spelling errors.
H.J. Lu [Tue, 5 Sep 2006 16:26:29 +0000 (16:26 +0000)]
2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3015
* emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
is defined.
Paul Brook [Tue, 5 Sep 2006 14:07:22 +0000 (14:07 +0000)]
2006-09-04 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (do_neon_dyadic_if_i): Remove.
(do_neon_dyadic_if_i_d): Avoid setting U bit.
(do_neon_mac_maybe_scalar): Ditto.
(do_neon_dyadic_narrow): Force operand type to NT_integer.
(insns): Remove out of date comments.
gas/testsuite/
* gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes.
* gas/arm/neon-cov.d: Adjust expected output.
opcodes/
* arm-dis.c (neon_opcode): Fix suffix on VMOVN.
Nick Clifton [Tue, 5 Sep 2006 08:22:27 +0000 (08:22 +0000)]
PR binutils/3166
* objcopy.c (is_strip_section): Do not treat group sections as debugging sections.
* doc/binutils.texi (--only-keep-debug): Document that this switch is only intended for use on fully linked files.
gdbadmin [Tue, 5 Sep 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 4 Sep 2006 23:59:55 +0000 (23:59 +0000)]
daily update
Mark Shinwell [Mon, 4 Sep 2006 07:11:11 +0000 (07:11 +0000)]
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
(elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
and R_ARM_THM_PC12 relocations.
gdbadmin [Mon, 4 Sep 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 3 Sep 2006 23:59:56 +0000 (23:59 +0000)]
daily update
gdbadmin [Sun, 3 Sep 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 2 Sep 2006 23:59:57 +0000 (23:59 +0000)]
daily update
Eli Zaretskii [Sat, 2 Sep 2006 15:27:16 +0000 (15:27 +0000)]
* gdbint.texinfo (Overall Structure): New section "Source Tree
Structure".
gdbadmin [Sat, 2 Sep 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 2 Sep 2006 00:00:00 +0000 (00:00 +0000)]
daily update
Nick Clifton [Fri, 1 Sep 2006 11:38:20 +0000 (11:38 +0000)]
PR binutils/3146
* readelf.c (dump_relocations): Check for a NULL value in rtype before using it.
gdbadmin [Fri, 1 Sep 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 31 Aug 2006 23:59:58 +0000 (23:59 +0000)]
daily update
gdbadmin [Thu, 31 Aug 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 31 Aug 2006 00:00:03 +0000 (00:00 +0000)]
daily update
Corinna Vinschen [Wed, 30 Aug 2006 13:14:18 +0000 (13:14 +0000)]
* configure.in: Never build newlib for a Mingw host.
Never build newlib as Mingw target library.
Test the existence of winsup/cygwin for building a Cygwin newlib,
rather than just winsup.
Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if
building a Mingw target.
* configure: Regenerate.
Corinna Vinschen [Wed, 30 Aug 2006 13:08:27 +0000 (13:08 +0000)]
* configure.ac: Add case for Mingw as host.
* configure: Regenerate.
gdbadmin [Wed, 30 Aug 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 30 Aug 2006 00:00:00 +0000 (00:00 +0000)]
daily update
Nick Clifton [Tue, 29 Aug 2006 15:19:43 +0000 (15:19 +0000)]
* read.c (s_align): Initialize the 'stopc' variable to prevent
compiler complaints about it being used without being initialized.
(s_comm_internal, s_mri_common, s_fail, s_globl, s_space,
s_float_space, s_struct, cons_worker, equals): Likewise.
Thiemo Seufer [Tue, 29 Aug 2006 13:18:27 +0000 (13:18 +0000)]
* sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
SIM_QUIET_NAN_NEGATED.
Thiemo Seufer [Tue, 29 Aug 2006 13:16:19 +0000 (13:16 +0000)]
* sim-profile.c (profile_pc_init): Initialise default profiling
frequency to a prime number.
(profile_print_pc): Convert gmon.out sample data into target
byte order.
Thiemo Seufer [Tue, 29 Aug 2006 12:45:26 +0000 (12:45 +0000)]
* configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to
sim_igen_machine.
* configure: Regenerate.
* mips.igen (model): Add smartmips.
(MADDU): Increment ACX if carry.
(do_mult): Clear ACX.
(ROR,RORV): Add smartmips.
(include): Include smartmips.igen.
* sim-main.h (ACX): Set to REGISTERS[89].
* smartmips.igen: New file.
Thiemo Seufer [Tue, 29 Aug 2006 12:38:45 +0000 (12:38 +0000)]
* Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and
mips3264r2.igen. Add missing dependency rules.
* m16e.igen: Support for mips16e save/restore instructions.
Thiemo Seufer [Tue, 29 Aug 2006 12:18:43 +0000 (12:18 +0000)]
* testutils.inc (setup): __start is also a valid start symbol.
Nathan Sidwell [Tue, 29 Aug 2006 11:27:45 +0000 (11:27 +0000)]
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
Alan Modra [Tue, 29 Aug 2006 05:16:18 +0000 (05:16 +0000)]
Adjust target test.
Alan Modra [Tue, 29 Aug 2006 01:31:56 +0000 (01:31 +0000)]
* ecoff.c (ecoff_directive_val): Fix message typo.
* config/tc-ns32k.c (convert_iif): Likewise.
* config/tc-sh64.c (shmedia_check_limits): Likewise.
Alan Modra [Tue, 29 Aug 2006 01:24:17 +0000 (01:24 +0000)]
New tests.
gdbadmin [Tue, 29 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 29 Aug 2006 00:00:02 +0000 (00:00 +0000)]
daily update
DJ Delorie [Mon, 28 Aug 2006 21:13:31 +0000 (21:13 +0000)]
* m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
that may not be initialized elsewhere.
(m32c_decode_sd23): Likewise.
Alan Modra [Mon, 28 Aug 2006 01:52:56 +0000 (01:52 +0000)]
* scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
not match random object files in a path containing "crtbegin" or
"crtend" as part of a directory name.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/crisaout.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
DJ Delorie [Mon, 28 Aug 2006 00:56:25 +0000 (00:56 +0000)]
merge from gcc
gdbadmin [Mon, 28 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 28 Aug 2006 00:00:02 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 27 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 27 Aug 2006 00:00:03 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 26 Aug 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 26 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Bob Wilson [Fri, 25 Aug 2006 19:59:31 +0000 (19:59 +0000)]
* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not check
the state of the absolute_literals directive. Remove align frag at
the start of the literal pool position.
Bob Wilson [Fri, 25 Aug 2006 19:50:30 +0000 (19:50 +0000)]
* doc/c-xtensa.texi: Add @group commands in examples.
Thiemo Seufer [Fri, 25 Aug 2006 18:06:21 +0000 (18:06 +0000)]
Add myself as mips maintainer.
Daniel Jacobowitz [Fri, 25 Aug 2006 16:32:32 +0000 (16:32 +0000)]
* buildsym.c (finish_block): Don't adjust the boundaries of
nested functions.
Bob Wilson [Fri, 25 Aug 2006 00:08:55 +0000 (00:08 +0000)]
bfd/
* elf32-xtensa.c (xtensa_get_property_section_name): Delete.
(xtensa_get_property_section): New.
(xtensa_read_table_entries): Use xtensa_get_property_section.
(relax_property_section, xtensa_get_property_predef_flags): Handle
group name suffixes in property section names.
(match_section_group): New.
gas/
* config/tc-xtensa.c (FINI_LITERAL_SECTION_NAME): Delete.
(INIT_LITERAL_SECTION_NAME): Delete.
(lit_state struct): Remove segment names, init_lit_seg, and
fini_lit_seg. Add lit_prefix and current_text_seg.
(init_literal_head_h, init_literal_head): Delete.
(fini_literal_head_h, fini_literal_head): Delete.
(xtensa_begin_directive): Move argument parsing to
xtensa_literal_prefix function.
(xtensa_end_directive): Deallocate lit_prefix field of lit_state.
(xtensa_literal_prefix): Parse the directive argument here and
record it in the lit_prefix field. Remove code to derive literal
section names.
(linkonce_len): New.
(get_is_linkonce_section): Use linkonce_len. Check for any
".gnu.linkonce.*" section, not just text sections.
(md_begin): Remove initialization of deleted lit_state fields.
(xtensa_reorder_segments, xtensa_post_relax_hook): Remove references
to init_literal_head and fini_literal_head.
(xtensa_move_literals): Likewise. Skip literals for .init and .fini
when traversing literal_head list.
(match_section_group): New.
(cache_literal_section): Rewrite to determine the literal section
name on the fly, create the section and return it.
(xtensa_switch_to_literal_fragment): Adjust for cache_literal_section.
(xtensa_switch_to_non_abs_literal_fragment): Likewise.
(xtensa_create_property_segments, xtensa_create_xproperty_segments):
Use xtensa_get_property_section from bfd.
(retrieve_xtensa_section): Delete.
* doc/c-xtensa.texi (Xtensa Options): Fix --text-section-literals
description to refer to plural literal sections and add xref to
the Literal Directive section.
(Literal Directive): Describe new rules for deriving literal section
names. Add footnote for special case of .init/.fini with
--text-section-literals.
(Literal Prefix Directive): Replace old naming rules with xref to the
Literal Directive section.
ld/
* emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
* scripttempl/elfxtensa.sc (.text): Add .literal.*.
gdbadmin [Fri, 25 Aug 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***