OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
ibr [Sat, 29 Jan 2005 17:53:25 +0000 (17:53 +0000)]
2005-01-29  Baurzhan Ismagulov  <ibr@radix50.net>

* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
* buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
* coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.

19 years ago2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
ibr [Sat, 29 Jan 2005 17:53:15 +0000 (17:53 +0000)]
2005-01-29  Baurzhan Ismagulov  <ibr@radix50.net>

* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
* buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
* coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.

19 years ago2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
ibr [Sat, 29 Jan 2005 17:42:40 +0000 (17:42 +0000)]
2005-01-29  Baurzhan Ismagulov  <ibr@radix50.net>

* MAINTAINERS: Add myself to "Write After Approval".

19 years ago * smallprint.c (rn): Change uval to unsigned long long to fix 64 bit
corinna [Sat, 29 Jan 2005 13:34:34 +0000 (13:34 +0000)]
* smallprint.c (rn): Change uval to unsigned long long to fix 64 bit
handling.
* fhandler_process.cc (format_process_maps): Print major, minor and
inode numbers correctly.

19 years ago* configure.ac: Remove extra check for ranlib.
kettenis [Sat, 29 Jan 2005 12:50:25 +0000 (12:50 +0000)]
* configure.ac: Remove extra check for ranlib.
* configure: Regenerated.

19 years ago * autoload.cc (GetModuleFileNameExA): Add.
corinna [Sat, 29 Jan 2005 11:23:02 +0000 (11:23 +0000)]
* autoload.cc (GetModuleFileNameExA): Add.
(GetModuleInformation): Add.
(QueryWorkingSet): Add.
* fhandler.h (fhandler_virtual::get_filebuf): New method.
* fhandler_proc.cc (PROC_SELF): Define.
(proc_fhandlers): Change type of self to FH_PROC.
(fhandler_proc::exists): Return -3 if self.
(fhandler_proc::fstat): Handle self as symlink.
(fhandler_proc::fill_filebuf): Handle self.
* fhandler_process.cc: Include psapi.h.
(PROCESS_EXENAME): Remove.
(PROCESS_MAPS): Define.
(PROCESS_ROOT): Define.
(PROCESS_EXE): Define.
(PROCESS_CWD): Define.
(process_listing): Remove "exename", add "maps, "root", "exe" and
"cwd" elements.
(fhandler_process::exists): Return -2 for symlinks.
(fhandler_process::fstat): Handle symlinks.
(fill_filebuf): Evaluate pid if pid is 0.  Use exename handling for
exe.  Handle maps, root and cwd.
(format_process_maps): New function evaluating "maps".
* path.cc (symlink_info::set): New method to fill symlink_info
with data matching virtual symlinks.
(path_conv::check): Handle virtual symlinks.
* pinfo.cc (_pinfo::commune_recv): Add PICOM_CWD and PICOM_ROOT
handling.
(_pinfo::commune_send): Ditto.
(_pinfo::root): New function.
(_pinfo::cwd): New function.
* pinfo.h (enum picom): Add PICOM_CWD and PICOM_ROOT.
(_pinfo::root): Declare.
(_pinfo::cwd): Declare.

19 years ago* cygthread.cc (new): Add a little more debugging.
cgf [Sat, 29 Jan 2005 05:39:07 +0000 (05:39 +0000)]
* cygthread.cc (new): Add a little more debugging.
* thread.cc (pthread_null::exit): Add a _my_tls.remove() for safety.

19 years ago * configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
hp [Sat, 29 Jan 2005 04:24:22 +0000 (04:24 +0000)]
* configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
<crisv32-*-*, cris-*-*>: Only disable target-newlib and
target-libgloss when not *-*-elf and *-*-aout.
* configure: Regenerate.

19 years ago* cygtls.cc (cygtls::call2): Move socket cleanup.
cgf [Sat, 29 Jan 2005 03:09:50 +0000 (03:09 +0000)]
* cygtls.cc (cygtls::call2): Move socket cleanup.
(cygtls::remove): Move socket cleanup here.  Don't use _my_tls to reference it.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 29 Jan 2005 01:59:21 +0000 (01:59 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* language.h (struct language_defn): Make la_val_print's buffer
parameter a const bfd_byte.
* cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
* ada-lang.c (ada_aligned_value_addr)
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
* valprint.c (val_print_array_elements): Update.
* valprint.h (val_print_array_elements): Update.
* ada-lang.h (ada_val_print, ada_aligned_value_addr)
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
* ada-valprint.c (ada_val_print, struct ada_val_print_args)
(ada_val_print_1, ada_print_floating, printable_val_type)
(print_record, val_print_packed_array_elements)
(print_field_values, print_variant_part): Update.
* c-lang.h (c_val_print, cp_print_value_fields): Update.
* c-valprint.c (c_val_print): Update.
* f-lang.h (f_val_print): Update.
* f-valprint.c (f_val_print, f77_print_array_1)
(f77_print_array): Update.
* jv-lang.h (java_val_print): Update.
* jv-valprint.c (java_print_value_fields, java_val_print): Update.
* language.c (unk_lang_val_print): Update.
* m2-lang.h (m2_val_print): Update.
* m2-valprint.c (m2_val_print): Update.
* p-lang.h (pascal_val_print): Update.
(pascal_object_print_value_fields): Update.
* p-valprint.c (pascal_val_print)
(pascal_object_print_value_fields, pascal_object_print_value)
(pascal_object_print_value): Update.
* scm-lang.h (scm_val_print): Update.
* scm-valprint.c (scm_val_print): Update.
* value.h (val_print): Update.

19 years ago * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
hp [Sat, 29 Jan 2005 00:53:11 +0000 (00:53 +0000)]
* Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
(realclean, install): Fail if subdir make failed.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 29 Jan 2005 00:51:59 +0000 (00:51 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* p-lang.h (pascal_object_print_class_member)
(pascal_object_print_class_method): Make buffer a const bfd_byte.
* p-valprint.c (pascal_object_print_class_method)
(pascal_object_print_class_method): Ditto.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 29 Jan 2005 00:11:09 +0000 (00:11 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* language.h (struct language_defn): Make la_printstr's buffer
parameter a const bfd_byte.
* p-lang.h (pascal_printstr): Update function to match.
* ada-valprint.c (ada_printstr): Update function to match.
* scm-lang.c (scm_printstr): Update function to match.
* p-lang.c (pascal_printstr): Update function to match.
* ada-lang.h (ada_printstr): Update function to match.
* m2-lang.c (m2_printstr): Update function to match.
* objc-lang.c (objc_printstr): Update function to match.
* c-lang.h (c_printstr): Update function to match.
* f-lang.c (f_printstr): Update function to match.
* c-lang.c (c_printstr): Update function to match.
* language.c (unk_lang_printstr): Update function to match.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 29 Jan 2005 00:10:53 +0000 (00:10 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* language.h (struct language_defn): Make la_printstr's buffer
parameter a const bfd_byte.
* p-lang.h (pascal_printstr): Update function to match.
* ada-valprint.c (ada_printstr): Update function to match.
* scm-lang.c (scm_printstr): Update function to match.
* p-lang.c (pascal_printstr): Update function to match.
* ada-lang.h (ada_printstr): Update function to match.
* m2-lang.c (m2_printstr): Update function to match.
* objc-lang.c (objc_printstr): Update function to match.
* c-lang.h (c_printstr): Update function to match.
* f-lang.c (f_printstr): Update function to match.
* c-lang.c (c_printstr): Update function to match.
* language.c (unk_lang_printstr): Update function to match.

19 years ago*** empty log message ***
gdbadmin [Sat, 29 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 23:42:20 +0000 (23:42 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
* valprint.h (val_print_type_code_int): Ditto.

19 years agodaily update
amodra [Fri, 28 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 20:50:55 +0000 (20:50 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* objc-lang.h (c_val_print, c_value_print): Delete declarations.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 20:19:54 +0000 (20:19 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* cp-valprint.c (cp_print_class_method)
(cp_print_class_member): Make buffer a const bfd_byte.
* c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 20:19:45 +0000 (20:19 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* cp-valprint.c (cp_print_class_method)
(cp_print_class_member): Make buffer a const bfd_byte.
* c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 19:55:55 +0000 (19:55 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* ada-lang.c (value_from_contents_and_address)
(to_record_with_fixed_variant_part)
(value_tag_from_contents_and_address, ada_to_fixed_type)
(to_fixed_variant_branch_type, to_fixed_record_type)
(ada_template_to_fixed_record_type, cond_offset_host)
(ada_template_to_fixed_record_type_1): Make buffer a const
bfd_byte.
* ada-lang.h (ada_template_to_fixed_record_type_1)
(value_from_contents_and_address, ada_to_fixed_type): Ditto.

19 years ago * config/tc-z8k.c (md_assemble): Improve error detection.
cpg [Fri, 28 Jan 2005 19:33:25 +0000 (19:33 +0000)]
* config/tc-z8k.c (md_assemble): Improve error detection.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 19:19:08 +0000 (19:19 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 19:03:47 +0000 (19:03 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* printcmd.c (print_scalar_formatted): Update.
* gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.

19 years ago * elf-bfd.h (struct elf_backend_data): Add minpagesize.
drow [Fri, 28 Jan 2005 17:58:21 +0000 (17:58 +0000)]
* elf-bfd.h (struct elf_backend_data): Add minpagesize.
* elf32-arm.c (ELF_MINPAGESIZE): Define.
* elf32-ppc.c (ELF_MINPAGESIZE): Define.
* elfcode.h (elf_object_p): Use minpagesize instead of
maxpagesize.
* elfxx-target.h (ELF_MINPAGESIZE): Default to ELF_MAXPAGESIZE.
(elfNN_bed): Include ELF_MINPAGESIZE.

19 years ago * bfd/bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
jules [Fri, 28 Jan 2005 17:24:35 +0000 (17:24 +0000)]
* bfd/bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/bin-in2.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx flag.
(bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx for
passing flag value from ld. Set flag value in global hash table entry.
(elf32_arm_final_link_relocate): Add code to implement R_ARM_V4BX
relocation.
* ld/emultempl/armelf.em (fix_v4bx): New variable.
(arm_elf_create_output_section_statements): Communicate fix_v4bx flag
value to bfd.
(PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
(PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
(PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
(PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
* ld/NEWS: Mention --fix-v4bx.
* ld/ld.texinfo: Document --fix-v4bx.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 16:45:13 +0000 (16:45 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* value.h (value_bit_index, print_floating)
(find_rt_vbase_offset): Make buffer a const bfd_byte.
* valprint.c (print_floating): Update.
* valarith.c (value_bit_index): Update.
* valops.c (find_rt_vbase_offset): Update.

19 years agoOops, fixed copyrights.
cagney [Fri, 28 Jan 2005 16:23:51 +0000 (16:23 +0000)]
Oops, fixed copyrights.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 16:20:02 +0000 (16:20 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* valprint.h (print_octal_chars, print_char_chars)
(print_hex_chars, print_decimal_chars, print_binary_chars): Make
buffer a const bfd_byte.
* valprint.c (print_binary_chars, print_octal_chars)
(print_decimal_chars, print_hex_chars, print_char_chars): Make
"valaddr"buffer a const bfd_byte, ditto for local variables
referencing that buffer.

19 years ago * how-using.texinfo: Change text about using shortcuts.
corinna [Fri, 28 Jan 2005 09:10:22 +0000 (09:10 +0000)]
* how-using.texinfo: Change text about using shortcuts.

19 years agogas/
jbeulich [Fri, 28 Jan 2005 08:21:11 +0000 (08:21 +0000)]
gas/
2005-01-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
for personality routine pointer only if there is one.
(ia64_convert_frag): Likewise.
(generate_unwind_image): Likewise.

ld/testsuite/
2005-01-28  Jan Beulich  <jbeulich@novell.com>

* ld/ia64/tlsbin.[rt]d: Widen expected offset/size ranges.
* ld/ia64/tlspic.[rt]d: Likewise.

19 years agogas/
jbeulich [Fri, 28 Jan 2005 08:20:59 +0000 (08:20 +0000)]
gas/
2005-01-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
for personality routine pointer only if there is one.
(ia64_convert_frag): Likewise.
(generate_unwind_image): Likewise.

ld/testsuite/
2005-01-28  Jan Beulich  <jbeulich@novell.com>

* ld/ia64/tlsbin.[rt]d: Widen expected offset/size ranges.
* ld/ia64/tlspic.[rt]d: Likewise.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 06:40:22 +0000 (06:40 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* m2-valprint.c: Include "c-lang.h".
(c_val_print): Delete extern declaration.
* scm-valprint.c: Include "c-lang.h".
(c_val_print): Delete extern declaration.
Makefile.in: Update dependencies.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 06:29:42 +0000 (06:29 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
bfd_byte.
* cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
(struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
bfd_byte.
* cp-abi.c (baseclass_offset): Update.
* gnu-v2-abi.c (gnuv2_baseclass_offset): Update.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 06:29:33 +0000 (06:29 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
bfd_byte.
* cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
(struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
bfd_byte.
* cp-abi.c (baseclass_offset): Update.
* gnu-v2-abi.c (gnuv2_baseclass_offset): Update.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 06:16:44 +0000 (06:16 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* gnu-v2-abi.h: New file.
* gnu-v2-abi.c: Include "gnu-v2-abi.h".
(gnuv2_baseclass_offset): Delete declaration.
* hpacc-abi.c: Include "gnu-v2-abi.h".
(gnuv2_baseclass_offset): Delete extern declaration.
* Makefile.in: Update dependencies.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 28 Jan 2005 06:06:24 +0000 (06:06 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* doublest.c (floatformat_is_negative, floatformat_is_nan)
(floatformat_mantissa, get_field): Make the buffer a const
bfd_byte, simplify.

19 years ago.
cgf [Fri, 28 Jan 2005 05:53:22 +0000 (05:53 +0000)]
.

19 years ago * cris: New directory, simulator for Axis Communications CRIS
hp [Fri, 28 Jan 2005 04:28:59 +0000 (04:28 +0000)]
* cris: New directory, simulator for Axis Communications CRIS
including CRIS v32, CGEN-based.
* configure.ac: Add corresponding configury.
* configure: Regenerate.

19 years ago * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
hp [Fri, 28 Jan 2005 03:40:54 +0000 (03:40 +0000)]
* syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
* callback.c [HAVE_LIMITS_H]: Include limits.h.
   Include libiberty.h.
(os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
being either end of a pipe.
(os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
(os_shutdown): Clear pipe state.
(default_callback): Initialize new members.

19 years ago * callback.h (struct host_callback_struct): New members pipe,
hp [Fri, 28 Jan 2005 03:39:28 +0000 (03:39 +0000)]
* callback.h (struct host_callback_struct): New members pipe,
pipe_empty, pipe_nonempty, ispipe, pipe_buffer and
target_sizeof_int.
(CB_SYS_pipe): New macro.

19 years ago * callback.c (default_callback): Initialize target_endian.
hp [Fri, 28 Jan 2005 03:28:40 +0000 (03:28 +0000)]
* callback.c (default_callback): Initialize target_endian.
(cb_store_target_endian): Renamed from store, new first parameter
host_callback *cb, drop last parameter big_p.  Take endianness
from cb.
(cb_host_to_target_stat): Change to use cb_store_target_endian.
Remove variable big_p.
* nrun.c (main): Initialize default_callback.target_endian.

19 years ago * callback.h: Include "bfd.h".
hp [Fri, 28 Jan 2005 03:27:02 +0000 (03:27 +0000)]
* callback.h: Include "bfd.h".
(struct host_callback_struct): New member target_endian.
(cb_store_target_endian): Declare.

19 years ago * cris.cpu (mstep): Add missing insn.
hp [Fri, 28 Jan 2005 01:50:18 +0000 (01:50 +0000)]
* cris.cpu (mstep): Add missing insn.

19 years ago*** empty log message ***
gdbadmin [Fri, 28 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Thu, 27 Jan 2005 23:54:41 +0000 (23:54 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * configure.host: Add support for cris-*-* and crisv32-*-*.
        * libc/include/machine/ieeefp.h: Ditto.
        * libc/include/machine/setjmp.h: Ditto.
        * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
        libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
        libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
        libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
        libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
        libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
        libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
        files.

19 years agodaily update
amodra [Thu, 27 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Thu, 27 Jan 2005 22:57:24 +0000 (22:57 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * configure.in: Support cris-*-* and crisv32-*-*.
        * libnosys/configure.in: Ditto.
        * configure, libnosys/configure: Regenerate.
        * cris: New directory.
        * cris/crt0.S, cris/crtn.c, cris/gensyscalls, cris/linunistd.h,
        cris/outbyte.c, cris/configure.in, cris/crti.c, cris/lcrt0.c,
        cris/Makefile.in, cris/setup.S, cris/configure: New files.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 21:48:27 +0000 (21:48 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* value.h (struct value): Change type of contents to bfd_byte.
(VALUE_CONTENTS_RAW): Simplify.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 21:48:14 +0000 (21:48 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* value.h (struct value): Change type of contents to bfd_byte.
(VALUE_CONTENTS_RAW): Simplify.

19 years agoforgot to include the change for "Make relative branches out of range
cpg [Thu, 27 Jan 2005 21:32:21 +0000 (21:32 +0000)]
forgot to include the change for "Make relative branches out of range
an error instead of a warning" from last commit

19 years ago * config/tc-z8k.c (INSERT): Remove, not used anywhere.
cpg [Thu, 27 Jan 2005 21:08:12 +0000 (21:08 +0000)]
* config/tc-z8k.c (INSERT): Remove, not used anywhere.
(md_apply_fix3): Make relative branches out of range an error
instead of a warning.  Display correct line number for out of
range branches/calls/memory accesses.

19 years ago2005-01-27 Oliver Stoeneberg <oliverst@online.de>
dannysmith [Thu, 27 Jan 2005 21:04:17 +0000 (21:04 +0000)]
2005-01-27  Oliver Stoeneberg  <oliverst@online.de>

* include/winbase.h (PWIN32_FIND_DATA): Add typedef.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 21:00:55 +0000 (21:00 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (integer_to_address): Change buf parameter to a const
bfd_byte, make pure-multi-arch.
* gdbarch.h, gdbarch.c: Regenerate.
* mips-tdep.c (mips_integer_to_address): Update.
* value.c (value_as_address): Update.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 21:00:46 +0000 (21:00 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (integer_to_address): Change buf parameter to a const
bfd_byte, make pure-multi-arch.
* gdbarch.h, gdbarch.c: Regenerate.
* mips-tdep.c (mips_integer_to_address): Update.
* value.c (value_as_address): Update.

19 years ago * configure.in: Rename to ...
kseitz [Thu, 27 Jan 2005 20:53:45 +0000 (20:53 +0000)]
    * configure.in: Rename to ...
        * configure.ac: ... this.
        * configure: Regnerate.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Thu, 27 Jan 2005 20:52:39 +0000 (20:52 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

* testsuite/newlib.string/memmove1.c: New test.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 20:34:51 +0000 (20:34 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
* cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
parameters const, change buf to a const bfd_byte.
(fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
parameters const.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 20:34:42 +0000 (20:34 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
* cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
parameters const, change buf to a const bfd_byte.
(fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
parameters const.

19 years ago* utils.scm (string/symbol->append): Renamed from 'concat'.
jimb [Thu, 27 Jan 2005 20:31:12 +0000 (20:31 +0000)]
* utils.scm (string/symbol->append): Renamed from 'concat'.
* opcodes.scm (gen-switch): Use new name.
* insn.scm (-sub-insn-make!): Same.
* rtl.scm (rtx-dump): Same.
* semantics.scm (semantic-compile): Same.

19 years agoUpdate previous ChangeLog entry with missing info.
jjohnstn [Thu, 27 Jan 2005 20:29:49 +0000 (20:29 +0000)]
Update previous ChangeLog entry with missing info.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Thu, 27 Jan 2005 20:25:51 +0000 (20:25 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * testsuite/include/check.h: Include stdlib.h.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 20:09:09 +0000 (20:09 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* symfile-mem.c (do_target_read_memory): New function.
(symbol_file_add_from_memory): Pass do_target_read_memory to
bfd_elf_bfd_from_remote_memory.
* corefile.c (write_memory): Update, make a copy of the read-only
buffer.
* target.c (target_read_memory): Update.
(target_write_memory): Update, make a copy of the read-only
buffer.
* gdbcore.h (write_memory): Change buffer type to bfd_byte, make
const.
* target.h (target_read_memory, target_write_memory): Change
buffer type to bfd_byte; for write_memory, make it const.

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

* symfile-mem.c (do_target_read_memory): New function.
(symbol_file_add_from_memory): Pass do_target_read_memory to
bfd_elf_bfd_from_remote_memory.
* corefile.c (write_memory): Update, make a copy of the read-only
buffer.
* target.c (target_read_memory): Update.
(target_write_memory): Update, make a copy of the read-only
buffer.
* gdbcore.h (write_memory): Change buffer type to bfd_byte, make
const.
* target.h (target_read_memory, target_write_memory): Change
buffer type to bfd_byte; for write_memory, make it const.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Thu, 27 Jan 2005 19:13:53 +0000 (19:13 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * Makefile.am (stmp-targ-include): Support include header files
        from machine directories.
        * Makefile.in: Regenerate.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 16:45:09 +0000 (16:45 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* value.h: Indent using gdb_indent.sh.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 16:44:52 +0000 (16:44 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* value.h: Indent using gdb_indent.sh.

19 years ago * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
nathan [Thu, 27 Jan 2005 16:33:41 +0000 (16:33 +0000)]
* dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
to emit .debug_line and other debug sections.
* as.h (seg_not_empty_p): Declare.
* subsegs.c (seg_not_empty_p): New predicate.

19 years ago * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
nathan [Thu, 27 Jan 2005 16:33:37 +0000 (16:33 +0000)]
* dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
to emit .debug_line and other debug sections.
* as.h (seg_not_empty_p): Declare.
* subsegs.c (seg_not_empty_p): New predicate.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 15:24:00 +0000 (15:24 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Don't use NONE as a default for CATOBJEXT.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 14:48:16 +0000 (14:48 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Don't use NONE as a default for CATOBJEXT.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 27 Jan 2005 14:47:54 +0000 (14:47 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Don't use NONE as a default for CATOBJEXT.

19 years ago2005-01-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
fche [Thu, 27 Jan 2005 14:00:52 +0000 (14:00 +0000)]
2005-01-26  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>

* sidtypes.h (HOST_BIG_ENDIAN): Add support for both MIPS
endiannesses.

19 years agogas/
jbeulich [Thu, 27 Jan 2005 09:12:48 +0000 (09:12 +0000)]
gas/
2005-01-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".

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

* gas/ia64/nop_x.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
jbeulich [Thu, 27 Jan 2005 09:12:39 +0000 (09:12 +0000)]
gas/
2005-01-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".

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

* gas/ia64/nop_x.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
jbeulich [Thu, 27 Jan 2005 08:41:22 +0000 (08:41 +0000)]
gas/
2005-01-25  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Add late resolution of move
to/from application registers dynamic insns.
(md_assemble): Defer resolution of move to/from application registers
dynamic insns when they can be issued on either the I- or M-units.

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

* gas/ia64/dv-waw-err.l: Don't expect ar112 move warning to refer to
M-unit.
* gas/ia64/mov-ar.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years ago2005-01-26 Oliver Stoeneberg <oliverst@online.de>
dannysmith [Thu, 27 Jan 2005 00:34:41 +0000 (00:34 +0000)]
2005-01-26  Oliver Stoeneberg  <oliverst@online.de>

* include/malloc.h: Add missing return code defines for
_heapwalk()

19 years ago*** empty log message ***
gdbadmin [Thu, 27 Jan 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

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

19 years ago2005-01-26 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 26 Jan 2005 21:53:02 +0000 (21:53 +0000)]
2005-01-26  Andrew Cagney  <cagney@gnu.org>

* rs6000-tdep.c: Include "reggroups.h".
(rs6000_gdbarch_init): Set register_reggroup_p.
(rs6000_register_reggroup_p): New function.

19 years ago* pinfo.cc (pinfo::init): Avoid a compiler warning.
cgf [Wed, 26 Jan 2005 18:21:20 +0000 (18:21 +0000)]
* pinfo.cc (pinfo::init): Avoid a compiler warning.

19 years ago * syscalls.cc (setpriority): Implement PRIO_PGRP, PRIO_USER and
corinna [Wed, 26 Jan 2005 13:07:47 +0000 (13:07 +0000)]
* syscalls.cc (setpriority): Implement PRIO_PGRP, PRIO_USER and
setting priority in other Cygwin processes.
(getpriority): Implement PRIO_PGRP, PRIO_USER and getting nice value
from other processes.

19 years ago2005-01-26 Orjan Friberg <orjanf@axis.com>
orjanf [Wed, 26 Jan 2005 12:32:39 +0000 (12:32 +0000)]
2005-01-26  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (enum cris_num_regs, enum cris_regnums)
(cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
CRISv32.
(crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
(cris_region_ok_for_watchpoint, cris_stopped_data_address)
(crisv32_cannot_fetch_register, crisv32_cannot_store_register)
(crisv32_register_type, cris_special_register_name)
(crisv32_register_name): New functions.
(cris_spec_reg_applicable): Recognize more versions.
(cris_register_name): Update with call to cris_special_register_name.
(find_cris_op): Filter out CRISv32 instructions.  Tweaked comment and
warning when unable to find step target.
(CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
(supply_gregset): Add struct gdbarch_tdep.  Set pseudo-PC register for
CRISv32.
(fetch_core_registers): Update for CRISv32.
(cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
register_name, cannot_store_register, cannot_fetch_register,
have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.

19 years ago2005-01-26 Orjan Friberg <orjanf@axis.com>
orjanf [Wed, 26 Jan 2005 12:32:28 +0000 (12:32 +0000)]
2005-01-26  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (enum cris_num_regs, enum cris_regnums)
(cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
CRISv32.
(crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
(cris_region_ok_for_watchpoint, cris_stopped_data_address)
(crisv32_cannot_fetch_register, crisv32_cannot_store_register)
(crisv32_register_type, cris_special_register_name)
(crisv32_register_name): New functions.
(cris_spec_reg_applicable): Recognize more versions.
(cris_register_name): Update with call to cris_special_register_name.
(find_cris_op): Filter out CRISv32 instructions.  Tweaked comment and
warning when unable to find step target.
(CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
(supply_gregset): Add struct gdbarch_tdep.  Set pseudo-PC register for
CRISv32.
(fetch_core_registers): Update for CRISv32.
(cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
register_name, cannot_store_register, cannot_fetch_register,
have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.

19 years ago(interpreter_exec_cmd): Use condition,
nickrob [Wed, 26 Jan 2005 09:56:18 +0000 (09:56 +0000)]
(interpreter_exec_cmd): Use condition,
e.reason < 0, to raise an error.

19 years ago*** empty log message ***
nickrob [Wed, 26 Jan 2005 09:55:23 +0000 (09:55 +0000)]
*** empty log message ***

19 years ago * include/winuser.h (SW_SMOOTHSCROLL): Add define.
dannysmith [Wed, 26 Jan 2005 06:25:58 +0000 (06:25 +0000)]
* include/winuser.h (SW_SMOOTHSCROLL): Add define.

19 years ago * elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
mmitchel [Wed, 26 Jan 2005 06:10:41 +0000 (06:10 +0000)]
* elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
SymbianOS.

* emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
as to include .ARM.exidx$${Base,Limit}.
* ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
Put .init_array, .fini_array, etc. into the read-only data
segment.

19 years ago2005-01-26 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Wed, 26 Jan 2005 04:34:18 +0000 (04:34 +0000)]
2005-01-26  Pierre Humblet <pierre.humblet@ieee.org>

* path.cc (path_conv::check): Return ENOTDIR rather than ENOENT
when a component is not a directory. Remove unreachable code.
(digits): Delete.

19 years ago* pinfo.h (pinfo::init): Make third parameter non-optional and propagate change
cgf [Wed, 26 Jan 2005 00:15:10 +0000 (00:15 +0000)]
* pinfo.h (pinfo::init): Make third parameter non-optional and propagate change
throughout.
* pinfo.cc (set_myself): Pass INVALID_HANDLE_POINTER if h is NULL.
(pinfo::init): Make third parameter non-optional.  Eliminate use of PID_EXECED
as an argument.  Put setting of handle back inside loop but reorganize to try
to open it only when necessary.

19 years ago*** empty log message ***
gdbadmin [Wed, 26 Jan 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 25 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * cygwin.din: Export getpriority and setpriority.
corinna [Tue, 25 Jan 2005 22:45:06 +0000 (22:45 +0000)]
* cygwin.din: Export getpriority and setpriority.
* fork.cc (fork_parent): Copy parent's nice value into child.
* spawn.cc (spawn_guts): Ditto.
* miscfuncs.cc (winprio_to_nice): New function.
(nice_to_winprio): Ditto.
* pinfo.cc (pinfo_init): If parent is not a Cygwin process, set
default nice value according to current Win32 priority class.
* pinfo.h (class _pinfo): Add nice member.
* syscalls.cc (setpriority): New function, only implementing
PRIO_PROCESS for now.
(getpriority): Ditto.
(nice): Just call setpriority.
* wincap.h (wincaps::has_extended_priority_class): New element.
* wincap.cc: Implement above element throughout.
* winsup.h: Add prototypes for winprio_to_nice and nice_to_winprio.
* include/limits.h (NZERO): New define.
* include/cygwin/types.h (id_t): New datatype.
* include/cygwin/version.h: Bump API minor version.
* include/sys/resource.h: Add PRIO_XXX defines and prototypes for
getpriority and setpriority.

19 years ago2005-01-25 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 25 Jan 2005 22:43:41 +0000 (22:43 +0000)]
2005-01-25  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-tdep.c: Include "tramp-frame.h"
(struct ppc_linux_sigtramp_cache)
(ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
(ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
(ppc_linux_sigtramp_cache): Delete.
(ppc32_linux_sigaction_cache_init)
(ppc64_linux_sigaction_cache_init)
(ppc32_linux_sighandler_cache_init)
(ppc64_linux_sighandler_cache_init)
(ppc32_linux_sigaction_tramp_frame)
(ppc64_linux_sigaction_tramp_frame)
(ppc32_linux_sighandler_tramp_frame)
(ppc64_linux_sighandler_tramp_frame)
(ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
64-bit, sigaction and siginfo tramp-frame unwinders.

19 years ago2005-01-25 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 25 Jan 2005 22:06:54 +0000 (22:06 +0000)]
2005-01-25  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-tdep.c (ppc_linux_init_abi): Always set
        long_double_bit to 8.

19 years ago * path.cc (realpath): Allow to expand with .exe suffix.
corinna [Tue, 25 Jan 2005 20:28:40 +0000 (20:28 +0000)]
* path.cc (realpath): Allow to expand with .exe suffix.

19 years agobfd/ChangeLog:
aoliva [Tue, 25 Jan 2005 20:22:15 +0000 (20:22 +0000)]
bfd/ChangeLog:
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* elf32-frv.c (elf32_frv_relocate_section): Force local binding
for TLSMOFF.
* reloc.c: Add R_FRV_TLSMOFF.
* elf32-frv.c (elf32_frv_howto_table): Likewise.
(frv_reloc_map, frv_reloc_type_lookup): Map it.
(elf32_frv_relocate_section): Handle it.
(elf32_frv_check_relocs): Likewise.
* libbfd.h, bfd-in2.h: Rebuilt.
2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
* elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash
when given an undefweak TLS symbol.  Fix constant TLS PLT entries
such that they return the constant in gr9.
(_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS
symbols.
(_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections.
too, such that they shrink on relaxation.
(elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as
marking the position right past the _GLOBAL_OFFSET_TABLE_ value.
(_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries
if we can guarantee the use of 16-bit constants.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
Introduce TLS support for FR-V FDPIC.
* reloc.c: Add TLS relocations.
* elf32-frv.c (elf32_frv_howto_table): Add TLS relocations.
(elf32_frv_rel_tlsdesc_value_howto): New.
(elf32_frv_rel_tlsoff_howto): New.
(frv_reloc_map): Add new mappings.
(struct frvfdpic_elf_link_hash_table): Add pointer to summary
reloc information.
(frvfdpic_dynamic_got_plt_info): New.
(frvfdpic_plt_tls_ret_offset): New.
(ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier.
(struct _frvfdpic_dynamic_got_info): Likewise.  Add TLS members.
(struct _frvfdpic_dynamic_got_plt_info): Likewise.
(FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute
section as local.
(struct frvfdpic_relocs_info): Add TLS fields.
(frvfdpic_relocs_info_hash): Warning clean up.
(frvfdpic_relocs_info_find): Initialize tlsplt_entry.
(frvfdpic_pic_merge_early_relocs_info): Merge TLS fields.
(FRVFDPIC_TLS_BIAS): Define.
(tls_biased_base): New.
(_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS
relocations.
(frv_reloc_type_lookup): Likewise.
(frvfdpic_info_to_howto_rel): Likewise.
(elf32_frv_relocate_section): Likewise.
(_frv_create_got_section): Create the PLT section here.
(elf32_frvfdpic_create_dynamic_sections): Not here.
(_frvfdpic_count_nontls_entries): Move out of...
(_frvfdpic_count_got_plt_entries): ... here.
(_frvfdpic_count_tls_entries): Likewise.  Add TLS support.
(_frvfdpic_count_relocs_fixups): Likewise.  Add relaxation
support.
(_frvfdpic_relax_tls_entries): New.
(_frvfdpic_compute_got_alloc_data): Add TLS support.
(_frvfdpic_get_tlsdesc_entry): New.
(_frvfdpic_assign_got_entries): Add TLS support.
(_frvfdpic_assign_plt_entries): Likewise.
(_frvfdpic_reset_got_plt_entries): New.
(_frvfdpic_size_got_plt): Move out of...
(elf32_frvfdpic_size_dynamic_sections): ... here.
(_frvfdpic_relax_got_plt_entries): New.
(elf32_frvfdpic_relax_section): New.
(elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check.
(elf32_frv_check_relocs): Add TLS support.
(bfd_elf32_bfd_relax_section): Define for FDPIC.
* libbfd.h, bfd-in2.h: Rebuilt.
cpu/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.cpu: Add support for TLS annotations in loads and calll.
* frv.opc (parse_symbolic_address): New.
(parse_ldd_annotation): New.
(parse_call_annotation): New.
(parse_ld_annotation): New.
(parse_ulo16, parse_uslo16): Use parse_symbolic_address.
Introduce TLS relocations.
(parse_d12, parse_s12, parse_u12): Likewise.
(parse_uhi16): Likewise.  Fix constant checking on 64-bit host.
(parse_call_label, print_at): New.
gas/ChangeLog:
* config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* cgen.c (gas_cgen_parse_operand): Handle
CGEN_PARSE_OPERAND_SYMBOLIC.
* config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
(frv_force_relocation): Likewise.  Fix handling of PIC
relocations.
(md_apply_fix3): Likewise.
include/elf/ChangeLog:
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.h: Add R_FRV_TLSMOFF.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.h: Add TLS relocations.
include/opcode/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* cgen.h (enum cgen_parse_operand_type): Add
CGEN_PARSE_OPERAND_SYMBOLIC.
ld/testsuite/ChangeLog:
* ld-frv/fdpic.exp: Add -mfdpic to ASFLAGS.
* ld-frv/tls.exp: Likewise.
2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
* ld-frv/tls-3.s: New.
* ld-frv/tls-static-3.d: New.
* ld-frv/tls-dynamic-3.d: New.
* ld-frv/tls-pie-3.d: New.
* ld-frv/tls-shared-3.d: New.
* ld-frv/tls-relax-static-3.d: New.
* ld-frv/tls-relax-dynamic-3.d: New.
* ld-frv/tls-relax-pie-3.d: New.
* ld-frv/tls-relax-shared-3.d: New.
* ld-frv/tls.exp: Run the new tests.
* ld-frv/tls-dynamic-2.d: Adjust for improved relaxation.
* ld-frv/tls-relax-dynamic-2.d: Likewise.
* ld-frv/tls-relax-initial-shared-2.d: Likewise.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* ld-frv/tls-1-dep.s: New.
* ld-frv/tls-1-shared.lds: New.
* ld-frv/tls-1.s: New.
* ld-frv/tls-2.s: New.
* ld-frv/tls-dynamic-1.d: New.
* ld-frv/tls-dynamic-2.d: New.
* ld-frv/tls-initial-shared-2.d: New.
* ld-frv/tls-pie-1.d: New.
* ld-frv/tls-relax-dynamic-1.d: New.
* ld-frv/tls-relax-dynamic-2.d: New.
* ld-frv/tls-relax-initial-shared-2.d: New.
* ld-frv/tls-relax-pie-1.d: New.
* ld-frv/tls-relax-shared-1.d: New.
* ld-frv/tls-relax-shared-2.d: New.
* ld-frv/tls-relax-static-1.d: New.
* ld-frv/tls-shared-1-fail.d: New.
* ld-frv/tls-shared-1.d: New.
* ld-frv/tls-shared-2.d: New.
* ld-frv/tls-static-1.d: New.
* ld-frv/tls.exp: New.
* ld-frv/fdpic-pie-1.d: Adjust for 64-bit host.
* ld-frv/fdpic-pie-2.d: Likewise.
* ld-frv/fdpic-pie-6.d: Likewise.
* ld-frv/fdpic-pie-7.d: Likewise.
* ld-frv/fdpic-pie-8.d: Likewise.
* ld-frv/fdpic-shared-1.d: Likewise.
* ld-frv/fdpic-shared-2.d: Likewise.
* ld-frv/fdpic-shared-3.d: Likewise.
* ld-frv/fdpic-shared-4.d: Likewise.
* ld-frv/fdpic-shared-5.d: Likewise.
* ld-frv/fdpic-shared-6.d: Likewise.
* ld-frv/fdpic-shared-7.d: Likewise.
* ld-frv/fdpic-shared-8.d: Likewise.
* ld-frv/fdpic-shared-local-2.d: Likewise.
* ld-frv/fdpic-shared-local-8.d: Likewise.
* ld-frv/fdpic-static-1.d: Likewise.
* ld-frv/fdpic-static-2.d: Likewise.
* ld-frv/fdpic-static-6.d: Likewise.
* ld-frv/fdpic-static-7.d: Likewise.
* ld-frv/fdpic-static-8.d: Likewise.
opcodes/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv-asm.c: Rebuilt.
* frv-desc.c: Rebuilt.
* frv-desc.h: Rebuilt.
* frv-dis.c: Rebuilt.
* frv-ibld.c: Rebuilt.
* frv-opc.c: Rebuilt.
* frv-opc.h: Rebuilt.

19 years agobfd/
amodra [Tue, 25 Jan 2005 10:33:51 +0000 (10:33 +0000)]
bfd/
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound): Only include
loadable reloc sections.
(_bfd_elf_canonicalize_dynamic_reloc): Likewise.
(_bfd_elf_get_synthetic_symtab): Return 0 if no dynamic syms.
binutils/
* nm.c (display_rel_file): Read dynamic syms before calling
bfd_get_synthetic_symtab.

19 years agobfd/
amodra [Tue, 25 Jan 2005 01:39:58 +0000 (01:39 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Don't create link dynamic
sections immediately when linking shared libs.  Instead, wait until
we know a lib is needed.
(_bfd_elf_link_create_dynstrtab): Extract from..
(_bfd_elf_link_create_dynamic_sections_): ..here.
(elf_add_dt_needed_tag): Call _bfd_elf_link_create_dynstrtab and
_bfd_elf_link_create_dynamic_sections.  Add abfd param.  Allow
for non-existent .dynamic.
(elf_link_output_extsym): Don't complain about undefined symbols
in as-needed dynamic libs that aren't actually linked.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
(gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
only needed by an as-needed lib that didn't get linked.

19 years ago*** empty log message ***
gdbadmin [Tue, 25 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***