OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agodaily update
Alan Modra [Mon, 15 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sun, 14 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 13 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 12 Apr 2002 23:02:12 +0000 (23:02 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

* bfd-in.h (bfd_get_section_lma): New access macro.
Minor white-space fix-up.

22 years ago * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
Alan Modra [Fri, 12 Apr 2002 03:30:56 +0000 (03:30 +0000)]
* elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
header pad.

22 years agosync with gcc
DJ Delorie [Fri, 12 Apr 2002 01:23:53 +0000 (01:23 +0000)]
sync with gcc
2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>

* acinclude.m4: Fix spelling error of "separate" as "seperate".

2001-05-22  Jason Merrill  <jason_merrill@redhat.com>

* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

2001-01-27  Richard Henderson  <rth@redhat.com>

* mt-alphaieee: New file.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

* mh-djgpp: do not set CFLAGS.

2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>

* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
modify 'gcc_version'.

2000-07-21  Andrew Haley  <aph@cygnus.com>

* mh-ia64pic: New file.
* mt-ia64pic: New file.

22 years agodaily update
Alan Modra [Fri, 12 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoAdd 'n' in order to prevent "-n" from being taken as an abbreviation for
Nick Clifton [Thu, 11 Apr 2002 16:55:27 +0000 (16:55 +0000)]
Add 'n' in order to prevent "-n" from being taken as an abbreviation for
"--no-pipeline-knowledge".

22 years agoUse 'file delete' instead of 'exec rm -f'.
Nick Clifton [Thu, 11 Apr 2002 13:42:03 +0000 (13:42 +0000)]
Use 'file delete' instead of 'exec rm -f'.

22 years agoreorder cmpsd, movsd
Alan Modra [Thu, 11 Apr 2002 11:58:30 +0000 (11:58 +0000)]
reorder cmpsd, movsd

22 years agoFix thinko in last commit.
Richard Sandiford [Thu, 11 Apr 2002 11:21:01 +0000 (11:21 +0000)]
Fix thinko in last commit.

22 years ago * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
Richard Sandiford [Thu, 11 Apr 2002 11:11:35 +0000 (11:11 +0000)]
* doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
* config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
argument for the precision.
(gen_to_words): Update accordingly.

22 years ago * i386.h: Add intel mode cmpsd and movsd.
Alan Modra [Thu, 11 Apr 2002 10:21:58 +0000 (10:21 +0000)]
* i386.h: Add intel mode cmpsd and movsd.

22 years agodaily update
Alan Modra [Thu, 11 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.
DJ Delorie [Wed, 10 Apr 2002 16:45:31 +0000 (16:45 +0000)]
* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.

22 years ago * as.c (parse_args <OPTION_VERSION>): Use VERSION is
Alan Modra [Wed, 10 Apr 2002 13:00:02 +0000 (13:00 +0000)]
* as.c (parse_args <OPTION_VERSION>): Use VERSION is
BFD_VERSION_STRING unavailable.
* config/tc-i386.c (INLINE): Define (for non-BFD assembler).

22 years agoDelete created files upon successful completeion of the test.
Nick Clifton [Wed, 10 Apr 2002 08:22:00 +0000 (08:22 +0000)]
Delete created files upon successful completeion of the test.

22 years agoRegernated recently created expected output files using MSVC.
Nick Clifton [Wed, 10 Apr 2002 08:14:32 +0000 (08:14 +0000)]
Regernated recently created expected output files using MSVC.
Set MEMFLAG_PURE by default - bug exposed by regenerated files.

22 years ago* configure.in: Add *-*-freebsd* configurations.
DJ Delorie [Wed, 10 Apr 2002 02:13:43 +0000 (02:13 +0000)]
* configure.in: Add *-*-freebsd* configurations.

22 years ago * hashtab.c (higher_prime_number): Use 7 as minimum.
Richard Henderson [Wed, 10 Apr 2002 00:43:27 +0000 (00:43 +0000)]
    * hashtab.c (higher_prime_number): Use 7 as minimum.
        (find_empty_slot_for_expand): Don't compute hash2 unless needed.
        (htab_find_slot_with_hash): Likewise.

22 years agodaily update
Alan Modra [Wed, 10 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agoAdd WS_CAPTION dialog style if CAPTION is specified.
Nick Clifton [Tue, 9 Apr 2002 17:23:19 +0000 (17:23 +0000)]
Add WS_CAPTION dialog style if CAPTION is specified.
Add testcase.

22 years agoDon't print empty dialog caption.
Nick Clifton [Tue, 9 Apr 2002 17:15:00 +0000 (17:15 +0000)]
Don't print empty dialog caption.
Add testcase.

22 years agoFix overlooked sublang shift bug.
Nick Clifton [Tue, 9 Apr 2002 17:06:14 +0000 (17:06 +0000)]
Fix overlooked sublang shift bug.
Add testcase.

22 years agoSet default LANGUAGE to english/us.
Nick Clifton [Tue, 9 Apr 2002 16:55:48 +0000 (16:55 +0000)]
Set default LANGUAGE to english/us.

22 years ago * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
Joern Rennecke [Tue, 9 Apr 2002 16:48:03 +0000 (16:48 +0000)]
* config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
symbol_used_in_reloc_p is true.

22 years agoCompute checksum for PE images.
Nick Clifton [Tue, 9 Apr 2002 16:43:26 +0000 (16:43 +0000)]
Compute checksum for PE images.

22 years agoUse signature to identify DIALOGEX.
Nick Clifton [Tue, 9 Apr 2002 16:37:21 +0000 (16:37 +0000)]
Use signature to identify DIALOGEX.
Add testcase.

22 years agoDon't add default dialog style when explicit style specified.
Nick Clifton [Tue, 9 Apr 2002 15:59:13 +0000 (15:59 +0000)]
Don't add default dialog style when explicit style specified.
Print style even if it is 0.
Add testcase.

22 years ago"\a" escape (used for right justified key definitions in menus) is encodes as
Nick Clifton [Tue, 9 Apr 2002 15:44:36 +0000 (15:44 +0000)]
"\a" escape (used for right justified key definitions in menus) is encodes as
binary 8.

22 years agoFix parsing hex constants in strings. Add test for the fix.
Nick Clifton [Tue, 9 Apr 2002 15:36:43 +0000 (15:36 +0000)]
Fix parsing hex constants in strings.  Add test for the fix.

22 years ago * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
Joern Rennecke [Tue, 9 Apr 2002 15:26:59 +0000 (15:26 +0000)]
* config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
endian hosts.

22 years agoFix typo in BEDIT warning.
Nick Clifton [Tue, 9 Apr 2002 15:23:38 +0000 (15:23 +0000)]
Fix typo in BEDIT warning.

22 years agoApply patch from Bernd Herd to fix quoted class definitions inside dialogs.
Nick Clifton [Tue, 9 Apr 2002 15:21:01 +0000 (15:21 +0000)]
Apply patch from Bernd Herd to fix quoted class definitions inside dialogs.

22 years agoTue Apr 9 15:13:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
Joern Rennecke [Tue, 9 Apr 2002 15:15:26 +0000 (15:15 +0000)]
Tue Apr  9 15:13:10 2002  J"orn Rennecke <joern.rennecke@superh.com>

* MAINTAINERS: Update my email address.

22 years agodaily update
Alan Modra [Tue, 9 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
Alan Modra [Mon, 8 Apr 2002 11:01:43 +0000 (11:01 +0000)]
* elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
(elf32_hppa_final_link): Split out sorting logic to..
* elf-hppa.h (elf_hppa_sort_unwind): ..here.
(elf_hppa_final_link): Call elf_hppa_sort_unwind.

22 years ago * ldlang.c (lang_size_sections_1): Don't complain about
Alan Modra [Mon, 8 Apr 2002 01:01:43 +0000 (01:01 +0000)]
* ldlang.c (lang_size_sections_1): Don't complain about
SEC_NEVER_LOAD sections having no memory region specified.

22 years ago * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
Alan Modra [Mon, 8 Apr 2002 00:24:02 +0000 (00:24 +0000)]
* ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.

22 years agodaily update
Alan Modra [Mon, 8 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
Andrew Cagney [Sun, 7 Apr 2002 21:49:09 +0000 (21:49 +0000)]
* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
pattern.
* configure: Re-generate.

22 years ago* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
Andrew Cagney [Sun, 7 Apr 2002 21:42:32 +0000 (21:42 +0000)]
* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
is greater or equal to 4.3.3.
* configure: Regenerate.
Fix PR gdb/344.

22 years ago* Makefile.in (do-tar-bz2): Delete rule. Replace with ...
Andrew Cagney [Sun, 7 Apr 2002 20:53:57 +0000 (20:53 +0000)]
* Makefile.in (do-tar-bz2): Delete rule.  Replace with ...
(do-tar, do-bz2): New rules.
(taz): Update.  Replace do-tar-bz2 with do-tar and do-bz2.
(gdb-tar): New rule.
(gdb-taz): Rewrite.  Use gdb-tar and do-bz2.
(insight_dejagnu.tar): New rule.
(insight.tar): New rule.
(gdb+dejagnu.tar): New rule.
(gdb.tar): New rule.

22 years ago* MAINTAINERS: Update dejagnu/
Andrew Cagney [Sun, 7 Apr 2002 19:17:07 +0000 (19:17 +0000)]
* MAINTAINERS: Update dejagnu/

22 years ago* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
Matthew Green [Sun, 7 Apr 2002 13:57:53 +0000 (13:57 +0000)]
* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.

22 years agofix a typo in my name
Matthew Green [Sun, 7 Apr 2002 13:56:38 +0000 (13:56 +0000)]
fix a typo in my name

22 years agodaily update
Alan Modra [Sun, 7 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 6 Apr 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
Hans-Peter Nilsson [Fri, 5 Apr 2002 23:13:09 +0000 (23:13 +0000)]
* ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.

22 years ago * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
Hans-Peter Nilsson [Fri, 5 Apr 2002 23:11:32 +0000 (23:11 +0000)]
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
R_CRIS_32_PCREL>: Fix typo in name.
(cris_elf_check_relocs): Always create .rela.got here when
R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen.
(elf_cris_adjust_gotplt_to_got): Don't create .rela.got here;
assume it's created.

22 years agodaily update
Alan Modra [Fri, 5 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 4 Apr 2002 19:53:38 +0000 (19:53 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

* aout-adobe.c (aout_32_bfd_link_hash_table_free): Define.
* aout-target.h (MY_bfd_link_hash_table_free): Conditionally
define.
* aout-tic30.c (MY_bfd_link_hash_table_free): Likewise.
* bfd.c (bfd_link_hash_table_free): Define.
* binary.c (binary_bfd_link_hash_table_free): Define.
* bout.c (b_out_bfd_link_hash_table_free): Define.
* coff-rs6000.c (rs6000coff_vec): Include
_bfd_generic_link_hash_table_free.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_link_hash_table_free): Conditionally define.
* elf-m10300.c (elf32_mn10300_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elf32-hppa.c (elf32_hppa_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally
define.
* i386msdos.c (msdos_bfd_link_hash_table_free): Define.
* i386os9k.c (os9k_bfd_link_hash_table_free): Define.
* ieee.c (ieee_bfd_link_hash_table_free): Define.
* ihex.c (ihex_bfd_link_hash_table_free): Define.
* libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define.
(_bfd_generic_link_hash_table_free): Add prototype.
* libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype.
* libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define.
* linker.c (_bfd_generic_link_hash_table_free): New function.
* mmo.c (mmo_bfd_link_hash_table_free): Define.
* nlm-target.h (nlm_bfd_link_hash_table_free): Define.
* oasys.c (oasys_bfd_link_hash_table_free): Define.
* ppcboot.c (ppcboot_bfd_link_hash_table_free): Define.
* som.c (som_bfd_link_hash_table_free): Define.
* srec.c (srec_bfd_link_hash_table_free): Define.
* tekhex.c (tekhex_bfd_link_hash_table_free): Define.
* versados.c (versados_bfd_link_hash_table_free): Define.
* vms.c (vms_bfd_link_hash_table_free): New function.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function.

* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc
instead of bfd_alloc.
* coff-h8300.c (h8300_coff_link_hash_table_create): Likewise.
* coff-mcore.c (coff_mcore_link_hash_table_create): Likewise.
* coff-ppc.c (ppc_coff_link_hash_table_create): Likewise.
* cofflink.c (_bfd_coff_link_hash_table_create): Likewise.
* ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise.
* elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise.
* elf.c (_bfd_elf_link_hash_table_create): Likewise.
* elf32-arm.h (elf32_arm_link_hash_table_create): Likewise.
* elf32-cris.c (elf_cris_link_hash_table_create): Likewise.
* elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise.
* elf32-i386.c (elf_i386_link_hash_table_create): Likewise.
* elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise.
* elf32-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf32-sh.c (sh_elf_link_hash_table_create): Likewise.
* elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise.
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise.
* elf64-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise.
* elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise.
* elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* linker.c (_bfd_generic_link_hash_table_create): Likewise.
* m68klinux.c (linux_link_hash_table_create): Likewise.
* sparclinux.c (linux_link_hash_table_create): Likewise.
* sunos.c (sunos_link_hash_table_create): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise.

* targets.c: Add _bfd_link_hash_table_free to xvec.

* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:07:57 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:07:22 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:05:44 +0000 (14:05 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* ppc-opc.c: Whitespace.
* s390-dis.c: Fix copyright date.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:04:39 +0000 (14:04 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* coff-arm.c: Fix copyright date.
* cpu-h8300.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-s390.c: Likewise.
* cpu-mips.c: Likewise.
* po/SRC-POTFILES.in: Regenerate.

22 years agoOpen out one-line if-then-else test clauses so that other clauses can be
Nick Clifton [Thu, 4 Apr 2002 08:23:30 +0000 (08:23 +0000)]
Open out one-line if-then-else test clauses so that other clauses can be
inserted in the future.

22 years ago * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
Thiemo Seufer [Thu, 4 Apr 2002 07:43:11 +0000 (07:43 +0000)]
* config/tc-mips.c (mips16_macro_build): Cast type mismatch.
(mips_ip): Remove unused variable.
(md_apply_fix3): Cast signed/unsignes mismatches. Replace
unsigned char with bfd_byte.
(s_file): Remove unused variable.
(s_mips_ent): Likewise.

22 years ago * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
Thiemo Seufer [Thu, 4 Apr 2002 07:21:39 +0000 (07:21 +0000)]
* emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.

22 years agoActually commit the new files ommitted before.
Thiemo Seufer [Thu, 4 Apr 2002 07:10:00 +0000 (07:10 +0000)]
Actually commit the new files ommitted before.

22 years ago * Makefile.am: Add elfxx-mips.c to the known backends.
Thiemo Seufer [Thu, 4 Apr 2002 07:01:27 +0000 (07:01 +0000)]
* Makefile.am: Add elfxx-mips.c to the known backends.
(elf32-mips.lo): remove dependency to coff/external.h.
* Makefile.in: Regenerate.
* configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo
Remove elf32-mips.lo from 64 bit vectors. Update dependencies
accordingly.
* configure: Regenerate.
* elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h.
(irix_compat_t): IRIX compatibility level, moved from elf32-mips.c.
(elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New
MIPS specific backend functions.
* elf32-mips.c: Moved most code to elfxx-mips.c.
(mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make
static.
(mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc.
(mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc.
(mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc.
(mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed
interface to allow selection of the right REL or RELA howto table.
(mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made
static. Let it refuse n32 objects.
(elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus.
(elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo.
(elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info.
(elf32_mips_ignore_discarded_relocs): Rename from
_bfd_elf32_mips_ignore_discarded_relocs.
(elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section.
(elf32_mips_irix_compat): New function, replaces IRIX_COMPAT.
(elf_mips_howto_table_rela): Remove.
* elf64-mips.c: Moved most code to elfxx-mips.c.
(bfd_elf64_bfd_reloc_type_lookup): Make static.
(mips_elf64_rtype_to_howto): New function.
(mips_elf64_object_p): Likewise.
(elf64_mips_irix_compat): Likewise.
* elfxx-mips.c: New file containing common code merged together from
elf32-mips.c and elf64-mips.c.
* elfxx-mips.h: New file containing MIPS specific prototypes from
elf-bfd.h.
* elfxx-target.h: Add handling for elf_backend_mips_irix_compat and
elf_backend_mips_rtype_to_howto.

22 years ago * srec.c (MAXCHUNK, Chunk): Revise comments.
Alan Modra [Thu, 4 Apr 2002 03:05:51 +0000 (03:05 +0000)]
* srec.c (MAXCHUNK, Chunk): Revise comments.
(srec_write_record): Correct buffer size.
(srec_write_header): Do without intermediate buffer.
(srec_write_section): Validate Chunk.
(srec_write_terminator): Pass NULL instead of dummy buffer.
(srec_write_symbols): Pass file and symbol names directly to
bfd_bwrite so sprintf won't overflow buffer.

22 years agodaily update
Alan Modra [Thu, 4 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agoVarious fixes and improvements for d10v.
Tom Rix [Wed, 3 Apr 2002 19:44:05 +0000 (19:44 +0000)]
Various fixes and improvements for d10v.

22 years ago * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
Jakub Jelinek [Wed, 3 Apr 2002 17:42:39 +0000 (17:42 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
PC relative relocs against hidden symbols.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): When setting section
Alan Modra [Wed, 3 Apr 2002 13:26:34 +0000 (13:26 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): When setting section
LMAs, loop over segments until p_vaddr and p_memsz specify an
extent enclosing the section.

22 years ago * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
Jakub Jelinek [Wed, 3 Apr 2002 10:25:41 +0000 (10:25 +0000)]
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
is smaller than maximum, round dot up to common page boundary.

22 years ago * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
Alan Modra [Wed, 3 Apr 2002 04:10:28 +0000 (04:10 +0000)]
* symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
O_logical_not>): Derive final_seg from add_symbol.
<O_multiply..O_logical_or>: More final_seg twiddles.

22 years agodaily update
Alan Modra [Wed, 3 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoDo not allow records to cross a 64K boundary - wrap if necessary.
Nick Clifton [Tue, 2 Apr 2002 14:08:51 +0000 (14:08 +0000)]
Do not allow records to cross a 64K boundary - wrap if necessary.

22 years ago * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
Richard Henderson [Tue, 2 Apr 2002 00:32:41 +0000 (00:32 +0000)]
    * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
        in 32-bit mode.

22 years agodaily update
Alan Modra [Tue, 2 Apr 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Mon, 1 Apr 2002 22:01:20 +0000 (22:01 +0000)]
merge from gcc

22 years ago2002-04-01 Nathan Williams <nathanw@wasabisystems.com>
Jason Thorpe [Mon, 1 Apr 2002 18:31:46 +0000 (18:31 +0000)]
2002-04-01  Nathan Williams  <nathanw@wasabisystems.com>

* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro
which caused the returned LWP ID to always be 0.

22 years ago * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
Richard Henderson [Mon, 1 Apr 2002 10:00:49 +0000 (10:00 +0000)]
    * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
        (elf32_sparc_relocate_section): Use it to figure out when to
        initialize .got entries.
        * elf64-sparc.c: Similarly.

22 years agodaily update
Alan Modra [Mon, 1 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sun, 31 Mar 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Sat, 30 Mar 2002 06:17:57 +0000 (06:17 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Fri, 29 Mar 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Thu, 28 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Thu, 28 Mar 2002 04:06:38 +0000 (04:06 +0000)]
merge from gcc

22 years ago * linker.c (link_action): Ignore duplicate warning syms.
Alan Modra [Thu, 28 Mar 2002 03:27:46 +0000 (03:27 +0000)]
* linker.c (link_action): Ignore duplicate warning syms.
(_bfd_generic_link_write_global_symbol): Follow warning symbol link.
* elflink.h (elf_adjust_dynstr_offsets): Likewise.
(elf_adjust_dynamic_symbol): Likewise.
(elf_export_symbol): Likewise.
(elf_link_find_version_dependencies): Likewise.
(elf_link_assign_sym_version): Likewise.
(elf_link_sec_merge_syms): Likewise.
(elf_link_output_extsym): Likewise.
(elf_gc_sweep_symbol): Likewise.
(elf_gc_propagate_vtable_entries_used): Likewise.
(elf_gc_smash_unused_vtentry_relocs): Likewise.
(elf_gc_allocate_got_offsets): Likewise.
(elf_collect_hash_codes): Likewise.
* elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise.
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise.
* elf32-arm.h (elf32_arm_discard_copies): Likewise.
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise.
(elf_cris_discard_excess_dso_dynamics): Likewise.
* elf32-hppa.c (clobber_millicode_symbols): Likewise.
(mark_PIC_calls): Likewise.
(allocate_plt_static): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i386.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i370.c (i370_elf_adjust_dynindx): Likewise.
* elf32-m68k.c (elf_m68k_discard_copies): Likewise.
* elf32-mips.c (mips_elf_output_extsym): Likewise.
(mips_elf_sort_hash_table_f): Likewise.
(mips_elf_check_mips16_stubs): Likewise.
* elf32-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-sh.c (sh_elf_discard_copies): Likewise.
* elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise.
(xstormy16_relax_plt_realloc): Likewise.
* elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise.
(elf64_alpha_output_extsym): Likewise.
* elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise.
(mips_elf64_check_mips16_stubs): Likewise.
(mips_elf64_output_extsym): Likewise.
* elf64-ppc.c (func_desc_adjust): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-sh64.c (sh64_elf64_discard_copies): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise.
* aoutx.h (aout_link_write_other_symbol): Likewise.
* cofflink.c (_bfd_coff_write_task_globals): Likewise.
(_bfd_coff_write_global_sym): Likewise.
* i386linux.c (linux_tally_symbols): Likewise.
* m68klinux.c (linux_tally_symbols): Likewise.
* sparclinux.c (linux_tally_symbols): Likewise.
* pdp11.c (aout_link_write_other_symbol): Likewise.
* sunos.c (sunos_scan_dynamic_symbol): Likewise.
* xcofflink.c (xcoff_build_ldsyms): Likewise.
(xcoff_write_global_symbol): Likewise.

* cofflink.c (_bfd_coff_final_link): Formatting.
* cpu-mips.c (mips_compatible): Make static, prototype.
* elf32-i386.c (elf_i386_check_relocs): Formatting.
* elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_output_extsym): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table): Likewise.
(mips_elf64_final_link): Likewise.
* elflink.h (elf_link_find_version_dependencies): Remove duplicate
prototype.

22 years agodaily update
Alan Modra [Wed, 27 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Wed, 27 Mar 2002 19:17:34 +0000 (19:17 +0000)]
merge from gcc

22 years ago * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
Andreas Schwab [Wed, 27 Mar 2002 16:22:04 +0000 (16:22 +0000)]
* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
field for pc-relative fixups.
(output_disp): Likewise.
(md_estimate_size_before_relax): Likewise.
(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
pc-relative fixups in 64bit mode.

22 years ago * MAINTAINERS: Update my email address.
Peter Targett [Wed, 27 Mar 2002 16:04:12 +0000 (16:04 +0000)]
* MAINTAINERS: Update my email address.

22 years ago * configure.host: Set up for generic hosts first, then tweak as
Alan Modra [Wed, 27 Mar 2002 14:07:50 +0000 (14:07 +0000)]
* configure.host: Set up for generic hosts first, then tweak as
necessary in more specific targets.
(HOSTING_LIBS): Include libgcc_eh.a if found.

22 years agoCopy the r_offset field into and out of the internal reloc strcuture.
Nick Clifton [Wed, 27 Mar 2002 11:28:19 +0000 (11:28 +0000)]
Copy the r_offset field into and out of the internal reloc strcuture.

22 years ago * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
Alan Modra [Wed, 27 Mar 2002 00:16:54 +0000 (00:16 +0000)]
* elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
terminating NULL if empty symbol table.
(_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.

22 years agomerge from gcc
DJ Delorie [Tue, 26 Mar 2002 23:29:30 +0000 (23:29 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Tue, 26 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-26 H.J. Lu (hjl@gnu.org)
H.J. Lu [Tue, 26 Mar 2002 18:13:54 +0000 (18:13 +0000)]
2002-03-26  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Revert the last change since
the gcc exception handling isn't fixed yet.

22 years ago2002-03-26 H.J. Lu (hjl@gnu.org)
H.J. Lu [Tue, 26 Mar 2002 16:01:04 +0000 (16:01 +0000)]
2002-03-26  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Complain about relocations
against local symbols in discarded sections.

22 years ago * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.
Alan Modra [Tue, 26 Mar 2002 11:54:12 +0000 (11:54 +0000)]
* elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.

22 years agodaily update
Alan Modra [Mon, 25 Mar 2002 23:00:02 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sun, 24 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 23 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
Andreas Jaeger [Sat, 23 Mar 2002 18:15:32 +0000 (18:15 +0000)]
* emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.

22 years ago* ppc-opc.c (vmaddfp): Fix operand order.
Matthew Green [Sat, 23 Mar 2002 14:14:30 +0000 (14:14 +0000)]
* ppc-opc.c (vmaddfp): Fix operand order.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
Alan Modra [Sat, 23 Mar 2002 13:14:33 +0000 (13:14 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
section file offset for !SEC_LOAD sections.