binutils-gdb.git
19 years ago * merge.c (merge_strings): Round up section size for alignment.
Alan Modra [Thu, 14 Apr 2005 00:27:20 +0000 (00:27 +0000)]
* merge.c (merge_strings): Round up section size for alignment.

19 years agodaily update
Alan Modra [Thu, 14 Apr 2005 00:00:04 +0000 (00:00 +0000)]
daily update

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

19 years ago2005-04-14 David S. Miller <davem@davemloft.net>
Jakub Jelinek [Wed, 13 Apr 2005 22:29:36 +0000 (22:29 +0000)]
2005-04-14  David S. Miller  <davem@davemloft.net>

bfd/
Add TLS support for 64-bit Sparc ELF.
*  elf64-sparc.c (sparc64_elf_dyn_relocs,
sparc64_elf_link_hash_entry, sparc64_elf_obj_tdata): New structs.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLD_GD, GOT_TLD_IE,
sparc64_elf_hash_entry, sparc64_elf_tdata,
sparc64_elf_local_got_tls_type): New defines.
(sparc64_elf_mkobject): New function.
(sparc64_elf_link_hash_table): Add members for dynamic linker
sections PLT, RELPLT, DYNBSS, and RELBSS.  Add tls_ldm_got
uion to track TLS GOT references.  Add sym_sec to cache
mappings from local sym to section.
(link_hash_newfunc): New function.
(sparc64_elf_bfd_link_hash_table_create): Rename to
sparc64_elf_link_hash_table_create for consistency.
Pass link_hash_newfunc to _bfd_elf_link_hash_table_init.
(sparc64_elf_create_dynamic_sections): Initialize new section
members of sparc64_elf_link_hash_table.  Only init srelbss
if not-shared.
(sparc64_elf_copy_indirect_symbol, sparc64_elf_tls_transition):
New functions.
(SPARC_NOP): Define.
(sparc64_elf_build_plt, sparc64_elf_plt_entry_offset,
sparc64_elf_plt_ptr_offset): Delete.
(sparc64_plt_entry_build): New function to build PLT entries
gradually instread of all at once at the end of linking.
(sparc64_elf_check_relocs): Delete dynobj, sgot, and srelgot
local vars.  Get them from sparc64_elf_hash_table instead.
Check early on if r_symndx is in bounds.  Handle TLS transitions.
Account for TLS GOT references and DF_STATIC_TLS, as needed.
For TLS relocs, record the tls_type in either
sparc64_elf_local_got_tls_type or sparc64_elf_hash_entry as
appropriate.  For R_SPARC_TLS_{GD,LDM}_CALL, emit a reference
to the __tls_get_addr symbol.  For PLT relocs, track references
via h->plt.refcount.  When R_SPARC_{PC10,PC22,PC_HH22,PC_HM10,
PC_LM22} and h not-NULL, set h->non_got_ref.  For global data
symbol references, count the number of relocations needed for
that symbol.  For default switch case, don't error, this lets
the TLS relocs not explicitly handled by this function get
accepted.
(sparc64_elf_gc_mark_hook, sparc64_gc_sweep_hook): New functions.
(sparc64_elf_adjust_dynamic_symbol): Remove dynobj local var, get
it from sparc64_elf_hash_table.  Store the real PLT offset
in h->plt.offset, and build PLT entries one at a time.  Also
get .dynbss section pointer from htab.
(allocate_dynrelocs, readonly_dynrelocs,
sparc64_omit_section_dynsym): New functions.
(sparc64_elf_omit_section_dynsym): Use these new functions as
helpers.
(dtpoff_base, tpoff): New functions.
(sparc64_elf_relocate_section): Kill dynobj, sgot, and splt
locals, get them from sparc64_elf_hash_table.  Handle TLS
relocations and refcounting in main relocation loop.
(sparc64_elf_finish_dynamic_symbol): Use
sparc64_elf_link_hash_table.  Build PLT entries as we see
them.  Handle TLS GOT relocations.
(sparc64_elf_finish_dynamic_sections): Get sgot and dynobj
from sparc64_elf_hash_table.  Initialize only PLT header
not all entries since we not build PLT entries one by one.
(elf_backend_copy_indirect_symbol, bfd_elf64_mkobject,
elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook,
elf_backend_can_gc_sections, elf_backend_can_refcount): Define.
ld/testsuite/
* ld-selective/sel-dump.exp: Do not exclude sparc64-*.
* ld-selective/selective.exp: Likewise.
* ld-sparc/sparc.exp: Add {32,64}-bit prefix to test
names so we know which one is failing.  Run sparc64 TLS
tests on multi-arch sparc platforms.
* ld-sparc/tls64.sd, ld-sparc/tlssunbin64.dd,
ld-sparc/tlssunbin64.rd, ld/testsuite/ld-sparc/tlssunbin64.sd,
ld-sparc/tlssunbin64.td, ld-sparc/tlssunnopic64.dd,
ld-sparc/tlssunnopic64.rd, ld-sparc/tlssunnopic64.sd,
ld-sparc/tlssunpic64.dd, ld-sparc/tlssunpic64.rd,
ld-sparc/tlssunpic64.sd, ld-sparc/tlssunpic64.td): Update now
that sparc64 ELF does support TLS.

19 years agogas/:
Maciej W. Rozycki [Wed, 13 Apr 2005 18:17:10 +0000 (18:17 +0000)]
gas/:
* config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
(normalize_address_expr): New function to sign-extend address
offsets that fit into 32 bits in 32-bit mode.
(macro_build_ldst_constoffset): Use normalize_address_expr()
instead of a handcoded sequence.
(load_register): Likewise.  Report oversized numbers in a useful
way.
(macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
for constant addresses.  Report oversized numbers in a useful way.
(mips_ip): Use normalize_address_expr() for addresses.

gas/testsuite/:
* gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail
and include more instructions/offsets that are meant to succeed.
Use $4 instead $3 to avoid register dependencies.
* gas/mips/ldstla-32.d: Update accordingly.
* gas/mips/ldstla-32-shared.d: Likewise.
* gas/mips/ldstla-32-mips3.d: New test based on the above, except
for mips3.
* gas/mips/ldstla-32-mips3-shared.d: Similarly, for PIC.
* gas/mips/ldstla-32-mips3.s: Source for the new tests.
* gas/mips/ldstla-32-1.s: New test for offsets that are meant to
fail.
* gas/mips/ldstla-32-mips3-1.s: Likewise, for mips3.
* gas/mips/ldstla-32-1.l: Stderr output for the new test.
* gas/mips/ldstla-32-mips3-1.l: Likewise.
* gas/mips/mips.exp: Run the new tests.

19 years agoMove entries in ChangeLog-9103 to appropriate */ChangeLog-9103.
H.J. Lu [Wed, 13 Apr 2005 17:33:48 +0000 (17:33 +0000)]
Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103.

19 years agoMove entries to appropriate ChangeLog files.
H.J. Lu [Wed, 13 Apr 2005 16:53:25 +0000 (16:53 +0000)]
Move entries to appropriate ChangeLog files.

19 years agobfd/
H.J. Lu [Wed, 13 Apr 2005 16:44:08 +0000 (16:44 +0000)]
bfd/

2005-04-13  Daniel Jacobowitz  <dan@codesourcery.com>

* elflink.c (elf_link_input_bfd): Update check for removed
sections.

ld/testsuite/

2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/empty.d: New file.
* ld-elf/empty.s: Likewise.

19 years agomerge from gcc
DJ Delorie [Wed, 13 Apr 2005 01:06:55 +0000 (01:06 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Wed, 13 Apr 2005 01:05:22 +0000 (01:05 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Wed, 13 Apr 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 13 Apr 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Tue, 12 Apr 2005 20:14:35 +0000 (20:14 +0000)]
2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>

        * lib/gdb.exp (test_compiler_info): Give argument a default value.

19 years ago2005-04-12 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 12 Apr 2005 19:35:53 +0000 (19:35 +0000)]
2005-04-12  Paul Brook  <paul@codesourcery.com>

* opcode/m88k.h: Rename psr macros to avoid conflicts.

19 years agoinclude/opcode/ChangeLog:
Mark Kettenis [Tue, 12 Apr 2005 17:12:33 +0000 (17:12 +0000)]
include/opcode/ChangeLog:
* i386.h (i386_optab): Mark VIA PadLock instructions as ImmExt and
adjust them accordingly.
gas/ChangeLog:
* config/tc-i386.c (output_insn): Handle VIA PadLock instructions
similar to other instructions now that they're marked as ImmExt.

19 years agomerge from gcc
DJ Delorie [Tue, 12 Apr 2005 15:04:41 +0000 (15:04 +0000)]
merge from gcc

19 years ago* hash.c (DEFAULT_SIZE): Delete. Replace with:
Nick Clifton [Tue, 12 Apr 2005 08:42:41 +0000 (08:42 +0000)]
* hash.c (DEFAULT_SIZE): Delete.  Replace with:
  (gas_hash_table_size): New static variable.
  (set_gas_hash_table_size): New function:  Records a requested size for the hash tables.
  (get_gas_hash_table_size): New function: Return a prime number near the requested size of the hash table.
  (hash_new): Use get_gas_hash_table_size.
* hash.h: Add a prototype for set_gas_hash_table_size.
* as.c (show_usage): Add description of new switches: --hash-size and --reduce-memory-overheads.
  (option_values): Add OPTION_HASH_TABLE_SIZE and OPTION_REDUCE_MEMORY_OVERHEADS.
  (std_longpopts): Add entries for the new options.
  (parse_args): Handle the new options.
* Makefile.am: Add a dependency of as.c on hash.h.
* Makefile.in: Regenerate.
* doc/as.texinfo: Document the new switches.
* NEWS: Mention the new switches.

19 years agoPR gas/818
Nick Clifton [Tue, 12 Apr 2005 08:39:34 +0000 (08:39 +0000)]
PR gas/818
* config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] synonyms.

19 years agobfd/
Alan Modra [Tue, 12 Apr 2005 02:50:28 +0000 (02:50 +0000)]
bfd/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* libcoff.h: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.
binutils/
* Makefile.am: Run "make dep-am".
(syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
(sysroff.o, defparse.o, deflex.o): Likewise.
(nlmheader.o, rcparse.o, rclex.o): Likewise.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
gas/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
* Makefile.am: Run "make dep-am".
(ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
* Makefile.in: Regenerate.
* config.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Tue, 12 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 12 Apr 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
Bob Wilson [Mon, 11 Apr 2005 22:45:37 +0000 (22:45 +0000)]
* config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.

19 years ago* gas/all/gas.exp: Don't run fastcall labels test on
Mark Kettenis [Mon, 11 Apr 2005 22:32:22 +0000 (22:32 +0000)]
* gas/all/gas.exp: Don't run fastcall labels test on
i*86-*-openbsd*.

19 years ago* configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
Mark Kettenis [Mon, 11 Apr 2005 22:31:37 +0000 (22:31 +0000)]
* configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.

19 years ago2005-04-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 11 Apr 2005 22:21:23 +0000 (22:21 +0000)]
2005-04-11  H.J. Lu  <hongjiu.lu@intel.com>

* linker.c (_bfd_generic_link_output_symbols): Also check if
the output section of an input section has been removed from
the output file.

* section.c (bfd_section_list_remove): Clear the next field
of the removed section.
(bfd_section_removed_from_list): New.
* bfd-in2.h: Regenerated.

19 years ago2005-04-11 David S. Miller <davem@davemloft.net>
Jakub Jelinek [Mon, 11 Apr 2005 22:13:28 +0000 (22:13 +0000)]
2005-04-11  David S. Miller  <davem@davemloft.net>

* elf32-sparc.c (elf32_sparc_relocate_section,
R_SPARC_TLS_LDO_{HIX22,LOX10}): When not shared, transition to
R_SPARC_TLS_LE_{HIX22,LOX10}.
(elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_HIX22): Only
xor relocation with 0xffffffff if R_SPARC_TLS_LE_HIX22.
(elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_LOX10): Only
or 0x1c00 into relocation if R_SPARC_TLS_LE_HIX22.

* ld-sparc/tlssunbin32.dd: Update for TLS relocation fixes.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunbin32.sd: Likewise.
* ld-sparc/tlssunpic32.dd: Likewise.

19 years agomerge from gcc
DJ Delorie [Mon, 11 Apr 2005 19:32:04 +0000 (19:32 +0000)]
merge from gcc

19 years ago2005-04-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 11 Apr 2005 16:55:48 +0000 (16:55 +0000)]
2005-04-11  H.J. Lu  <hongjiu.lu@intel.com>

* coffcode.h (STRING_SIZE_SIZE): Updated to match libcoff-in.h.

19 years agobinutils/
Jan Beulich [Mon, 11 Apr 2005 15:16:22 +0000 (15:16 +0000)]
binutils/
2005-04-11  Jan Beulich  <jbeulich@novell.com>

* MAINTAINERS: Add myself as ix86 Intel mode maintainer.

19 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
Alan Modra [Mon, 11 Apr 2005 14:26:46 +0000 (14:26 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
as_needed libs that were not needed.
(gld${EMULATION_NAME}_check_needed): Likewise.

19 years agogdb/
Daniel Jacobowitz [Mon, 11 Apr 2005 14:13:14 +0000 (14:13 +0000)]
gdb/
* config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
gdb/testsuite/
* Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
gdb.server.
* configure.ac: Likewise.
* configure: Regenerated.
* gdb.gdbserver/Makefile.in: Moved to...
* gdb.server/Makefile.in: ... here.
* gdb.gdbserver/server.c: Moved to...
* gdb.server/server.c: ... here.
* gdb.gdbserver/server-run.exp: Moved to...
* gdb.server/server-run.exp: ... here.

19 years agogas/
Jan Beulich [Mon, 11 Apr 2005 12:46:38 +0000 (12:46 +0000)]
gas/
2005-04-11  Jan Beulich  <jbeulich@novell.com>

* NEWS: Mention these changes and their effects.
* macro.c (get_token): Use is_name_beginner/is_part_of_name/
is_name_ender.
(check_macro): Likewise.
(buffer_and_nest): Likewise. Permit multiple labels. Don't discard
labels together with the closing pseudo-op.
(macro_expand_body): Adjust comment. Range-check input before use.
Adjust mis-spelled diagnostic. Use is_name_beginner.
* read.c (try_macro): New.
(read_a_source_file): New static variable last_eol. Don't list
macro expansion lines more than once. Call try_macro.
(s_macro): Set section of line_label to absolute instead of undefined.
* doc/as.texinfo: Add information on the caveats of these changes.

gas/testsuite/
2005-04-11  Jan Beulich  <jbeulich@novell.com>

* gas/macros/dot.[ls]: New.
* gas/macros/macros.exp: Run new test.

19 years agoConvert to ISO C90 formatting
Nick Clifton [Mon, 11 Apr 2005 08:23:05 +0000 (08:23 +0000)]
Convert to ISO C90 formatting

19 years ago * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
Alan Modra [Mon, 11 Apr 2005 00:08:08 +0000 (00:08 +0000)]
* symbols.c (symbol_X_add_number): Change return type to "offsetT *".
* symbols.h (symbol_X_add_number): Update prototype.

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

19 years agodaily update
Alan Modra [Mon, 11 Apr 2005 00:00:10 +0000 (00:00 +0000)]
daily update

19 years ago2005-04-10 Eric Christopher <echristo@redhat.com>
Eric Christopher [Sun, 10 Apr 2005 23:41:32 +0000 (23:41 +0000)]
2005-04-10  Eric Christopher  <echristo@redhat.com>

        * symbols.c (symbol_X_add_number): Fix warning.

19 years agoUpdate copyright years.
Eli Zaretskii [Sun, 10 Apr 2005 21:20:27 +0000 (21:20 +0000)]
Update copyright years.

19 years ago* rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
Mark Kettenis [Sun, 10 Apr 2005 21:14:37 +0000 (21:14 +0000)]
* rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
floating-point registers.
(ppc_collect_fpregset): Likewise.  Fix collection of registers.

19 years ago2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 10 Apr 2005 16:28:08 +0000 (16:28 +0000)]
2005-04-10  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-m68k.c (md_begin): Support 64bit host.
(get_num): Support 64bit BFD on 32bit host.

19 years ago2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 10 Apr 2005 16:25:51 +0000 (16:25 +0000)]
2005-04-10  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.

19 years agodaily update
Alan Modra [Sun, 10 Apr 2005 00:00:04 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 10 Apr 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * gdb.texinfo (Print Settings): Document "set/show print
Eli Zaretskii [Sat, 9 Apr 2005 15:37:20 +0000 (15:37 +0000)]
* gdb.texinfo (Print Settings): Document "set/show print
pascal_static-members", "set print repeats", "show print
null-stop".  Improve indexing.  Fix documentation of "set print
union".
(Pascal): New section.
(Supported languages): Rename from "Support"; all references
updated.  Add a menu item for Pascal.
(Numbers): Document "set radix.
(Screen Size): Document "set/show pagination".
(MIPS Embedded): Remove "set processor" documentation.
(Remote configuration): Document "set/show X/P/Z-packet",
"set/show read-aux-vector-packet", "set/show remote
symbol-lookup-packet", "set/show remote verbose-resume-packet",
"set/show remoteaddresssize", "set/show remotebaud", "set/show
remotedebug", "set/show remotebreak", "set/show remotedevice",
"set/show remotelogfile".
(Auxiliary Vector): Add reference to the description of the
read-aux-vector-packet setting.
(Set Watchpoints): Add a cross-reference to "set remote
hardware-breakpoint-limit".
(General Query Packets): Add indexing of requests and
cross-references to related commands in "Remote configuration".
(File-I/O Overview, The system call): Fix wording and typos.
(Thread Stops): Add index entries.
(Continuing and Stepping): Document "show step-mode".
(i386): New node.  Document "set/show struct-convention".
(Files): Document "show trust-readonly-sections".
(Calling): Document "set/show unwindonsignal".
(Messages/Warnings): Add index entries.
(Maintenance Commands): Document "set/show watchdog".
(Annotations Overview): Document "show annotate".
(Set Watchpoints): Add index entries.
(Symbols): Fix doc of case-sensitive.
(ABI): Document "show coerce-float-to-double".
(Convenience Vars, Help): Improve indexing.
(Machine Code): Document "show disassembly-flavor".
(Debugging C plus plus): Document "show overload-resolution".
(Value History, Signaling): Add index entries.

* gdb.texinfo (Show): Move @kindex entries to their proper places.
(Processes): Fix wording.
(History, List, Logging output, Define, Symbols, Print Settings):
Improve indexing.

19 years ago* ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h"
Mark Kettenis [Sat, 9 Apr 2005 11:39:38 +0000 (11:39 +0000)]
* ppcobsd-tdep.c: Update copyright year.  Include "trad-frame.h"
and "tramp-frame.h".
(ppcobsd_sigtramp_cache_init): New function.
(ppcobsd_sigtramp): New variable.
(ppcobsd_init_abi): Prepend signal trampoline unwinder.
* Makefile.in (ppcobsd-tdep.o): Update dependencies.

19 years ago * read.c (assign_symbol): Remove const from parm. Fix xcalloc
Alan Modra [Sat, 9 Apr 2005 06:21:19 +0000 (06:21 +0000)]
* read.c (assign_symbol): Remove const from parm.  Fix xcalloc
call.  Don't do the COFF hacks for multi-emulation gas.  Move
demand_empty_rest_of_line back to caller.
(s_set, equals): demand_empty_rest_of_line here.

19 years ago PR gas/827
Alan Modra [Sat, 9 Apr 2005 03:48:09 +0000 (03:48 +0000)]
PR gas/827
* as.h (rs_dummy): Define.
* symbols.c (symbol_X_add_number): New function.
* symbols.h (symbol_X_add_number): Declare.
* stabs.c (aout_process_stab): Tidy symbol frag setting.
* read.c (assign_symbol): New function, split out from s_set.
Use symbol_find_or_make.  Leave fr_type of dummy frag as rs_dummy.
Fix COFF hacks for multi-emulation gas.
(s_set): Call assign_symbol.  Remove "register" keyword.
(set_zero_frag): New function.
(pseudo_set): Always check for assignment to section syms.
Always set segment and frag of symbol, and likewise extern for
aout/bout.  Handle assignment of sym=sym+/-const specially.  Don't
special case exp.X_add_number non-zero for O_symbol expressions.
(equals): Use assign_symbol.

19 years agoDropping mi.
Andrew Cagney [Sat, 9 Apr 2005 02:36:06 +0000 (02:36 +0000)]
Dropping mi.

19 years ago2005-04-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 9 Apr 2005 00:29:37 +0000 (00:29 +0000)]
2005-04-08  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
Nasser have decided to step back from GDB/MI.

19 years agodaily update
Alan Modra [Sat, 9 Apr 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 9 Apr 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
Bob Wilson [Fri, 8 Apr 2005 17:26:42 +0000 (17:26 +0000)]
* config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
SEC_MERGE sections.

19 years agogdb/testsuite/
Daniel Jacobowitz [Fri, 8 Apr 2005 12:57:00 +0000 (12:57 +0000)]
gdb/testsuite/
* Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
* configure.ac: Create gdb.gdbserver/Makefile.
* configure: Regenerated.
* lib/gdbserver-support.exp: New file, derived from
config/gdbserver.exp.
* config/gdbserver.exp: Use gdbserver-support.exp.
* gdb.gdbserver/Makefile.in: New file.
* gdb.gdbserver/server.c: New file.
* gdb.gdbserver/server-run.exp: New file.
gdb/
* config/fnchange.lst: Add testsuite/gdb.gdbserver entries.

19 years ago * dwarf2-frame.c (struct dwarf2_frame_cache): New field
Daniel Jacobowitz [Fri, 8 Apr 2005 12:10:21 +0000 (12:10 +0000)]
* dwarf2-frame.c (struct dwarf2_frame_cache): New field
undefined_retaddr.
(dwarf2_frame_cache): Initialize undefined_retaddr.
(dwarf2_frame_this_id): Return an invalid frame ID if
undefined_retaddr.

19 years ago2005-04-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 8 Apr 2005 11:47:59 +0000 (11:47 +0000)]
2005-04-08  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (ARM2THUMB_GLUE_SIZE): Rename...
(ARM2THUMB_STATIC_GLUE_SIZE): ... to this.
(ARM2THUMB_PIC_GLUE_SIZE): Define.
(a2t1p_ldr_insn, a2t2p_add_pc_insn, a2t3p_bx_r12_insn): Add.
(elf32_arm_to_thumb_stub): Create PIC stubs.
(record_arm_to_thumb_glue): Use different stub size for relocatable
images.

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

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

19 years agoInclude ldexp.h and ldlang.h so that ldfile.h can use the lang_input_statement
Nick Clifton [Thu, 7 Apr 2005 14:07:33 +0000 (14:07 +0000)]
Include ldexp.h and ldlang.h so that ldfile.h can use the lang_input_statement
type.

19 years agogas/
H.J. Lu [Thu, 7 Apr 2005 00:53:22 +0000 (00:53 +0000)]
gas/

2005-04-06  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (tc_gen_reloc): Don't turn
BFD_RELOC_X86_64_32S into BFD_RELOC_32.

gas/testsuite/

2005-04-06  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-pcrel.s: Test R_X86_64_32S.
* gas/i386/x86-64-pcrel.d: Updated.

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

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

19 years agotest_compiler_info: Return compiler_info if no arguments are given.
Paul Gilliam [Wed, 6 Apr 2005 21:38:48 +0000 (21:38 +0000)]
test_compiler_info: Return compiler_info if no arguments are given.

19 years agoMove construction of IA-32 vector types to i386-tdep.c.
Jim Blandy [Wed, 6 Apr 2005 17:01:25 +0000 (17:01 +0000)]
Move construction of IA-32 vector types to i386-tdep.c.
* gdbtypes.c (build_builtin_type_vec64i,
build_builtin_type_vec128i): Delete functions.
(builtin_type_vec64i, builtin_type_vec128i): Delete variables.
(build_gdbtypes): Don't initialize them.
(_initialize_gdbtypes): Don't register GDBARCH swap entries for
them.
* gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
declarations.
(builtin_type_v2_float, builtin_type_v2_int32,
builtin_type_v4_int16, builtin_type_v8_int8,
builtin_type_v2_double, builtin_type_v4_float,
builtin_type_v2_int64, builtin_type_v4_int32,
builtin_type_v8_int16, builtin_type_v16_int8): Add extern
declarations.
* i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
(i386_build_mmx_type, i386_build_sse_type): New functions.
(i386_register_type): Call them, rather than referring to
builtin_type_vec64i and builtin_type_vec128i.

19 years agopo/rw.po: New translation: Kinyarwanda
Nick Clifton [Wed, 6 Apr 2005 15:42:14 +0000 (15:42 +0000)]
po/rw.po: New translation: Kinyarwanda
configure.in (ALL_LINGUAS): Add rw

19 years ago2005-04-06 Jakub Jelinek <jakub@redhat.com>
Jakub Jelinek [Wed, 6 Apr 2005 15:33:03 +0000 (15:33 +0000)]
2005-04-06  Jakub Jelinek  <jakub@redhat.com>

* ldlang.c: Formatting.
(walk_wild_consider_section): Remember return value from wildcardp.
(is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
(wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.

2005-04-06  Robert O'Callahan  <rocallahan@novell.com>

* ld.h (lean_section_userdata_type): Remove.
(fat_section_userdata_type): Remove file field.
(SECTION_USERDATA_SIZE): Remove.
* ldlang.c (init_os): Eliminate initialization of unused
lean_section_userdata_type.

* ldlang.h (callback_t, walk_wild_section_handler_t): New
typedefs.
(struct lang_wild_statement_struct): Add walk_wild_section_handler
and handler_data fields.
* ldlang.c (callback_t): Removed.
(walk_wild_consider_section, walk_wild_section_general,
section_iterator_callback, find_section, is_simple_wild,
match_simple_wild, walk_wild_section_specs1_wild0,
walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
wild_spec_can_overlap, analyze_walk_wild_section_handler): New
functions.
(lang_add_wild): Call analyze_walk_wild_section_handler.
(walk_wild_section): Renamed to walk_wild_section_general and
created a wrapper function.
(section_iterator_callback_data): New typedef.

19 years ago2005-04-06 Nick Clifton <nickc@redhat.com>
H.J. Lu [Wed, 6 Apr 2005 14:45:54 +0000 (14:45 +0000)]
2005-04-06  Nick Clifton  <nickc@redhat.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* po/rw.po: New translation: Kinyarwanda.
* configure.in (ALL_LINGUAS): Add rw.
* configure: Regenerate.

19 years ago2005-04-06 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 6 Apr 2005 06:23:22 +0000 (06:23 +0000)]
2005-04-06  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir.
(TARGET_CONFIGARGS): Include --with-target-subdir.
(configure, all): New macros.  Use them throughout.

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

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

19 years ago * config/tc-xtensa.c (branch_align_power): New.
Bob Wilson [Tue, 5 Apr 2005 23:37:34 +0000 (23:37 +0000)]
* config/tc-xtensa.c (branch_align_power): New.
(xtensa_find_unaligned_branch_targets, get_aligned_diff,
future_alignment_required): Use branch_align_power to check section
alignment as well as xtensa_fetch_width when aligning branch targets.

19 years ago * config/tc-xtensa.c: Warning fixes throughout.
Bob Wilson [Tue, 5 Apr 2005 20:55:40 +0000 (20:55 +0000)]
* config/tc-xtensa.c: Warning fixes throughout.
(xtensa_fetch_width): Change to unsigned.
(assemble_nop, xtensa_find_unaligned_branch_targets,
xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
get_text_align_max_fill_size, get_text_align_nop_count,
get_text_align_nth_nop_size, get_noop_aligned_address,
get_aligned_diff, convert_frag_align_next_opcode,
convert_frag_immed_finish_loop, xtensa_create_property_segments,
xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
types, avoiding size_t and using offsetT and addressT appropriately.
(get_text_align_power): Clean up types.  Avoid incorrect bound.
(get_text_align_fill_size): Clean up types.  Restructure for clarity.

19 years ago * elf64-ppc.c (dec_dynrel_count): New function split out from
Alan Modra [Tue, 5 Apr 2005 12:16:38 +0000 (12:16 +0000)]
* elf64-ppc.c (dec_dynrel_count): New function split out from
ppc64_elf_edit_toc, with additional code from ppc64_elf_edit_opd.
(ppc64_elf_edit_toc, ppc64_elf_edit_opd): Use it.
(ppc64_elf_tls_optimize): Likewise.

19 years ago2005-04-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 5 Apr 2005 08:16:33 +0000 (08:16 +0000)]
2005-04-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Sync with gcc.
* Makefile.in: Regenerate.

19 years agoProvide .wcookie section for OpenBSD/sparc64.
Nick Clifton [Tue, 5 Apr 2005 08:01:18 +0000 (08:01 +0000)]
Provide .wcookie section for OpenBSD/sparc64.

19 years agoNew translation: Kinyarwanda
Nick Clifton [Tue, 5 Apr 2005 07:58:41 +0000 (07:58 +0000)]
New translation: Kinyarwanda

19 years ago * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.
Richard Sandiford [Tue, 5 Apr 2005 07:35:12 +0000 (07:35 +0000)]
* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.
(_bfd_mips_elf_section_from_shdr): Use it to check for recognized
SHT_MIPS_OPTIONS names.  Allow all sections with unrecognised
section flags.
(_bfd_mips_elf_fake_sections): Use MIPS_ELF_OPTIONS_SECTION_NAME_P
to check for SHT_MIPS_OPTIONS sections.
(_bfd_mips_elf_set_section_contents): Likewise.

19 years ago2005-04-04 Eric Christopher <echristo@redhat.com>
Eric Christopher [Tue, 5 Apr 2005 06:58:46 +0000 (06:58 +0000)]
2005-04-04  Eric Christopher  <echristo@redhat.com>

* elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents):
Clean up gp handling code.

19 years agobfd/
H.J. Lu [Tue, 5 Apr 2005 04:01:12 +0000 (04:01 +0000)]
bfd/

2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (bfd_elf_set_group_contents): Ignore linker created
group section.
(assign_section_numbers): Accept link_info. Check SHT_GROUP
sections for relocatable files only. Remove the linker created
group sections.
(_bfd_elf_compute_section_file_positions): Pass link_info to
assign_section_numbers.

* elfxx-ia64.c (elfNN_ia64_object_p): New.
(elf_backend_object_p): Defined.

gas/

2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (start_unwind_section): Undo the change
of 2004-08-18.
(generate_unwind_image, dot_endp): Likewise.

19 years ago2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 5 Apr 2005 02:47:18 +0000 (02:47 +0000)]
2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (bfd_elf_set_group_contents): Ignore linker created
group section.

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

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

19 years agomerge from gcc
DJ Delorie [Mon, 4 Apr 2005 21:00:49 +0000 (21:00 +0000)]
merge from gcc

19 years agoCondense the two tests into one and add a "-M entry:" for the second label.
Nick Clifton [Mon, 4 Apr 2005 17:20:29 +0000 (17:20 +0000)]
Condense the two tests into one and add a "-M entry:" for the second label.

19 years ago2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 4 Apr 2005 16:11:02 +0000 (16:11 +0000)]
2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_section_data): Use (sec) instead of sec.

19 years agoFix typo.
Andreas Schwab [Mon, 4 Apr 2005 16:06:26 +0000 (16:06 +0000)]
Fix typo.

19 years ago* readelf.c (debug_apply_rela_addends): Reorder r_info as
Maciej W. Rozycki [Mon, 4 Apr 2005 15:07:18 +0000 (15:07 +0000)]
* readelf.c (debug_apply_rela_addends): Reorder r_info as
necessary for 64-bit MIPS.

19 years ago* doc/binutils.texi (readelf): Remove a duplicate paragraph.
Maciej W. Rozycki [Mon, 4 Apr 2005 14:56:12 +0000 (14:56 +0000)]
* doc/binutils.texi (readelf): Remove a duplicate paragraph.

19 years agoAdd a check for <unistd.h> providing a prototype for getopt() which is compatible
Nick Clifton [Mon, 4 Apr 2005 11:27:16 +0000 (11:27 +0000)]
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
with the one in include/getopt.h.  If so then define HAVE_DECL_GETOPT.

19 years agoAdd a check to see if the section for the symbol is chosen using
Nick Clifton [Mon, 4 Apr 2005 10:32:28 +0000 (10:32 +0000)]
Add a check to see if the section for the symbol is chosen using
process_section_p.

19 years agoInitialise value to zero to avoid a compile time warning.
Nick Clifton [Mon, 4 Apr 2005 10:09:52 +0000 (10:09 +0000)]
Initialise value to zero to avoid a compile time warning.

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

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

19 years agoApply patch for binutils bug 806, approved by nickc@redhat.com.
Fred Fish [Sun, 3 Apr 2005 20:36:37 +0000 (20:36 +0000)]
Apply patch for binutils bug 806, approved by nickc@redhat.com.

2005-04-03  Fred Fish  <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add dwarf_ranges_buffer and
dwarf_ranges_size members.
(struct comp_unit): Add base_address member.
(struct funcinfo): Replace low/high members with an arange.
(arange_add): Replace incoming "unit" parameter with "abfd" and
"first_arange" pointers.  Reorganize/rewrite function body.
(decode_line_info): Change arange_add call to pass bfd and arange
pointers.
(lookup_address_in_line_info_table): Use arange list instead of
individual low/high members.  Walk function's arange list to find
lowest PC in list, to test for overlapping functions.
(read_debug_ranges): New function, reads the debug_ranges section.
(lookup_address_in_function_table): Use arange list instead of
individual low/high members.  Rewrite to find smallest range that
matches.
(read_rangelist): Read a given rangelist from debug_ranges.
(scan_unit_for_functions): Use arange list instead of individual
low/high members.  Handle a DW_AT_ranges attribute.
(parse_comp_unit): Use arange list instead of individual low/high
members.  Save comp unit base address.  Handle a DW_AT_ranges
attribute.

19 years agomerge from gcc
DJ Delorie [Sun, 3 Apr 2005 04:41:10 +0000 (04:41 +0000)]
merge from gcc

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

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

19 years ago * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
Daniel Jacobowitz [Sat, 2 Apr 2005 22:59:34 +0000 (22:59 +0000)]
* mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
big-endian correction code to not offset 32-bit registers.
Locate floating point registers correctly.

19 years ago (Targets): Document "set/show architecture". Remove
Eli Zaretskii [Sat, 2 Apr 2005 22:24:18 +0000 (22:24 +0000)]
(Targets): Document "set/show architecture".  Remove
redundant index entry for "target" command.
(Backtrace): Add index entries.
(Symbols, Fortran): Document the "set case-sensitive" command.
(DJGPP Native): Document "set com1base", "set com1irq", etc.
(Print Settings): Add index entry for "set demangle-style".
(Target Commands): Document "set download-write-size".
(Debugging Output): Document "set exec-done-display".

19 years agoFix typo.
Andreas Schwab [Sat, 2 Apr 2005 21:11:20 +0000 (21:11 +0000)]
Fix typo.

19 years ago* main.c: Update copyright year.
Mark Kettenis [Sat, 2 Apr 2005 20:25:22 +0000 (20:25 +0000)]
* main.c: Update copyright year.
(captured_main): Avois using strcpy and strcat.