platform/upstream/binutils.git
19 years ago * frags.h: Remove ANSI_PROTOTYPES conditional code.
Ben Elliston [Fri, 8 Jul 2005 05:57:21 +0000 (05:57 +0000)]
* frags.h: Remove ANSI_PROTOTYPES conditional code.
* config/obj-elf.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-i370.h: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-m68k.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-s390.h: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-xtensa.h: Likewise.

19 years ago * elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
Ben Elliston [Fri, 8 Jul 2005 05:44:53 +0000 (05:44 +0000)]
* elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
when ANSI_PROTOTYPES is defined.  Remove #ifdef logic.

19 years ago * bucomm.h: Include <stdarg.h> unconditionally, not only when
Ben Elliston [Fri, 8 Jul 2005 05:32:46 +0000 (05:32 +0000)]
* bucomm.h: Include <stdarg.h> unconditionally, not only when
ANSI_PROTOTYPES is defined.  Remove #ifdef logic.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.

19 years ago PR gas/1049
Hans-Peter Nilsson [Fri, 8 Jul 2005 03:54:30 +0000 (03:54 +0000)]
PR gas/1049
* config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.

19 years ago PR gas/1049
Hans-Peter Nilsson [Fri, 8 Jul 2005 03:53:12 +0000 (03:53 +0000)]
PR gas/1049
* gas/cris/rd-pic-2.d, gas/cris/rd-pic-2.s: New test.
* gas/cris/rd-abs32-1.d: Tweak for not emitting reloc-related
garbage for global symbols.

19 years ago2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 8 Jul 2005 00:26:53 +0000 (00:26 +0000)]
2005-07-07  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add special_sections.

* elf.c (_bfd_elf_get_sec_type_attr): Check special_sections
first.

* elf32-arm.c (elf_backend_get_sec_type_attr): Removed.
(elf_backend_special_sections): New. Defined.
* elf32-m32r.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-mips.h: Likewise.

* elfxx-target.h (elf_backend_special_sections): New.
(elfNN_bed): Initialize special_sections.

19 years agodaily update
Alan Modra [Fri, 8 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 8 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * xtensa-modules.c: Update tables with Xtensa MMU features.
Bob Wilson [Thu, 7 Jul 2005 21:50:57 +0000 (21:50 +0000)]
* xtensa-modules.c: Update tables with Xtensa MMU features.

19 years agoKaveh Ghazi's printf format attribute checking patch.
Jim Wilson [Thu, 7 Jul 2005 19:27:52 +0000 (19:27 +0000)]
Kaveh Ghazi's printf format attribute checking patch.
bfd:
* elf32-xtensa.c (vsprint_msg): Add format attribute.  Fix
format bugs.
* vms.h (_bfd_vms_debug): Add format attribute.
(_bfd_vms_debug, _bfd_hexdump): Fix typos.

binutils:
* bucomm.h (report): Add format attribute.
* dlltool.c (inform): Likewise.
* dllwrap.c (display, inform, warn): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error, warn): Likewise.  Fix format bugs.

gas:
* config/tc-tic30.c (debug): Add format attribute.  Fix format
bugs.

include:
* dis-asm.h (fprintf_ftype): Add format attribute.

opcodes:
* arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c,
d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c,
ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c,
m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c,
ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c,
v850-dis.c: Fix format bugs.
* ia64-gen.c (fail, warn): Add format attribute.
* or32-opc.c (debug): Likewise.

19 years ago2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 7 Jul 2005 17:44:58 +0000 (17:44 +0000)]
2005-07-07  H.J. Lu  <hongjiu.lu@intel.com>

PR 975
* elflink.c (_bfd_elf_symbol_refs_local_p): Only undefined
symbol with default visibility is local.

19 years ago * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.
Andreas Schwab [Thu, 7 Jul 2005 15:38:42 +0000 (15:38 +0000)]
* Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here.
* Makefile.in: Regenerated.

19 years agoFix the date of the last checkin.
H.J. Lu [Thu, 7 Jul 2005 15:08:20 +0000 (15:08 +0000)]
Fix the date of the last checkin.

19 years ago* observer.sh: Use different temporary file name depending on mode
Andreas Schwab [Thu, 7 Jul 2005 13:11:16 +0000 (13:11 +0000)]
* observer.sh: Use different temporary file name depending on mode
of operation to avoid clash during parallel build.

19 years ago * config.bfd: Mark m68*-*-rtemscoff as obsolete.
Ben Elliston [Thu, 7 Jul 2005 12:12:40 +0000 (12:12 +0000)]
* config.bfd: Mark m68*-*-rtemscoff as obsolete.

19 years agoarm-dis.c (opcode32 arm_opcodes): Fix ARM VFP fadds instruction disassembly
Nick Clifton [Thu, 7 Jul 2005 11:37:10 +0000 (11:37 +0000)]
arm-dis.c (opcode32 arm_opcodes): Fix ARM VFP fadds instruction disassembly
  pattern.
vfp1xD.d: Adjust expected fadds disassemblies now that the dissassembler has
  been fixed.

19 years ago * configure.in: Add --enable-libssp and --disable-libssp.
Kazu Hirata [Thu, 7 Jul 2005 02:24:02 +0000 (02:24 +0000)]
* configure.in: Add --enable-libssp and --disable-libssp.
* configure: Regenerate with autoconf-2.13.

19 years ago2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Thu, 7 Jul 2005 02:21:57 +0000 (02:21 +0000)]
2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>

* config.table: Delete file.  Move former contents into ...
* configure.ac: ... here and escape any brackets for m4.
* Makefile.in (config.status): Remove dependency on config.table.
* configure: Regenerate.

19 years ago2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Thu, 7 Jul 2005 02:19:14 +0000 (02:19 +0000)]
2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>

* config.in: Regenerate for 6/20 change.

19 years ago * configure.in: Don't build sim or rda when targetting darwin.
Geoffrey Keating [Thu, 7 Jul 2005 01:14:34 +0000 (01:14 +0000)]
* configure.in: Don't build sim or rda when targetting darwin.
* configure: Regenerate.

19 years agodaily update
Alan Modra [Thu, 7 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 7 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-07-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 6 Jul 2005 19:11:01 +0000 (19:11 +0000)]
2005-07-06  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add sse3.

* config/tc-i386.h (CpuSSE3): Renamed from ...
(CpuPNI): This. Defined as CpuSSE3.

* doc/c-i386.texi: Document .sse3.

19 years agoIndex: gdb/ChangeLog
Bob Rossi [Wed, 6 Jul 2005 14:54:37 +0000 (14:54 +0000)]
Index: gdb/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+ * fork-child.c (fork-inferior): Use accessor function for
+ inferior_io_terminal.
+ * infcmd.c (inferior_io_terminal): Make static.
+ (set_inferior_io_terminal): New function.
+ (get_inferior_io_terminal): Ditto.
+ (tty_command): Use accessor function.
+ (_initialize_infcmd): Add inferior_tty setshow variable.
+ (_initialize_infcmd): Remove tty command.
+ (_initialize_infcmd): Add a tty command that is an alias.
+ * inferior.h (set_inferior_io_terminal): New prototype.
+ (get_inferior_io_terminal): Ditto.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * inflow.c (inferior_thisrun_terminal): Add const qualifier.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * nto-procfs (procfs_create_inferior): Use accessor function.
+ (procfs_create_inferior): Add const qualifier to locals.
+ * win32-nat.c (child_create_inferior): Ditto.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+ (mi_cmd_inferior_tty_set): Ditto.
+ * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+ * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+ (mi_cmd_inferior_tty_show): Ditto.

Index: gdb/doc/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+ and -inferior-tty-show.
+ (Input/Output): Document "set/show inferior-tty" and tty alias.

Index: gdb/testsuite/ChangeLog
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+ * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+ command.
+ (Copyright): Update copyright.

19 years ago2005-07-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 6 Jul 2005 13:43:21 +0000 (13:43 +0000)]
2005-07-06  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (varinfo): Add addr.
(lookup_symbol_in_variable_table): Also check addr.
(scan_unit_for_symbols): Set addr for variable.
(comp_unit_find_line): Updated.

19 years agocoff-alpha.c (alpha_adjust_reloc_in): Issue an informative error message if an
Nick Clifton [Wed, 6 Jul 2005 10:35:41 +0000 (10:35 +0000)]
coff-alpha.c (alpha_adjust_reloc_in): Issue an informative error message if an
  unknown reloc is encountered.
  (alpha_relocate_section): Likewise.
ecoff.c (_bfd_ecoff_write_object_contents): Cope with a reloc with a missing
  howto field.

19 years agogas/
Jan Beulich [Wed, 6 Jul 2005 08:31:50 +0000 (08:31 +0000)]
gas/
2005-07-06  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.

19 years ago * Makefile.am (stamp-m32r): Fix path to cpu files.
Alan Modra [Wed, 6 Jul 2005 08:19:39 +0000 (08:19 +0000)]
* Makefile.am (stamp-m32r): Fix path to cpu files.
(stamp-m32r, stamp-iq2000): Likewise.
* Makefile.in: Regenerate.
* m32r-asm.c: Regenerate.
* po/POTFILES.in: Remove arm-opc.h.  Add ms1-asm.c, ms1-desc.c,
ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h.

19 years ago * iq2000.cpu: Include from binutils cpu dir.
Alan Modra [Wed, 6 Jul 2005 08:18:52 +0000 (08:18 +0000)]
* iq2000.cpu: Include from binutils cpu dir.

19 years ago * po/SRC-POTFILES.in: Add cpu-ms1.c, elf32-ms1.c, elf-vxworks.c,
Alan Modra [Wed, 6 Jul 2005 08:18:13 +0000 (08:18 +0000)]
* po/SRC-POTFILES.in: Add cpu-ms1.c, elf32-ms1.c, elf-vxworks.c,
elfxx-sparc.c.

19 years ago * tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
Wu Zhou [Wed, 6 Jul 2005 07:25:36 +0000 (07:25 +0000)]
* tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
scroll commands.

19 years ago * f-exp.y (yyparse): Add code to support exponentiation expression.
Wu Zhou [Wed, 6 Jul 2005 06:52:25 +0000 (06:52 +0000)]
* f-exp.y (yyparse): Add code to support exponentiation expression.
(yylex): Add code to scan exponentiation operator.
* eval.c (evaluate_subexp_standard): Add support for BINOP_EXP.
* valarith.c (value_binop): Reset errno to 0 before calling pow
to do exponentiation operation.

19 years ago* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
Wu Zhou [Wed, 6 Jul 2005 06:11:54 +0000 (06:11 +0000)]
* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
tests to evaluate exponentiation expression.

19 years agodaily update
Alan Modra [Wed, 6 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 6 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-07-05 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 Jul 2005 16:52:48 +0000 (16:52 +0000)]
2005-07-05  Paul Brook  <paul@codesourcery.com>

* elf32-ppc.c (ppc_elf_vxworks_special_sections): Remove.
(ppc_elf_vxworks_get_sec_type_attr): New function.
(elf_backend_special_sections): Remove vxwords definition.
(elf_backend_get_sec_type_attr): Define for vxworks.

19 years agoFix compile time warnings from a GCC 4.0 compiler
Nick Clifton [Tue, 5 Jul 2005 15:07:46 +0000 (15:07 +0000)]
Fix compile time warnings from a GCC 4.0 compiler

19 years ago2005-05-07 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 Jul 2005 13:25:56 +0000 (13:25 +0000)]
2005-05-07  Paul Brook  <paul@codesourcery.com>

bfd/
* config.bfd: Add separate case for ppc-vxworks.
* configure: Regenerate.
* configure.in: Include elf-vxworks.lo on ppc targets.
* elf-vxworks.c (elf_vxworks_final_write_processing): Handle
.rela.plt.unloaded.
* elf32-ppc.c: Add VxWorks target vec. Include elf-vxworks.h.
(PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE, PLT_SLOT_SIZE): Remove.
(VXWORKS_PLT_ENTRY_SIZE, ppc_elf_vxworks_plt_entry,
ppc_elf_vxworks_pic_plt_entry, VXWORKS_PLT_INITIAL_ENTRY_SIZE,
ppc_elf_vxworks_plt0_entry, ppc_elf_vxworks_pic_plt0_entry,
VXWORKS_PLT_NON_JMP_SLOT_RELOCS, VXWORKS_PLTRESOLVE_RELOCS,
VXWORKS_PLTRESOLVE_RELOCS_SHLIB): New.
(ppc_elf_link_hash_table): Add srelplt2, sgotplt, hgot, hplt,
is_vxworks, plt_entry_size, plt_slot_size, plt_initial_entry_size.
(ppc_elf_link_hash_table_create): Initialize hadtab plt fields.
(ppc_elf_create_got): Create .got.plt for VxWorks.
(ppc_elf_create_dynamic_sections): Create unloaded plt relocation
section for VxWorks.
(ppc_elf_select_plt_layout): Handle VxWorks plt format.
(allocate_got): VxWorks does not need a got header.
(allocate_dynrelocs): Handle VxWorks plt format.
(ppc_elf_size_dynamic_sections): Save _G_O_T_ and _P_L_T_ symbols for
VxWorks.  Handle VxWorks plt/got.
(ppc_elf_finish_dynamic_sections): Fill in VxWorks plt.
(ppc_elf_vxworks_special_sections): New.
(ppc_elf_vxworks_link_hash_table_create,
ppc_elf_vxworks_add_symbol_hook,
elf_i386_vxworks_link_output_symbol_hook,
ppc_elf_vxworks_final_write_processing): New functions.
* targets.c (bfd_elf32_powerpc_vxworks_vec): Declare.
(_bfd_target_vector): Use it.
gas/
* config/tc-ppc.c (ppc_target_format): Add VxWorks.
gas/testsuite/
* gas/ppc/altivec.d: Match all powerpc target vecs.
* gas/ppc/booke.d: Ditto.
* gas/ppc/e500.d: Ditto.
ld/
* Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
(eelf32ppcvxworks.o): Add dependencies.
* Makefile.in: Regenerate.
* configure.tgt: Add entry for powerpc-vxworks.
* emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
* emulparams/elf32ppcvxworks.sh: New file.
* emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
(is_ppc_elf32_vec): New function.
(ppc_after_open, ppc_before_allocation,
gld${EMULATION_NAME}_after_allocation): Use it.

19 years ago * config/tc-ms1.c: New.
Aldy Hernandez [Tue, 5 Jul 2005 13:08:08 +0000 (13:08 +0000)]
* config/tc-ms1.c: New.
* config/tc-ms1.h: New.
* testsuite/gas/ms1/allinsn.d: New.
* testsuite/gas/ms1/allinsn.s: New.
* testsuite/gas/ms1/badinsn.s: New.
* testsuite/gas/ms1/badinsn1.s: New.
* testsuite/gas/ms1/badoffsethigh.s: New.
* testsuite/gas/ms1/badoffsetlow.s: New.
* testsuite/gas/ms1/badorder.s: New.
* testsuite/gas/ms1/badreg.s: New.
* testsuite/gas/ms1/badsignedimmhigh.s: New.
* testsuite/gas/ms1/badsignedimmlow.s: New.
* testsuite/gas/ms1/badsyntax.s: New.
* testsuite/gas/ms1/badsyntax1.s: New.
* testsuite/gas/ms1/badunsignedimmhigh.s: New.
* testsuite/gas/ms1/badunsignedimmlow.s: New.
* testsuite/gas/ms1/errors.exp: New.
* testsuite/gas/ms1/ldst.s: New.
* testsuite/gas/ms1/misc.d: New.
* testsuite/gas/ms1/misc.s: New.
* testsuite/gas/ms1/ms1-16-003.d: New.
* testsuite/gas/ms1/ms1-16-003.s: New.
* testsuite/gas/ms1/ms1.exp: New.
* testsuite/gas/ms1/msys.d: New.
* testsuite/gas/ms1/msys.s: New.
* testsuite/gas/ms1/relocs.d: New.
* testsuite/gas/ms1/relocs.exp: New.
* testsuite/gas/ms1/relocs1.s: New.
* testsuite/gas/ms1/relocs2.s: New.

19 years ago(GENERATE_PIE_SCRIPT): Define as "yes".
Nick Clifton [Tue, 5 Jul 2005 12:17:55 +0000 (12:17 +0000)]
(GENERATE_PIE_SCRIPT): Define as "yes".

19 years agoAdd check to avoid corrupt input files whose section sizes are greater than
Nick Clifton [Tue, 5 Jul 2005 11:43:55 +0000 (11:43 +0000)]
Add check to avoid corrupt input files whose section sizes are greater than
the size of the input file.

19 years ago * libbfd-in.h (struct artdata): Add extended_names_size field.
Jakub Jelinek [Tue, 5 Jul 2005 09:45:54 +0000 (09:45 +0000)]
* libbfd-in.h (struct artdata): Add extended_names_size field.
* libbfd.h: Rebuilt.
* coff-rs600.c (_bfd_xcoff_archive_p): Don't clear fields in freshly
allocated object by bfd_zalloc.
* coff64-rs6000.c (xcoff64_archive_p): Likewise.
* ecoff.c (_bfd_ecoff_archive_p): Likewise.
* archive.c (_bfd_generic_mkarchive, bfd_generic_archive_p): Likewise.
(get_extended_arelt_filename): Fail if index is bigger or equal to
extended_names_size.
(_bfd_generic_read_ar_hdr_mag): Don't set bfd_error_malformed_archive,
get_extended_arelt_filename already did that.
(_bfd_slurp_extended_name_table): Initialize extended_names_size field.
Allocate one extra byte and clear it, in case extended names table
is not terminated.

19 years ago * libbfd-in.h (bfd_malloc2, bfd_realloc2, bfd_zmalloc2, bfd_alloc2,
Jakub Jelinek [Tue, 5 Jul 2005 09:44:20 +0000 (09:44 +0000)]
* libbfd-in.h (bfd_malloc2, bfd_realloc2, bfd_zmalloc2, bfd_alloc2,
bfd_zalloc2): New prototypes.
* bfd-in.h (HALF_BFD_SIZE_TYPE): Define.
* libbfd.c (bfd_malloc2, bfd_realloc2, bfd_zmalloc2): New functions.
* opncls.c (bfd_alloc2, bfd_zalloc2): New functions.
* elf.c (bfd_elf_get_elf_syms, setup_group, assign_section_numbers,
elf_map_symbols, map_sections_to_segments,
assign_file_positions_for_segments, copy_private_bfd_data,
swap_out_syms, _bfd_elf_slurp_version_tables): Use bfd_*alloc2
where appropriate.
* bfd-in2.h: Rebuilt.
* libbfd.h: Rebuilt.

* elf.c (_bfd_elf_print_private_bfd_data): Don't crash on bogus
verdef or verneed section.
(_bfd_elf_slurp_version_tables): Handle corrupt verdef and/or
verneed sections gracefully.
* elfxx-sparc.c (_bfd_sparc_elf_info_to_howto_ptr): Don't crash on
bogus relocation values.
* elf64-ppc.c (ppc64_elf_info_to_howto): Likewise.
* elf64-s390.c (elf_s390_info_to_howto): Likewise.
* elf32-s390.c (elf_s390_info_to_howto): Likewise.
* elf64-x86-64.c (elf64_x86_64_info_to_howto): Likewise.
* elfxx-ia64.c (lookup_howto): Likewise.

19 years ago * elf.c (bfd_elf_get_str_section): Allocate an extra byte after
Jakub Jelinek [Tue, 5 Jul 2005 09:38:45 +0000 (09:38 +0000)]
* elf.c (bfd_elf_get_str_section): Allocate an extra byte after
the end of strtab and clear it.
(elf_read): Remove.

19 years agoAdd Vietnamese translation.
Nick Clifton [Tue, 5 Jul 2005 09:17:22 +0000 (09:17 +0000)]
Add Vietnamese translation.

19 years ago(elf32_arm_size_dynamic_sections): Fix a typo and touchup logic like i386/ppc.
Nick Clifton [Tue, 5 Jul 2005 09:14:14 +0000 (09:14 +0000)]
(elf32_arm_size_dynamic_sections): Fix a typo and touchup logic like i386/ppc.

19 years agogas/
Jan Beulich [Tue, 5 Jul 2005 07:16:54 +0000 (07:16 +0000)]
gas/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.h (CpuSVME): New.
(CpuUnknownFlags): Include CpuSVME.
* config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
as alias of sledgehammer.
(md_assemble): Include invlpga in the check for insns with two source
operands.
(process_operands): Include SVME insns in the check for ignored
segment overrides. Adjust diagnostic.
(i386_index_check): Special-case SVME insns with memory operands.

gas/testsuite/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* gas/i386/svme.d: New.
* gas/i386/svme.s: New.
* gas/i386/svme64.d: New.
* gas/i386/i386.exp: Run new tests.

include/opcode/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add new insns.

opcodes/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (SVME_Fixup): New.
(grps): Use it for the lidt entry.
(PNI_Fixup): Call OP_M rather than OP_E.
(INVLPG_Fixup): Likewise.

19 years ago * elf.c (special_sections): Move const qualifier.
Alan Modra [Tue, 5 Jul 2005 06:23:37 +0000 (06:23 +0000)]
* elf.c (special_sections): Move const qualifier.
(special_sections_b..special_sections_t): Likewise.
* elf32-arm.c (elf32_arm_symbian_get_sec_type_attr): Remove duplicate
const.
(elf32_arm_symbian_special_sections): Move const qualifier.
* elf32-m32r.c: Similarly.
* elf32-m68hc11.c: Similarly.
* elf32-m68hc12.c: Similarly.
* elf32-mcore.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-sh64.c: Similarly.
* elf32-v850.c: Similarly.
* elf32-xtensa.c: Similarly.
* elf64-alpha.c: Similarly.
* elf64-hppa.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-sh64.c: Similarly.
* elfxx-ia64.c: Similarly.
* elfxx-mips.c: Similarly.

19 years ago*** empty log message ***
gdbadmin [Tue, 5 Jul 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 5 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago2005-07-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 4 Jul 2005 17:51:36 +0000 (17:51 +0000)]
2005-07-04  H.J. Lu  <hongjiu.lu@intel.com>

* tic30-dis.c (cnvt_tmsfloat_ieee): Use HUGE_VALF if defined.

19 years ago2005-07-04 Zack Weinberg <zack@codesourcery.com>
Paul Brook [Mon, 4 Jul 2005 14:58:52 +0000 (14:58 +0000)]
2005-07-04  Zack Weinberg  <zack@codesourcery.com>

* lib/gas-defs.exp (run_dump_tests): New proc.
(run_dump_test): Add support for new options: target, not-target,
skip, not-skip, error-output.  Document stderr.  Tidy a
little.
(slurp_options): If a line doesn't match the option regexp, but
does begin with #, ignore it; don't stop parsing options.
* gas/arm/arm.exp: Remove most code.  Use run_dump_tests.

* gas/arm/archv6t2-bad.d, gas/arm/armv1.d, gas/arm/iwmmxt-bad.d
* gas/arm/r15-bad.d, gas/arm/req.d, gas/arm/t16-bad.d
* gas/arm/undefined.d, gas/arm/undefined_coff.d, gas/arm/vfp-bad.d:
New files.
* gas/arm/bignum1.d, gas/arm/mapping.d, gas/arm/pic.d:
Only run on ELF targets.
* gas/arm/tls.d, gas/arm/unwind.d: Only run on ELF targets.
Skip on VxWorks.
* gas/arm/tls_vxworks.d, gas/arm/unwind_vxworks.d: New files.
* gas/arm/thumb.d, gas/arm/thumb32.d: Don't run on aout or pe.
* gas/arm/le-fpconst.d: Only run on *-*-pe.
* gas/arm/inst.d: Skip on WinCE.
* gas/arm/wince_inst.d: Skip unless WinCE.
* gas/arm/el_segundo.d: Mark up for actual use; adjust
expectations.
* gas/arm/el_segundo.s: Remove irrelevant junk.  Add padding
for a.out's sake.

19 years agoFix typo
Nick Clifton [Mon, 4 Jul 2005 14:36:02 +0000 (14:36 +0000)]
Fix typo

19 years agoFix compile time warning messages about signed/unsigned conflicts reported
Nick Clifton [Mon, 4 Jul 2005 14:27:07 +0000 (14:27 +0000)]
Fix compile time warning messages about signed/unsigned conflicts reported
by GCC 4.0

19 years agom32r-linux-ld support for position independent executables
Nick Clifton [Mon, 4 Jul 2005 13:54:36 +0000 (13:54 +0000)]
m32r-linux-ld support for position independent executables

19 years ago* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
Mark Kettenis [Mon, 4 Jul 2005 13:38:55 +0000 (13:38 +0000)]
* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
read_memory call.
* bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.

19 years ago* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
Mark Kettenis [Mon, 4 Jul 2005 13:29:13 +0000 (13:29 +0000)]
* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
* coffread.c (patch_type, process_coff_symbol): Likewise.
* corelow.c (core_open): Likewise.
* dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile):
* language.c (set_lang_str, set_type_str, set_range_str)
(set_case_str): Likewise.
* source.c (add_path, openp): Likewise.
* stabsread.c: Likewise.
* top.c (init_history): Likewise.
* utils.c (xfullpath): Likewise.
* value.c (lookup_internalvar): Likewise.
* cli/cli-cmds.c (cd_command): Likewise.
* cli/cli-dump.c (add_dump_command): Likewise.

19 years ago PR 1042
Alan Modra [Mon, 4 Jul 2005 10:30:09 +0000 (10:30 +0000)]
PR 1042
* elf.c (assign_file_positions_for_segments): Remove excluded
sections from the segment map.

19 years ago* i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change
Mark Kettenis [Mon, 4 Jul 2005 10:17:40 +0000 (10:17 +0000)]
* i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change
type of first argument to `const gdb_byte *'.
(i387_print_float_info, i387_register_to_value)
(i387_value_to_register, i387_supply_fsave, i387_collect_fsave)
(i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte
buffers.

19 years ago * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
Alan Modra [Mon, 4 Jul 2005 04:04:19 +0000 (04:04 +0000)]
* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.

19 years ago PR 1004
Alan Modra [Mon, 4 Jul 2005 01:53:44 +0000 (01:53 +0000)]
PR 1004
bfd/
* elf-bfd.h (struct elf_backend_data): Add get_sec_type_attr.  Delete
special_sections.
(_bfd_elf_get_special_section): Declare.
(bfd_elf_special_section): Update prototype.
* elf.c (special_sections): Remove unused outer entries.
(get_special_section): Delete.
(_bfd_elf_get_special_section): New function.
(_bfd_elf_get_sec_type_attr): Replace "name" arg with "sec".  Update
special_sections indexing.
(_bfd_elf_new_section_hook): Call backend get_sec_type_attr.
* elf32-arm.c (symbian_special_sections_d): Delete.
(symbian_special_sections_g, symbian_special_sections_h): Delete.
(symbian_special_sections_i, symbian_special_sections_f): Delete.
(symbian_special_sections_p): Delete.
(elf32_arm_symbian_special_sections): Merge above to here.
(elf32_arm_symbian_get_sec_type_attr): New function.
(elf_backend_special_sections): Don't define.
(elf_backend_get_sec_type_attr): Define.
* elf32-m32r.c: Similarly to elf32-arm.c.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elf32-ppc.c: Likewise.
(bfd_elf_special_section ppc_alt_plt): New.  Use it if .plt loadable.
* elfxx-mips.h (_bfd_mips_elf_get_sec_type_attr): Declare.
(_bfd_mips_elf_special_sections, elf_backend_special_sections): Delete.
(elf_backend_get_sec_type_attr): Define.
* elfxx-target.h (elf_backend_get_sec_type_attr): Define.
(elf_backend_special_sections): Don't define.
(elfNN_bed): Update.

binutils/
* objcopy.c (copy_object): Use bfd_make_section_with_flags.
(write_debugging_info): Likewise.
(setup_section): Use bfd_make_section_anyway_with_flags.
gas/
* config/obj-elf.c (obj_elf_change_section): Use backend
get_sec_type_attr.

19 years ago*** empty log message ***
gdbadmin [Mon, 4 Jul 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 4 Jul 2005 00:00:04 +0000 (00:00 +0000)]
daily update

19 years ago * Makefile.in (RUNTEST): Set to runtest.
Ben Elliston [Sun, 3 Jul 2005 20:46:50 +0000 (20:46 +0000)]
* Makefile.in (RUNTEST): Set to runtest.

19 years ago * src-release (do-proto-toplev): Remove dejagnu bits.
Ben Elliston [Sun, 3 Jul 2005 20:43:40 +0000 (20:43 +0000)]
* src-release (do-proto-toplev): Remove dejagnu bits.
(DEJAGNU_SUPPORT_DIRS): Remove.
(dejagnu.tar.bz2, dejagnu.tar): Likewise.
(GDBD_SUPPORT_DIRS): Likewise.
(gdb+dejagnu.tar.bz2, gdb+dejagnu.tar): Likewise.
(INSIGHTD_SUPPORT_DIRS): Likewise.
(insight+dejagnu.tar.bz2, insight+dejagnu.tar): Likewise.

19 years agomerge from gcc
DJ Delorie [Sun, 3 Jul 2005 19:16:20 +0000 (19:16 +0000)]
merge from gcc

19 years ago From Richard Henderson.
Daniel Jacobowitz [Sun, 3 Jul 2005 17:30:22 +0000 (17:30 +0000)]
From Richard Henderson.
* amd64-tdep.c (amd64_sse_type): New.
(amd64_register_info): Use it for xmm registers.  Constify.
(amd64_register_type): Initialize amd64_sse_type as needed.

19 years ago * configure.ac: Add arguments to AC_DEFINE calls.
Steve Ellcey [Sun, 3 Jul 2005 16:05:11 +0000 (16:05 +0000)]
* configure.ac: Add arguments to AC_DEFINE calls.
* acconfig.h: Remove file.
* acinclude.m4 (AC_GNU_SOURCE): Remove definition.
* configure: Regenerate.
* config.in: Regenerate.

19 years agoFrom Martin Simmons:
Mark Kettenis [Sun, 3 Jul 2005 08:22:47 +0000 (08:22 +0000)]
From Martin Simmons:
* configure.in: Check for getpwnam instead of getpwname.
* configure: Regenerate.

19 years agodaily update
Alan Modra [Sun, 3 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 3 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* gdb.texinfo (Packets): Change description of 'D' packet to note
Nathan J. Williams [Sat, 2 Jul 2005 15:39:48 +0000 (15:39 +0000)]
* gdb.texinfo (Packets): Change description of 'D' packet to note
that GDB does wait for a response.

19 years agodaily update
Alan Modra [Sat, 2 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 2 Jul 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* mips-tdep.c (mips_insn16_frame_prev_register)
Mark Kettenis [Fri, 1 Jul 2005 19:29:46 +0000 (19:29 +0000)]
* mips-tdep.c (mips_insn16_frame_prev_register)
(mips_insn32_frame_prev_register, mips_stub_frame_prev_register):
Change type of last argument to `gdb_byte *'.

19 years ago * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
Steve Ellcey [Fri, 1 Jul 2005 17:18:06 +0000 (17:18 +0000)]
* configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
* configure: Regenerate.
* config.in: Regenerate.
* server.h (NEED_DECLARATION_STRERROR):
Replace with !HAVE_DECL_STRERROR.

19 years ago * MAINTAINERS (Write After Approval): Add myself.
Steve Ellcey [Fri, 1 Jul 2005 17:13:09 +0000 (17:13 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

19 years ago * configure.in (AM_BINUTILS_WARNINGS): Add.
Steve Ellcey [Fri, 1 Jul 2005 15:19:47 +0000 (15:19 +0000)]
* configure.in (AM_BINUTILS_WARNINGS): Add.
(BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
* configure: Regenerate.
* config.in: Regenerate.
* objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*.
* bucomm.h: (NEED_DECLARATION_*): Ditto.

19 years ago* solib-svr4.c: Include "solib.h".
Mark Kettenis [Fri, 1 Jul 2005 15:10:26 +0000 (15:10 +0000)]
* solib-svr4.c: Include "solib.h".
* Makefile.in (solib-svr4.o): Update dependencies.

19 years agoUpdate function declarations to ISO C90 formatting
Nick Clifton [Fri, 1 Jul 2005 11:16:33 +0000 (11:16 +0000)]
Update function declarations to ISO C90 formatting

19 years agogas/
Jan Beulich [Fri, 1 Jul 2005 06:51:39 +0000 (06:51 +0000)]
gas/
2005-07-01  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (line_separator_chars): Add '{' and '}'.
(output_spill_psprel, output_spill_psprel_p): Combine.
(output_spill_sprel, output_spill_sprel_p): Combine.
(output_spill_reg, output_spill_regp_p): Combine.
(process_one_record): Handle psp_psprel.
(parse_predicate_and_operand): New.
(convert_expr_to_ab_reg): Two new parameters. Return void. Always
initialize output values. Emit diagnostic case here.
(convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1.
(add_unwind_entry): New second parameter. Allow first parameter to
be NULL. Parse optional tag, emit warning about further support for
it otherwise being missing. Check end-of-line when requested.
(dot_fframe): Clear operand when wrong. Allow tag.
(dot_vframe): Likewise.
(dot_vframesp): Likewise. Rename parameter, issue warning when psp
relative.
(dot_vframepsp): Remove.
(dot_altrp): Clear operand when wrong. Allow tag.
(dot_save): Likewise. Let default case also go through
add_unwind_entry.
(dot_savemem): Likewise.
(dot_restore): Don't return when wrong operand. Allow tag.
(dot_spillreg, dot_spillreg_p): Combine. Simplify by using
parse_predicate_and_operand and the new arguments to
convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
when wrong operand. Allow tag.
(dot_restorereg, dot_restorereg_p): Likewise.
(dot_spillmem, dot_spillmem_p): Likewise.
(dot_saveg): Clear operand when wrong. Perform tighter operand
checks. Allow tag.
(dot_savef): Likewise.
(dot_saveb): Likewise.
(dot_savegf): Likewise.
(dot_spill): Remove end-of-line check.  Combine. Simplify by using
parse_predicate_and_operand and the new arguments to
convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
when wrong operand. Allow tag.
(popcount): New.
(dot_label_state): Don't return when wrong operand.
(dot_copy_state): Likewise.
(dot_unwabi): Likewise. Check if in prologue.
(dot_body): Don't call demand_empty_rest_of_line.
(dot_prologue): Type of mask and grsave is unsigned. Perform tighter
operand checks.
(md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also
use dot_spillreg for .spillreg.p. Also use dot_spillmem for
.spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp.
(parse_operand): New second parameter. Don't deal with '}' here
anymore. Don't advance past end-of-line.
(parse_operands): Pass second argument to parse_operand.
(ia64_start_line): Prevent out-of-bounds access through
input_line_pointer. Deal with '}' here.
(ia64_unrecognized_line): Don't deal with '}' here.
(dot_alias): Use ignore_rest_of_line not its deprecated alias
discard_rest_of_line.

gas/testsuite/
2005-07-01  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/group-2.s: Use register as second operand of .prologue.
* gas/ia64/unwind-err.s: Add check for .vframesp.
* gas/ia64/unwind-err.l: Adjust.
* gas/ia64/strange.[sd]: New.
* gas/ia64/unwind-bad.[sl]: New.
* gas/ia64/unwind-ok.[sd]: New.
* gas/ia64/ia64.exp: Run new tests.

19 years ago * elf64-alpha.c (elf64_alpha_create_got_section): Always create
Alan Modra [Fri, 1 Jul 2005 04:46:08 +0000 (04:46 +0000)]
* elf64-alpha.c (elf64_alpha_create_got_section): Always create
a new .got section.
(elf64_alpha_create_dynamic_sections): Always make new sections
by using bfd_make_section_anyway_with_flags.  Check that .got not
already created.
(elf64_alpha_check_relocs): Delete "got_created".  Use tdata->gotobj
instead.

19 years ago * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
Alan Modra [Fri, 1 Jul 2005 01:55:01 +0000 (01:55 +0000)]
* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.

19 years agodaily update
Alan Modra [Fri, 1 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 1 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agomerge from gcc
DJ Delorie [Thu, 30 Jun 2005 23:03:37 +0000 (23:03 +0000)]
merge from gcc

19 years agoCorrect ChangeLog entry
Zack Weinberg [Thu, 30 Jun 2005 18:35:17 +0000 (18:35 +0000)]
Correct ChangeLog entry

19 years agogas:
Zack Weinberg [Thu, 30 Jun 2005 18:33:17 +0000 (18:33 +0000)]
gas:
* config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
(encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
(do_t_branch, insns [b, bl]): Don't encode pipeline offset.
(s_arm_elf_cons): Disallow use of (plt) suffix.
(do_adrl): Adjust X_add_number unconditionally.
(md_pcrel_from): Rename md_pcrel_from_section, add second segT
argument.  Handle all adjustment for pipeline offset here.
(md_apply_fix): No need to undo work of md_pcrel_from.  No
need to extract pre-encoded pipeline adjustments from various
branch instructions.  Generally, assume instructions are already
all-bits-zero in the field being fixed up.  Remove all OBJ_ELF
special cases.  Handle BFD_RELOC_ARM_PLT32 like
BFD_RELOC_ARM_PCREL_BRANCH.
(tc_gen_reloc): Remove OBJ_ELF special case.
* config/tc-arm.c: Define MD_PCREL_FROM_SECTION.

gas/testsuite:
* gas/arm/arm.exp: Don't special case ldconst, arm7t, or copro
for *-wince-*.
* gas/arm/wince_arm7t.d, gas/arm/wince_copro.d
* gas/arm/wince_ldconst.d: Delete.

19 years ago * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Ignore dynamic
Alan Modra [Thu, 30 Jun 2005 08:11:15 +0000 (08:11 +0000)]
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Ignore dynamic
_SDA_BASE_ and _SDA2_BASE_ symbols.
* elflink.c (_bfd_elf_provide_symbol): Correct comment.  Define
sym if not def_regular.
(_bfd_elf_provide_section_bound_symbols): Similarly.

19 years ago * Makefile.am (check-DEJAGNU): Don't search for expect.
Ben Elliston [Thu, 30 Jun 2005 00:54:06 +0000 (00:54 +0000)]
* Makefile.am (check-DEJAGNU): Don't search for expect.
* Makefile.in: Regenerate.

19 years agodaily update
Alan Modra [Thu, 30 Jun 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 30 Jun 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config.bfd: Mark as obsolete:
Ben Elliston [Wed, 29 Jun 2005 21:22:13 +0000 (21:22 +0000)]
* config.bfd: Mark as obsolete:
    m68*-apollo-*
    m68*-apple-aux*
    m68*-bull-sysv*

19 years ago * Makefile.am (EXPECT): Set to expect.
Ben Elliston [Wed, 29 Jun 2005 20:30:00 +0000 (20:30 +0000)]
* Makefile.am (EXPECT): Set to expect.
(RUNTEST): Likewise, set to runtest.
* Makefile.in: Regenerate.

19 years ago * setup.com (mpw): Remove unused directive.
Ben Elliston [Wed, 29 Jun 2005 19:12:31 +0000 (19:12 +0000)]
* setup.com (mpw): Remove unused directive.

19 years ago * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
Andreas Schwab [Wed, 29 Jun 2005 15:01:49 +0000 (15:01 +0000)]
* gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
main to avoid warnings.

* gdb.base/sigrepeat.exp: Fix reference to undefined variable.

19 years ago * elflink.c (_bfd_elf_gc_mark): Mark sections referenced by
Alan Modra [Wed, 29 Jun 2005 14:05:21 +0000 (14:05 +0000)]
* elflink.c (_bfd_elf_gc_mark): Mark sections referenced by
.eh_frame specially..
(bfd_elf_gc_sections): ..rather than totally ignoring .eh_frame.
Don't recheck sections we have already marked.
(elf_gc_sweep): Keep non-code sections referenced from .eh_frame.
* section.c (struct bfd_section): Add gc_mark_from_eh.
(STD_SECTION): Adjust.
* ecoff.c (bfd_debug_section): Adjust.
* bfd-in2.h: Regenerate.

19 years ago * elflink.c (elf_gc_sweep): Do not refcount on sections that have
Alan Modra [Wed, 29 Jun 2005 13:56:06 +0000 (13:56 +0000)]
* elflink.c (elf_gc_sweep): Do not refcount on sections that have
not been processed by check_relocs.

19 years ago2005-06-29 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 29 Jun 2005 13:16:44 +0000 (13:16 +0000)]
2005-06-29  Paul Brook  <paul@codesourcery.com>

* bfd-in.h (_bfd_elf_provide_symbol): Update prototype.
* bfd-in2.h: Regenerate.
* elf32-ppc.c (ppc_elf_set_sdata_syms): Make sdata symbols section
relative.
* elflink.c (bfd_elf_set_symbol): Add section argument.
(_bfd_elf_provide_symbol): Ditto.
(_bfd_elf_provide_section_bound_symbols): Pass NULL section argument.

19 years agoRemove dejagnu/ entry.
Ben Elliston [Wed, 29 Jun 2005 02:05:07 +0000 (02:05 +0000)]
Remove dejagnu/ entry.