OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago* cos.scm: Profile elm-xset! when requested, not elm-set!; the
jimb [Mon, 7 Feb 2005 18:36:44 +0000 (18:36 +0000)]
* cos.scm: Profile elm-xset! when requested, not elm-set!; the
latter is a macro.

19 years ago * as.h (seg_not_empty_p): Return int, not bfd_boolean.
nathan [Mon, 7 Feb 2005 17:53:25 +0000 (17:53 +0000)]
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
* subsegs.c (seg_not_empty_p): Likewise.

19 years agoOops, fix previous, ChangeLog. Missing set_value_embedded_offset.
cagney [Mon, 7 Feb 2005 17:08:54 +0000 (17:08 +0000)]
Oops, fix previous, ChangeLog. Missing set_value_embedded_offset.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 17:06:28 +0000 (17:06 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (value_embedded_offset): Delete.
(value_embedded_offset): Declare.
* value.c (value_embedded_offset): Define.
* valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
* gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
* cp-abi.h: Update.

19 years agoAdd Inderpreet Singh as maintainer of MAXQ.
nickc [Mon, 7 Feb 2005 16:05:10 +0000 (16:05 +0000)]
Add Inderpreet Singh as maintainer of MAXQ.

19 years agoCorrect the relative jump calculation.
nickc [Mon, 7 Feb 2005 16:00:05 +0000 (16:00 +0000)]
Correct the relative jump calculation.

19 years ago* elf64-mips.c: Fix formatting throughout.
macro [Mon, 7 Feb 2005 15:50:15 +0000 (15:50 +0000)]
* elf64-mips.c: Fix formatting throughout.

19 years ago* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric address
cgf [Mon, 7 Feb 2005 15:27:39 +0000 (15:27 +0000)]
* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric address
string, and use tls in that case too.

19 years ago* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.
macro [Mon, 7 Feb 2005 15:18:02 +0000 (15:18 +0000)]
* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 15:04:37 +0000 (15:04 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_LAZY): Delete
(set_value_lazy): Declare.
* value.c (set_value_lazy): Define.
* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.

19 years agobfd/ChangeLog:
aoliva [Mon, 7 Feb 2005 07:59:33 +0000 (07:59 +0000)]
bfd/ChangeLog:
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for
*ABS*/*UND* sections.
(elf32_frv_relocate_section): Move zero-addend-required error...
(_frv_emit_got_relocs_plt_entries): ... here.  Report error for
missing needed TLS section.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-shared-8-fail.d: Tweak error messages.

19 years ago*** empty log message ***
gdbadmin [Mon, 7 Feb 2005 07:00:05 +0000 (07:00 +0000)]
*** empty log message ***

19 years ago* exceptions.cc: Make windows_system_directory non-static.
cgf [Mon, 7 Feb 2005 05:28:48 +0000 (05:28 +0000)]
* exceptions.cc: Make windows_system_directory non-static.
* pinfo.cc (pinfo::exit): Change innocuous cd'ed location to one that is more
likely to exist.

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 04:50:22 +0000 (04:50 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_OPTIMIZED_OUT): Delete.
(value_optimized_out, set_value_optimized_out): Declare.
* value.c (set_value_optimized_out, value_optimized_out): Define.
* valprint.c, findvar.c, dwarf2loc.c: Update.

19 years ago * ld-cris/libdso-13.d: Adjust for being identified as warning.
hp [Mon, 7 Feb 2005 03:41:26 +0000 (03:41 +0000)]
* ld-cris/libdso-13.d: Adjust for being identified as warning.

19 years ago * ld-cris/globsymw2.s: New file.
hp [Mon, 7 Feb 2005 03:16:42 +0000 (03:16 +0000)]
* ld-cris/globsymw2.s: New file.
* ld-cris/warn3.d, ld-cris/warn4.d: New tests.

19 years ago * write.c (write_object_file): Recognize warning-symbol construct
hp [Mon, 7 Feb 2005 03:13:09 +0000 (03:13 +0000)]
* write.c (write_object_file): Recognize warning-symbol construct
and skip object- and target- handling for the second symbol.

19 years ago * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
hp [Mon, 7 Feb 2005 03:09:10 +0000 (03:09 +0000)]
* ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
Adjust for being identified as warnings.

19 years ago * ld-cris/stabs1.s: New file.
hp [Mon, 7 Feb 2005 03:00:55 +0000 (03:00 +0000)]
* ld-cris/stabs1.s: New file.
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.

19 years ago * aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
hp [Mon, 7 Feb 2005 02:58:27 +0000 (02:58 +0000)]
* aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
symbol was last.

19 years ago * ld-cris/stabs1.s: New file.
hp [Mon, 7 Feb 2005 02:53:31 +0000 (02:53 +0000)]
* ld-cris/stabs1.s: New file.
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.

19 years ago * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
hp [Mon, 7 Feb 2005 02:51:28 +0000 (02:51 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.

19 years ago * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
hp [Mon, 7 Feb 2005 02:46:15 +0000 (02:46 +0000)]
* ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
ld-elf/warn1.d: New test.

19 years ago* elf32-mips.c (mips_elf_gprel32_reloc): Reject
macro [Mon, 7 Feb 2005 02:44:59 +0000 (02:44 +0000)]
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
R_MIPS_GPREL32 relocations against external symbols.
* elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect
comment.

19 years ago* gdb.base/interp.exp: Remove trailing n in gdb_test commands.
kettenis [Mon, 7 Feb 2005 02:39:45 +0000 (02:39 +0000)]
* gdb.base/interp.exp: Remove trailing n in gdb_test commands.

19 years ago * lib/ld-lib.exp: Support new directive "warning".
hp [Mon, 7 Feb 2005 02:38:42 +0000 (02:38 +0000)]
* lib/ld-lib.exp: Support new directive "warning".

19 years ago * lib/gas-defs.exp: Support new directive "warning".
hp [Mon, 7 Feb 2005 02:29:10 +0000 (02:29 +0000)]
* lib/gas-defs.exp: Support new directive "warning".

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 00:09:50 +0000 (00:09 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.c (value_contents, value_contents_writeable): New
functions.
* value.h (VALUE_CONTENTS): Delete macro.
(value_contents, value_contents_writeable): Declare.
* xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
* stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
* sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
* rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
* ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
* m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
* jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
* hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
* c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
* cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
* arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
* ada-valprint.c, ada-lang.c: Update.

19 years ago * elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
amodra [Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)]
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of
elf_string_from_elf_strtab.
(_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise.
(bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too
if it exists.  Don't do the reverse for SHT_SYMTAB_SHNDX.  For
SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by
looking at cached symtab info first, before iterating over headers.
For SHT_REL and SHT_RELA, load dynsymtab if needed.
* elfcode.h (elf_object_p): Don't load section header stringtab

19 years agodaily update
amodra [Sun, 6 Feb 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 6 Feb 2005 18:11:28 +0000 (18:11 +0000)]
2005-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF
against protected function when building shared library.

PR 584
* elf64-x86-64.c (is_32bit_relative_branch): New.
(elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a
protected function symbol when building shared library for
32bit relative branch instruction.

19 years ago2005-02-03 Andrew Cagney <cagney@gnu.org>
cagney [Sun, 6 Feb 2005 16:22:13 +0000 (16:22 +0000)]
2005-02-03  Andrew Cagney  <cagney@gnu.org>

* utils.c (xzalloc): New function.
* defs.h (XZALLOC): Use xzalloc.
(xzalloc): Declare.
* value.c (allocate_value): Allocate a zeroed buffer.
* mdebugread.c (xzalloc): Delete.

19 years ago * path.cc (path_conv::check): Leave symlink expansion loop in case
corinna [Sun, 6 Feb 2005 11:15:24 +0000 (11:15 +0000)]
* path.cc (path_conv::check): Leave symlink expansion loop in case
a not-ENOENT error happens.

* cygheap.h (cygheap_fdmanip::fhandler_pipe *): New cast operator.
* pinfo.cc (_pinfo::commune_recv): Add PICOM_PIPE_FHANDLER handling.
(_pinfo::commune_send): Ditto.
(_pinfo::pipe_fhandler): New method.
* pinfo.h (enum picom): Add PICOM_PIPE_FHANDLER.
(_pinfo::pipe_fhandler): Declare.
* pipe.cc (fhandler_pipe::open): Rewrite.  Allow to open foreign
pipe handles.

19 years ago * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
amodra [Sun, 6 Feb 2005 10:29:39 +0000 (10:29 +0000)]
* elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
syms when doing a relocatable link.
(ppc64_elf_gc_mark_hook): Check that syms are defined before looking
at u.def.section.
(ppc64_elf_tls_setup): Likewise.
(ppc64_elf_edit_opd): Don't use an undefined func desc sym.

19 years ago* cygthread.h (cygthread::terminate_thread): Reflect return value.
cgf [Sun, 6 Feb 2005 05:04:32 +0000 (05:04 +0000)]
* cygthread.h (cygthread::terminate_thread): Reflect return value.
* cygthread.cc (cygthread::detach): Be more careful about ensuring that sigwait
is properly waited for to avoid later missynchronization.
(cygthread::terminate_thread): Return true if thread was actually terminated
and all handles were closed.
* fhandler_base.cc (fhandler_base::raw_read): Use signal_read_state rather than
raw calls to win32 api.
(fhandler_base::read): Ditto.
* fhandler.h (fhandler_pipe::fixup_after_exec): Use method to create read_state
signalling.
(fhandler_pipe::create): Ditto.
* Makefile.in: Make some more files -fomit-frame-pointer.

19 years ago * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.
kevinb [Thu, 3 Feb 2005 16:11:37 +0000 (16:11 +0000)]
* gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.

19 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
amodra [Thu, 3 Feb 2005 14:48:46 +0000 (14:48 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
(link_hash_newfunc): Clear all locals using memset.
(make_fdh): Remove flags param.  Always create fake func desc
weak.  Link the descriptor with the code entry sym.
(ppc64_elf_archive_symbol_lookup): Don't return fake syms.
(add_symbol_adjust): Adjust make_fdh call.
(func_desc_adjust): Likewise.  Twiddle any pre-existing fake
descriptor to strong undefined if code entry is strong.

19 years agobfd/
amodra [Thu, 3 Feb 2005 14:12:49 +0000 (14:12 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
lookup here.  Set to new before calling bfd_link_repair_undef_list.
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
ld/
emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
look up symbol for etree_provide here.

19 years agobfd/
amodra [Thu, 3 Feb 2005 14:12:40 +0000 (14:12 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
lookup here.  Set to new before calling bfd_link_repair_undef_list.
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
ld/
emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
look up symbol for etree_provide here.

19 years ago * linker.c (_bfd_link_hash_newfunc): Set all local fields.
amodra [Thu, 3 Feb 2005 13:54:22 +0000 (13:54 +0000)]
* linker.c (_bfd_link_hash_newfunc): Set all local fields.

19 years ago * gdb.ada/gnat_ada.gpr: New file.
brobecke [Thu, 3 Feb 2005 03:58:50 +0000 (03:58 +0000)]
    * gdb.ada/gnat_ada.gpr: New file.
        * gdb.ada/gnat_ada.gin: Delete, no longer used.
        * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
        * configure.ac: No longer generate gnat_ada.gpr.
        * configure: Regenerate.
        * gdb.ada/Makefile.in: Minor adaptations due to new project file.
        * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
        * gdb.ada/null_record/bar.ads: Likewise.
        * gdb.ada/null_record/bar.adb: Likewise.
        * gdb.ada/fixed_points/fixed_points.adb: Likewise.
        * gdb.ada/null_record.exp (testdir): New variable.
        (testfile): executable is now in testdir subdirectory.
        (srcfile): Use full path to the main compilation unit.
        * gdb.ada/fixed_points.exp: Same changes as above.

19 years agoinclude/
amodra [Thu, 3 Feb 2005 03:30:37 +0000 (03:30 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
* elflink.c (elf_smash_syms): Restore symbols that were undefweak
before the as-needed lib was loaded.  Abort on unexpected refs.

19 years ago*** empty log message ***
gdbadmin [Thu, 3 Feb 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 2 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago * fhandler.h (fhandler_base::ftruncate): Define new virtual method.
corinna [Wed, 2 Feb 2005 22:42:04 +0000 (22:42 +0000)]
* fhandler.h (fhandler_base::ftruncate): Define new virtual method.
(fhandler_disk_file::ftruncate): Ditto.
* fhandler.cc (fhandler_base::ftruncate): New method.
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Ditto.
* syscalls.cc (ftruncate64): Move functionality into fhandlers.
Call fhandler method from here.

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 22:34:30 +0000 (22:34 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (value_lazy): Declare.
* varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
* cp-valprint.c, breakpoint.c, ada-lang.c: Update.

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 22:34:14 +0000 (22:34 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (value_lazy): Declare.
* varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
* cp-valprint.c, breakpoint.c, ada-lang.c: Update.

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 21:36:10 +0000 (21:36 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_CONTENTS_ALL): Delete.
(value_contents_all): Declare.
* value.c (value_contents_all): New function.
* hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
* m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 21:35:47 +0000 (21:35 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_CONTENTS_ALL): Delete.
(value_contents_all): Declare.
* value.c (value_contents_all): New function.
* hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
* m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.

19 years agoNew test for interpreter-exec command.
nickrob [Wed, 2 Feb 2005 21:12:03 +0000 (21:12 +0000)]
New test for interpreter-exec command.

19 years ago*** empty log message ***
nickrob [Wed, 2 Feb 2005 21:09:13 +0000 (21:09 +0000)]
*** empty log message ***

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 20:31:32 +0000 (20:31 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.c (value_enclosing_type): New function.
* value.h (VALUE_ENCLOSING_TYPE): Delete.
(value_enclosing_type): Declare.
* xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
* gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 20:31:18 +0000 (20:31 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.c (value_enclosing_type): New function.
* value.h (VALUE_ENCLOSING_TYPE): Delete.
(value_enclosing_type): Declare.
* xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
* gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.

19 years ago * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
drow [Wed, 2 Feb 2005 20:19:47 +0000 (20:19 +0000)]
* emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.

19 years ago * ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments
drow [Wed, 2 Feb 2005 20:19:31 +0000 (20:19 +0000)]
* ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments
after test commands.
* ld-mips-elf/mips-elf.exp: Skip multi-got-1 on non-GNU/Linux
systems.

19 years agoImport from FSF mainline
nickc [Wed, 2 Feb 2005 19:00:30 +0000 (19:00 +0000)]
Import from FSF mainline

19 years ago * pipe.cc (fhandler_pipe::dup): Fix conditionals in case of error.
corinna [Wed, 2 Feb 2005 10:09:46 +0000 (10:09 +0000)]
* pipe.cc (fhandler_pipe::dup): Fix conditionals in case of error.

19 years ago * times.cc (utimes): Mark st_ctime for update according to SUSv3.
corinna [Wed, 2 Feb 2005 09:46:49 +0000 (09:46 +0000)]
* times.cc (utimes): Mark st_ctime for update according to SUSv3.

19 years agogas/
jbeulich [Wed, 2 Feb 2005 07:37:28 +0000 (07:37 +0000)]
gas/
2005-02-02  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
designators along with quoted ones. Free copy of quoted designator
when done.

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

* gas/ia64/pred-rel.s: New.
* gas/ia64/ia64.exp: Run new test.

19 years ago * elflink.c (elf_smash_syms): Expand comments.
amodra [Wed, 2 Feb 2005 02:36:35 +0000 (02:36 +0000)]
* elflink.c (elf_smash_syms): Expand comments.
(elf_link_add_object_symbols): Only call elf_smash_syms for
as-needed dynamic objects.

19 years ago * elflink.c (elf_smash_syms): Expand comments.
amodra [Wed, 2 Feb 2005 02:36:25 +0000 (02:36 +0000)]
* elflink.c (elf_smash_syms): Expand comments.
(elf_link_add_object_symbols): Only call elf_smash_syms for
as-needed dynamic objects.

19 years ago * elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Don't clear everything,
amodra [Wed, 2 Feb 2005 01:38:59 +0000 (01:38 +0000)]
* elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Don't clear everything,
just the fields specific to hppa64.

19 years ago * elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear
amodra [Wed, 2 Feb 2005 01:16:30 +0000 (01:16 +0000)]
* elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear
everything, just the field specific to ia64.

19 years ago2005-02-01 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 00:20:00 +0000 (00:20 +0000)]
2005-02-01  Andrew Cagney  <cagney@gnu.org>

* value.c (value_contents_all_raw)
(value_contents_raw): New functions.
* value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
(value_contents_raw, value_contents_all_raw): Declare functions.
(VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
* std-regs.c, valarith.c, valops.c, eval.c: Update.
* tracepoint.c, findvar.c: Update.

19 years ago2005-02-01 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 00:19:47 +0000 (00:19 +0000)]
2005-02-01  Andrew Cagney  <cagney@gnu.org>

* value.c (value_contents_all_raw)
(value_contents_raw): New functions.
* value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
(value_contents_raw, value_contents_all_raw): Declare functions.
(VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
* std-regs.c, valarith.c, valops.c, eval.c: Update.
* tracepoint.c, findvar.c: Update.

19 years ago*** empty log message ***
gdbadmin [Wed, 2 Feb 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 1 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago * cris/Makefile.in (ALL_INSTALL_FILES): New macro.
hp [Tue, 1 Feb 2005 21:22:32 +0000 (21:22 +0000)]
* cris/Makefile.in (ALL_INSTALL_FILES): New macro.
(ALL_INSTALL_FILES_NEWLIB_COPY): New macro.
(all): Use ALL_INSTALL_FILES instead of its contents.  Add
ALL_INSTALL_FILES_NEWLIB_COPY.
($(objroot)/newlib/%, $(objroot)/newlib/libnosys.a): New rules

19 years agoAdd a description of how to access linker script defined variables from source
nickc [Tue, 1 Feb 2005 17:30:58 +0000 (17:30 +0000)]
Add a description of how to access linker script defined variables from source
code.

19 years ago* fhandler_proc.cc (format_proc_partitions): Remove PartitionType check since
cgf [Tue, 1 Feb 2005 17:16:09 +0000 (17:16 +0000)]
* fhandler_proc.cc (format_proc_partitions): Remove PartitionType check since
it could skip over partitions that are actually interesting.

19 years ago* cygthread.cc (cygthread::terminate_thread): Wait briefly for notification
cgf [Tue, 1 Feb 2005 16:49:07 +0000 (16:49 +0000)]
* cygthread.cc (cygthread::terminate_thread): Wait briefly for notification
event in the event that the thread was actually in the process of exiting.
* pipe.cc (fhandler_pipe::dup): read_state is not supposed to be inheritable.
Fix that.
* path.cc (path_conv::check): Set symlen = 0 to avoid a compiler warning.
* devices.h (devices::parsedisk): Declare new function.
* devices.in (devices::parsedisk): Define new function.
* dtable.cc (dtable::init_std_file_from_handle): Use device numbers rather than
name.
* fhandler_proc.cc (format_proc_partitions): Use parsedisk to generate disk
names from numeric codes.  (This was broken on two of my systems previously and
is still broken now)

19 years ago * pipe.cc (fhandler_pipe::open): Allow re-opening of /proc/<pid>/fd
corinna [Tue, 1 Feb 2005 16:43:23 +0000 (16:43 +0000)]
* pipe.cc (fhandler_pipe::open):  Allow re-opening of /proc/<pid>/fd
pipes of the current process.

19 years ago * fhandler.cc (fhandler_base::get_proc_fd_name): Don't generate
corinna [Tue, 1 Feb 2005 15:11:34 +0000 (15:11 +0000)]
* fhandler.cc (fhandler_base::get_proc_fd_name): Don't generate
"device:" entry.
* fhandler.h (fhandler_socket::open): New method.
(fhandler_pipe::open): New method.
* fhandler_proc.cc (fhandler_proc::exists): Return -2 in case of
/proc/self.
* fhandler_process.cc (fhandler_process::exists): Return -2 in
case of symlinks, -3 for pipes and -4 for sockets.
(fhandler_process::fstat): Handle pipes and sockets.
(fhandler_process::open): Handle opening /proc/<pid>/fd.
(fhandler_process::fill_filebuf): Generate empty names for
non exisiting file descriptors.
* fhandler_socket.cc (fhandler_socket::get_proc_fd_name): Always
generate "socket:[number]" strings as on Linux.
(fhandler_socket::open): New method.
(fhandler_socket::fstat): Always return socket type.
* path.cc (symlink_info::set): Remove unused second parameter.
(path_conv::check): Handle pipes and sockets in /proc.
Set correct device type for AF_LOCAL sockets.
* pinfo.cc (_pinfo::commune_recv): Generate empty names for
non exisiting file descriptors.
(_pinfo::fd): Ditto.
* pipe.cc (fhandler_pipe::open): New method.

19 years ago2005-02-01 Orjan Friberg <orjanf@axis.com>
orjanf [Tue, 1 Feb 2005 14:24:55 +0000 (14:24 +0000)]
2005-02-01  Orjan Friberg  <orjanf@axis.com>

* regformats/reg-cris.dat: New file with register definitions for CRIS.
* regformats/reg-crisv32.dat: Ditto for CRISv32.

19 years ago2005-02-01 Orjan Friberg <orjanf@axis.com>
orjanf [Tue, 1 Feb 2005 14:24:32 +0000 (14:24 +0000)]
2005-02-01  Orjan Friberg  <orjanf@axis.com>

* regformats/reg-cris.dat: New file with register definitions for CRIS.
* regformats/reg-crisv32.dat: Ditto for CRISv32.

19 years agobfd/
amodra [Tue, 1 Feb 2005 04:22:29 +0000 (04:22 +0000)]
bfd/
* elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to..
(make_fdh): ..here.  New function.  Don't set BSF_OBJECT for
undefined syms.
(struct add_symbol_adjust_data): New.
(add_symbol_adjust): Make an undefweak func desc for old ABI
objects to link with --as-needed shared libs.  Return fail status.
Don't adjust old ABI func entry sym to weak if func desc syms
isn't defined.
(ppc64_elf_check_directives): Adjust call to add_symbol_adjust,
and return status.
ld/testsuite/
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

19 years ago * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
dannysmith [Tue, 1 Feb 2005 03:51:18 +0000 (03:51 +0000)]
* mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
string is not valid.

19 years ago * cpu-cris.c (get_compatible): Rearrange disabled code and comment
hp [Tue, 1 Feb 2005 03:27:52 +0000 (03:27 +0000)]
* cpu-cris.c (get_compatible): Rearrange disabled code and comment
for clarity.

19 years agoinclude/
amodra [Tue, 1 Feb 2005 01:11:10 +0000 (01:11 +0000)]
include/
* bfdlink.h (bfd_link_repair_undef_list): Declare.
bfd/
* elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup..
* linker.c (bfd_link_repair_undef_list): ..to new function, but don't
remove anything but new and undefweak.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Override any
existing _DYNAMIC.
(_bfd_elf_create_dynamic_sections): Formatting.
(bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list.
(_bfd_elf_merge_symbol): Don't handle as-needed syms here.
(struct elf_smash_data): New.
(elf_smash_syms): New function.
(elf_link_add_object_symbols): Call elf_smash_syms.  Don't add
unneeded dynamic objects to loaded list.
(elf_link_output_extsym): Don't handle as-needed here.  Strip
bfd_link_hash_new symbols.
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
delref when dynindx is already -1.
* elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new
symbols.
* elfxx-mips.c (mips_elf_output_extsym): Likewise.
ld/
* ld.texinfo: Clarify --as-needed operation.

19 years agoinclude/
amodra [Tue, 1 Feb 2005 01:11:01 +0000 (01:11 +0000)]
include/
* bfdlink.h (bfd_link_repair_undef_list): Declare.
bfd/
* elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup..
* linker.c (bfd_link_repair_undef_list): ..to new function, but don't
remove anything but new and undefweak.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Override any
existing _DYNAMIC.
(_bfd_elf_create_dynamic_sections): Formatting.
(bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list.
(_bfd_elf_merge_symbol): Don't handle as-needed syms here.
(struct elf_smash_data): New.
(elf_smash_syms): New function.
(elf_link_add_object_symbols): Call elf_smash_syms.  Don't add
unneeded dynamic objects to loaded list.
(elf_link_output_extsym): Don't handle as-needed here.  Strip
bfd_link_hash_new symbols.
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
delref when dynindx is already -1.
* elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new
symbols.
* elfxx-mips.c (mips_elf_output_extsym): Likewise.
ld/
* ld.texinfo: Clarify --as-needed operation.

19 years ago*** empty log message ***
gdbadmin [Tue, 1 Feb 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.
bje [Mon, 31 Jan 2005 23:57:31 +0000 (23:57 +0000)]
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.

19 years ago * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.
bje [Mon, 31 Jan 2005 23:57:21 +0000 (23:57 +0000)]
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.

19 years ago * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
bje [Mon, 31 Jan 2005 23:18:18 +0000 (23:18 +0000)]
* config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
#if 0'd code throughout.

19 years ago * aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,
bje [Mon, 31 Jan 2005 23:13:09 +0000 (23:13 +0000)]
* aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,
bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c,
coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c,
coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c,
cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c,
elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c,
elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c,
elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c,
i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c,
nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c,
pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c,
sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, doc/chew.c,
hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code
throughout. Similarly, collapse #if 1'd code.

19 years agodaily update
amodra [Mon, 31 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * elf-bfd.h (bfd_elf_discard_group): Remove.
bje [Mon, 31 Jan 2005 22:53:17 +0000 (22:53 +0000)]
* elf-bfd.h (bfd_elf_discard_group): Remove.
* elf.c (bfd_elf_discard_group): Likewise.
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro.

19 years ago * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d,
drow [Mon, 31 Jan 2005 22:00:58 +0000 (22:00 +0000)]
* ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d,
ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d,
ld-mips-elf/elf-rel-xgot-n64-linux.d, ld-mips-elf/elf-rel-xgot-n64.d,
ld-mips-elf/jalbal.d: Force big-endian.
* ld-mips-elf/multi-got-1.d: Make more flexible.
* ld-mips-elf/rel32-n32.d, ld-mips-elf/rel32-o32.d,
ld-mips-elf/rel64.d: Update offsets.

19 years ago * gas/mips/elf-rel23.d, gas/mips/elf-rel23a.d: Accept little-endian.
drow [Mon, 31 Jan 2005 22:00:31 +0000 (22:00 +0000)]
* gas/mips/elf-rel23.d, gas/mips/elf-rel23a.d: Accept little-endian.
* gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d: Accept section
symbol names.

19 years ago * ld-elf/group1.d: Accept OBJECT symbols.
drow [Mon, 31 Jan 2005 21:58:41 +0000 (21:58 +0000)]
* ld-elf/group1.d: Accept OBJECT symbols.

19 years ago* path.h (path_conv::set_name): Declare new function.
cgf [Mon, 31 Jan 2005 21:29:54 +0000 (21:29 +0000)]
* path.h (path_conv::set_name): Declare new function.
* path.cc (path_conv::set_name): Define new function.
* fhandler.h (fhandler_dev_null::open): Declare new function.
* fhandler.cc (fhandler_dev_null::open): Define new function.

19 years ago* smallprint.c (rnarg): Use long rather than unsigned long so that we get
cgf [Mon, 31 Jan 2005 20:55:28 +0000 (20:55 +0000)]
* smallprint.c (rnarg): Use long rather than unsigned long so that we get
proper sign extension.

19 years ago * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
rsandifo [Mon, 31 Jan 2005 20:38:58 +0000 (20:38 +0000)]
* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
(_bfd_elf_eh_frame_address_size): Declare.
* elfxx-target.h (elf_backend_eh_frame_address_size): Define a default.
(elfNN_bed): Initialize elf_backend_eh_frame_address_size.
* elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare.
(elf_backend_eh_frame_address_size): Define.
* elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address
size from the new backend hook.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_eh_frame_address_size): New function.

19 years ago * readelf.c (eh_addr_size): New variable.
rsandifo [Mon, 31 Jan 2005 20:35:23 +0000 (20:35 +0000)]
* readelf.c (eh_addr_size): New variable.
(find_section): Move earlier in file.  Return empty sections too.
(process_program_headers): Use find_section to find .dynamic.
(process_section_headers): Initialize eh_addr_size.
(dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
(dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
(display_debug_frames): Use it instead of local addr_size variable.
(size_of_encoded_value): Get pointer size from eh_addr_size rather
than is_32bit_elf.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 31 Jan 2005 20:32:35 +0000 (20:32 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 31 Jan 2005 20:30:35 +0000 (20:30 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 31 Jan 2005 20:30:22 +0000 (20:30 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 31 Jan 2005 20:30:00 +0000 (20:30 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 31 Jan 2005 20:29:40 +0000 (20:29 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago * cygwinenv.sgml: Add words for (no)traverse option.
corinna [Mon, 31 Jan 2005 20:03:19 +0000 (20:03 +0000)]
* cygwinenv.sgml: Add words for (no)traverse option.