OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago * disassemble.c (disassembler_usage): Remove unused attribute.
Alan Modra [Mon, 7 May 2001 09:21:56 +0000 (09:21 +0000)]
* disassemble.c (disassembler_usage): Remove unused attribute.

23 years ago * ldgram.y: Fix typo.
Alan Modra [Mon, 7 May 2001 09:20:25 +0000 (09:20 +0000)]
* ldgram.y: Fix typo.

23 years ago * external.h: Fix typo.
Alan Modra [Mon, 7 May 2001 09:18:52 +0000 (09:18 +0000)]
* external.h: Fix typo.
* mips.h: Add/Extend many comments with reference to the MIPS ELF64
spec v. 2.4, available at e.g.
ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps.
(EF_MIPS_UCODE): Define.
(EF_MIPS_OPTIONS_FIRST): Define.
(EF_MIPS_ARCH_ASE): Define.
(EF_MIPS_ARCH_ASE_MDMX): Define.
(EF_MIPS_ARCH_ASE_M16): Define.
(SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32.
(SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64.
(SHF_MIPS_NODUPES): Define.
(ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro.
(ELF64_MIPS_R_TYPE3): Likewise.
(ELF64_MIPS_R_TYPE2): Likewise.
(ELF64_MIPS_R_TYPE): Likewise.
(OHW_R10KLDL): Define.

23 years ago * readelf.c (process_unwind): Remove const specifier.
Alan Modra [Mon, 7 May 2001 09:17:34 +0000 (09:17 +0000)]
* readelf.c (process_unwind): Remove const specifier.

23 years ago * ecoff.c (bfd_debug_section): Fix initialization.
Alan Modra [Mon, 7 May 2001 09:15:26 +0000 (09:15 +0000)]
* ecoff.c (bfd_debug_section): Fix initialization.
* elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
is always a positive integer. Cast away sign mismatch.
* elf32-mips.c: Fix misleading comment and typo.
(_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use
correct data type.
* elflink.c: Fix typo.
(_bfd_elf_create_dynamic_sections): Remove superfluous initialization.
* ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.

23 years ago* config/tc-mn10300.c (md_assemble): Subtract operand->shift
Alexandre Oliva [Sun, 6 May 2001 20:05:28 +0000 (20:05 +0000)]
* config/tc-mn10300.c (md_assemble): Subtract operand->shift
from offset in non-pcrel operands too.

23 years agoDo not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.
Nick Clifton [Sun, 6 May 2001 10:11:33 +0000 (10:11 +0000)]
Do not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.

23 years ago * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
Richard Henderson [Fri, 4 May 2001 23:22:31 +0000 (23:22 +0000)]
    * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.

23 years ago* typo fix
Frank Ch. Eigler [Fri, 4 May 2001 17:46:00 +0000 (17:46 +0000)]
* typo fix

23 years ago* m32r disasm bug fix
Frank Ch. Eigler [Fri, 4 May 2001 17:45:19 +0000 (17:45 +0000)]
* m32r disasm bug fix

2001-05-04  Frank Ch. Eigler  <fche@redhat.com>

* m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.

2001-05-04  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (print_insn): Remove call to read_insn.  Instead,
assume incoming buffer already has the base insn loaded.  Handle
case of smaller-than-base instructions for variable-length case.

23 years agoAssorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.
Alan Modra [Fri, 4 May 2001 11:10:55 +0000 (11:10 +0000)]
Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.

23 years agoSet EF_ARM_HASENTRY if the start address is set.
Nick Clifton [Fri, 4 May 2001 08:32:21 +0000 (08:32 +0000)]
Set EF_ARM_HASENTRY if the start address is set.

23 years ago* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
Alexandre Oliva [Thu, 3 May 2001 20:31:54 +0000 (20:31 +0000)]
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
libgcj.

23 years agoCompute value of _bfd_target_vector_entries based on the size of
Nick Clifton [Thu, 3 May 2001 17:49:49 +0000 (17:49 +0000)]
Compute value of _bfd_target_vector_entries based on the size of
 _bfd_target_vector and not bfd_target_vector.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:26:26 +0000 (06:26 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em: Include "libiberty.h".
(gld${EMULATION_NAME}_vercheck): Call basename () to get the
basename of the bfd filename.
(gld${EMULATION_NAME}_stat_needed): Likewise.
(gld${EMULATION_NAME}_try_needed): Likewise.
(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:25:58 +0000 (06:25 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers19.ver: Expect vers17.so instead of
*tmpdir/vers17.so.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:18:09 +0000 (06:18 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* elfcode.h: Include "libiberty.h".

* elflink.h (elf_link_add_object_symbols): Set
elf_dt_name (abfd) to basename of the bfd filename.
(NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename
of the bfd filename.

23 years ago * coff-alpha.c (reloc_nil): Likewise.
Andreas Jaeger [Thu, 3 May 2001 05:08:17 +0000 (05:08 +0000)]
    * coff-alpha.c (reloc_nil): Likewise.
        (alpha_ecoff_bad_format_hook): Likewise.
        (alpha_adjust_reloc_out): Likewise.
        (alpha_bfd_reloc_type_lookup): Likewise.
        (alpha_convert_external_reloc): Likewise.

23 years ago * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
Andreas Jaeger [Thu, 3 May 2001 04:46:27 +0000 (04:46 +0000)]
* elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
(elf_generic_info_to_howto_rel): Likewise.
* coff-alpha.c (reloc_nil): Likewise.
(alpha_ecoff_bad_format_hook): Likewise.
(alpha_adjust_reloc_out): Likewise.
(alpha_bfd_reloc_type_lookup): Likewise.
(alpha_convert_external_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_nil): Likewise.
(elf64_alpha_reloc_bad): Likewise.
(elf64_alpha_reloc_gpdisp): Likewise.
(elf64_alpha_bfd_reloc_type_lookup): Likewise.
(elf64_alpha_info_to_howto): Likewise.
(elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_create_got_section): Likewise.
(elf64_alpha_is_local_label_name): Likewise.
(elf64_alpha_merge_ind_symbols): Likewise.
* elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise.
(mips_elf64_get_reloc_upper_bound): Likewise.
* nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise.
(nlm_alpha_get_public_offset): Likewise.

23 years agoWarning fixes and configure/makefile tweaks by Thiemo Seufer.
Alan Modra [Thu, 3 May 2001 02:07:02 +0000 (02:07 +0000)]
Warning fixes and configure/makefile tweaks by Thiemo Seufer.

23 years ago * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
Alan Modra [Thu, 3 May 2001 01:08:44 +0000 (01:08 +0000)]
* config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
expressions rather than triggering an assert.

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 2 May 2001 21:01:03 +0000 (21:01 +0000)]
2001-05-02  H.J. Lu  <hjl@gnu.org>

* emultempl/pe.em: Include <ctype.h>.

23 years agoFix indentation and parenthesis
Nick Clifton [Wed, 2 May 2001 18:40:10 +0000 (18:40 +0000)]
Fix indentation and parenthesis

23 years agoAdd gas and ld support for openrisc
Nick Clifton [Wed, 2 May 2001 18:14:31 +0000 (18:14 +0000)]
Add gas and ld support for openrisc

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 2 May 2001 16:42:55 +0000 (16:42 +0000)]
2001-05-02  H.J. Lu  <hjl@gnu.org>

* ldfile.c: Include "libiberty.h".
* ldlex.l: Likewise.

* ldmisc.c (buystring): Removed.
* ldmisc.h: Likewise.

* ldfile.c: Replace buystring with xstrdup.
* ldlang.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* lexsup.c: Likewise.
* mpw-eppcmac.c: Likewise.

23 years agoimprrove error message
Nick Clifton [Wed, 2 May 2001 11:33:12 +0000 (11:33 +0000)]
imprrove error message

23 years ago * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
Andreas Jaeger [Tue, 1 May 2001 08:07:35 +0000 (08:07 +0000)]
    * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.

        * ld-scripts/phdrs.t: Use startaddress that's greater than any
        MAXPAGESIZE used.

23 years ago2000-04-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Apr 2001 16:13:26 +0000 (16:13 +0000)]
2000-04-27  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1
only for ELF_LINK_FORCED_LOCAL.
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.

* elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL
if the symbol has hidden or internal visibility.

23 years ago * elf32-hppa.c (final_link_relocate): Branch to .+8 for
Alan Modra [Mon, 30 Apr 2001 13:34:41 +0000 (13:34 +0000)]
* elf32-hppa.c (final_link_relocate): Branch to .+8 for
calls to undefined weak symbols.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
Andreas Jaeger [Mon, 30 Apr 2001 10:30:05 +0000 (10:30 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
R_X86_64_GOTPCREL, don't use assignments instead of comparisons.

23 years ago * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
Andreas Jaeger [Mon, 30 Apr 2001 09:37:08 +0000 (09:37 +0000)]
* emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.

23 years ago2001-04-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 29 Apr 2001 19:10:21 +0000 (19:10 +0000)]
2001-04-29  H.J. Lu  <hjl@gnu.org>

* ld-shared/symbolic.dat: New.

* ld-shared/shared.exp: Also check -Bsymbolic.

23 years ago2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
H.J. Lu [Sun, 29 Apr 2001 17:58:39 +0000 (17:58 +0000)]
2001-04-29  Keith M Wesolowski <wesolows@foobazco.org>

* config/tc-mips.c (md_parse_option): Also accept
elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.

23 years ago * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
Andreas Jaeger [Sun, 29 Apr 2001 13:42:45 +0000 (13:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
out handled entries.
(elf64_x86_64_finish_dynamic_symbol): Set up GOT entries.
(elf64_x86_64_relocate_section): Fix GOTPCREL calculation.
(elf64_x86_64_relocate_section): Merge entries for GOTPCREL and
GOT32.

23 years agoGive emulation a chance to process unrecognized file before fatal error is
Nick Clifton [Sat, 28 Apr 2001 18:00:10 +0000 (18:00 +0000)]
Give emulation a chance to process unrecognized file before fatal error is
reported, not after.

23 years ago * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
Andreas Jaeger [Sat, 28 Apr 2001 16:14:39 +0000 (16:14 +0000)]
* ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
special.

23 years agoRevert the last change on aclocal.m4.
H.J. Lu [Fri, 27 Apr 2001 21:25:04 +0000 (21:25 +0000)]
Revert the last change on aclocal.m4.

23 years ago2001-04-27 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Fri, 27 Apr 2001 20:42:55 +0000 (20:42 +0000)]
2001-04-27  David Mosberger  <davidm@hpl.hp.com>

* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
argument passing order: predicate goes last, not first.

23 years agoAdd support for arm-vxworks target
Nick Clifton [Fri, 27 Apr 2001 17:12:18 +0000 (17:12 +0000)]
Add support for arm-vxworks target

23 years agoSupport printable characters outside of the ASCII range
Nick Clifton [Fri, 27 Apr 2001 15:42:21 +0000 (15:42 +0000)]
Support printable characters outside of the ASCII range

23 years agoAdd openRISC support in opcodes
Nick Clifton [Fri, 27 Apr 2001 13:34:20 +0000 (13:34 +0000)]
Add openRISC support in opcodes

23 years ago2001-04-26 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 26 Apr 2001 19:09:20 +0000 (19:09 +0000)]
2001-04-26  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
valid.

23 years agoAdd ability to pad code alignment frags with no-ops.
Nick Clifton [Thu, 26 Apr 2001 15:19:21 +0000 (15:19 +0000)]
Add ability to pad code alignment frags with no-ops.

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
Alexandre Oliva [Thu, 26 Apr 2001 05:42:15 +0000 (05:42 +0000)]
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

23 years ago* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
Alexandre Oliva [Thu, 26 Apr 2001 05:32:29 +0000 (05:32 +0000)]
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.

23 years ago* configure.in (libgcj_saved): Copy from $libgcj.
Alexandre Oliva [Wed, 25 Apr 2001 21:41:21 +0000 (21:41 +0000)]
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

23 years ago* externalize a function
Frank Ch. Eigler [Wed, 25 Apr 2001 21:08:02 +0000 (21:08 +0000)]
* externalize a function

2001-04-25  Frank Ch. Eigler  <fche@redhat.com>

* bfd-in.h (bfd_cache_close): Declare newly exported function.
* bfd-in2.h: Regenerated.

23 years agoFix autoconf breakage + commit target.c, omitted in previous delta
Nick Clifton [Wed, 25 Apr 2001 19:09:30 +0000 (19:09 +0000)]
Fix autoconf breakage + commit target.c, omitted in previous delta

23 years agoCheck to see if the filename symbol has been initialised before extracting
Nick Clifton [Wed, 25 Apr 2001 09:11:31 +0000 (09:11 +0000)]
Check to see if the filename symbol has been initialised before extracting
its symbol index.

23 years ago2001-04-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 25 Apr 2001 00:18:35 +0000 (00:18 +0000)]
2001-04-24  H.J. Lu  <hjl@gnu.org>

* configure: Regenerated with the right version of autoconf.

23 years ago* sparc.h: Fix typo.
DJ Delorie [Tue, 24 Apr 2001 18:32:27 +0000 (18:32 +0000)]
* sparc.h: Fix typo.

23 years ago * merge.c (struct sec_merge_hash_entry): Add alignment field.
Jakub Jelinek [Tue, 24 Apr 2001 17:55:57 +0000 (17:55 +0000)]
* merge.c (struct sec_merge_hash_entry): Add alignment field.
(struct sec_merge_hash): Remove alignment_power.
(sec_merge_hash_newfunc): Clear alignment.
(sec_merge_hash_lookup): Pass alignment as argument.
Use hashp->root.next, not hashp->next to walk the hash chain.
If a string already in the hashtable does not have required
alignment, create a new hashtable entry.
(sec_merge_init): Remove alignment_power argument.
(sec_merge_add): Add alignment argument.
(sec_merge_emit): Alignment is now a per-entity thing, not per
section.
(_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
for proper alignment.
Pass alignment information to sec_merge_add.

23 years agoz8k fixes
Nick Clifton [Tue, 24 Apr 2001 15:22:25 +0000 (15:22 +0000)]
z8k fixes

23 years agoAdd OpenRISC support
Nick Clifton [Tue, 24 Apr 2001 15:08:16 +0000 (15:08 +0000)]
Add OpenRISC support

23 years ago2001-04-23 Bo Thorsen <bo@suse.de>
Andreas Jaeger [Mon, 23 Apr 2001 08:00:14 +0000 (08:00 +0000)]
2001-04-23  Bo Thorsen  <bo@suse.de>

* x86-64.h: Add vtable support.

2001-04-23  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c: Add c++ vtable hack.
Small whitespace and comment changes.

23 years ago2000-04-20 Jason Eckhardt <jle@redhat.com>
Jason Eckhardt [Fri, 20 Apr 2001 23:38:37 +0000 (23:38 +0000)]
2000-04-20  Jason Eckhardt  <jle@redhat.com>

* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
since frag_now can change after d10v_cleanup is called.

23 years ago* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
Alexandre Oliva [Fri, 20 Apr 2001 09:28:05 +0000 (09:28 +0000)]
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

23 years ago2001-04-19 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 19 Apr 2001 09:39:28 +0000 (09:39 +0000)]
2001-04-19  Andreas Jaeger  <aj@suse.de>

* elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
(elf64_x86_64_plt_entry): Likewise.
(elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
(elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.

23 years ago* dlltool.c (do_default_excludes): Initialise to true.
DJ Delorie [Tue, 17 Apr 2001 23:28:38 +0000 (23:28 +0000)]
* dlltool.c (do_default_excludes): Initialise to true.

23 years ago * elf32-cris.c: Tweak comments related to dynamic linking.
Hans-Peter Nilsson [Tue, 17 Apr 2001 12:32:30 +0000 (12:32 +0000)]
* elf32-cris.c: Tweak comments related to dynamic linking.
(cris_elf_relocate_section): When not creating shared object, fill
in the .got table for any symbol not in the dynamic symbol table.
(elf_cris_finish_dynamic_symbol): When not creating shared object,
only emit a .got.rela reloc if the symbol is in the dynamic symbol
table.
(cris_elf_check_relocs): Use variable r_type in all places rather
than the original expression.  Add default case in switch for
reloc types.
(elf_cris_size_dynamic_sections): Iterate over
elf_cris_discard_excess_program_dynamics when not creating shared
library.
  (elf_cris_discard_excess_dso_dynamics): Renamed from
elf_cris_discard_copies.  Correct typo, s/Rel/Rela/.
(elf_cris_discard_excess_program_dynamics): New.

23 years ago2001-04-16 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 17 Apr 2001 01:36:23 +0000 (01:36 +0000)]
2001-04-16  David O'Brien  <obrien@FreeBSD.org>
* configure.in: Add the em type for FreeBSD targets.
* configure: Regenerate.

Approved by:  Alan Modra <amodra@one.net.au>
              <20010414192409.C16364@squeak.one.net.au>
  Philip Blundell <philb@gnu.org>
  <E14o06W-0002IT-00@kings-cross.london.uk.eu.org>

23 years agosync with egcs
DJ Delorie [Mon, 16 Apr 2001 18:42:41 +0000 (18:42 +0000)]
sync with egcs

23 years agoForgot the makefile portion
Daniel Berlin [Mon, 16 Apr 2001 14:11:24 +0000 (14:11 +0000)]
Forgot the makefile portion

23 years ago2001-04-15 Daniel Berlin <dan@cgsoftware.com>
Daniel Berlin [Mon, 16 Apr 2001 14:10:14 +0000 (14:10 +0000)]
2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.c: New file - Ternary search tree implementation.

2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.h: New file - Ternary search tree header.

23 years ago* coffcode.h (coff_write_object_contents): Use
DJ Delorie [Sun, 15 Apr 2001 04:23:46 +0000 (04:23 +0000)]
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.

23 years ago2001-04-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 15 Apr 2001 01:02:54 +0000 (01:02 +0000)]
2001-04-14  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerate.

23 years ago * section.c (STD_SECTION): Add entsize.
Jakub Jelinek [Sat, 14 Apr 2001 14:23:31 +0000 (14:23 +0000)]
* section.c (STD_SECTION): Add entsize.

23 years ago* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
Alexandre Oliva [Sat, 14 Apr 2001 06:57:28 +0000 (06:57 +0000)]
* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
* symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.

23 years ago* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
Alexandre Oliva [Sat, 14 Apr 2001 06:53:57 +0000 (06:53 +0000)]
* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
pc-relative relocations not placed at the end of the instruction.

23 years ago2001-04-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 14 Apr 2001 04:13:00 +0000 (04:13 +0000)]
2001-04-13  H.J. Lu  <hjl@gnu.org>

* section.c (SEC_MERGE): Define new flag for merging.
(SEC_STRINGS): Likewise.
(entsize): New field.

23 years agoFix latent bug exposed by a gcc-3 bug fix.
Jim Wilson [Sat, 14 Apr 2001 03:51:40 +0000 (03:51 +0000)]
Fix latent bug exposed by a gcc-3 bug fix.
* tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
excluding br.i.

23 years ago* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
DJ Delorie [Fri, 13 Apr 2001 22:42:48 +0000 (22:42 +0000)]
* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
flag on pe-i386 targets.

23 years ago* ld.texinfo: Document --fatal-warnings.
J.T. Conklin [Fri, 13 Apr 2001 02:22:23 +0000 (02:22 +0000)]
* ld.texinfo: Document --fatal-warnings.
* ld.1: Regenerate.

* ldmisc.c (vfinfo): Set flag to inhibit making executable if
warnings have been turned into errors.
* lexsup.c (OPTION_WARN_FATAL): Define.
(ld_options): Entry for --fatal-warnings.
(parse_args): Handle OPTION_WARN_FATAL.
* ld.h (ld_config_type): Add fatal_warnings field.

23 years agobfd/
Jakub Jelinek [Fri, 13 Apr 2001 00:34:36 +0000 (00:34 +0000)]
bfd/
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.

23 years ago * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
Jason Merrill [Thu, 12 Apr 2001 16:00:32 +0000 (16:00 +0000)]
    * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Thu, 12 Apr 2001 12:32:00 +0000 (12:32 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.

23 years ago* expr.c (operand): Pass &c to md_parse_name().
Alexandre Oliva [Thu, 12 Apr 2001 07:03:10 +0000 (07:03 +0000)]
* expr.c (operand): Pass &c to md_parse_name().
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.

23 years ago * MAINTAINERS: Update my email address
Alan Modra [Wed, 11 Apr 2001 07:07:29 +0000 (07:07 +0000)]
* MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.

23 years ago * elflink.h (elf_fix_symbol_flags): For non-default visibilities,
Hans-Peter Nilsson [Mon, 9 Apr 2001 03:24:32 +0000 (03:24 +0000)]
* elflink.h (elf_fix_symbol_flags): For non-default visibilities,
only hide symbols marked STV_INTERNAL or STV_HIDDEN.

23 years ago2001-04-05 Steven J. Hill <sjhill@cotw.com>
H.J. Lu [Sun, 8 Apr 2001 05:13:57 +0000 (05:13 +0000)]
2001-04-05  Steven J. Hill  <sjhill@cotw.com>

* Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
(ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
(eelf32ltsmip.c): New target.
(eelf64btsmip.c): Likewise.
(eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerated.

* configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
target.
(mips*-*-linux-gnu*): Likewise.

* emulparams/elf32ltsmip.sh: New. Traditional little endian
MIPS taget.
* emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
target.
* emulparams/elf64ltsmip.sh: New. Traditional 64bit little
endian target.

23 years ago2001-04-05 Steven J. Hill <sjhill@cotw.com>
H.J. Lu [Sun, 8 Apr 2001 05:11:49 +0000 (05:11 +0000)]
2001-04-05  Steven J. Hill  <sjhill@cotw.com>

* config.bfd (mips*el*-*-linux-gnu*): Use traditional little
endian MIPS ELF target.
* config.bfd (mips*-*-linux-gnu*): Use traditional big endian
MIPS ELF target.

* configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* configure: Regenerated.

* elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
little endian targets.
(mips_elf_sym_is_global): Handle traditional targets.

* elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.

* targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
and bfd_elf64_tradlittlemips_vec.

23 years ago2001-04-07 Steven J. Hill <sjhill@cotw.com>
H.J. Lu [Sun, 8 Apr 2001 05:09:21 +0000 (05:09 +0000)]
2001-04-07  Steven J. Hill  <sjhill@cotw.com>

* config/tc-mips.c: Support ELF64 for traditional MIPS targets.

* Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
* Makefile.in: Regenerated.

* configure.in: Use traditional MIPS targets for Linux/MIPS.
* configure: Regenerated.

23 years agoman page generation from gprof.texi by Stephane Carrez
Alan Modra [Fri, 6 Apr 2001 12:13:40 +0000 (12:13 +0000)]
man page generation from gprof.texi by Stephane Carrez

23 years ago * i386-dis.c: Add ffreep instruction.
Andreas Jaeger [Fri, 6 Apr 2001 09:27:33 +0000 (09:27 +0000)]
* i386-dis.c: Add ffreep instruction.

23 years ago* config/tc-mn10300.c (xr_registers): Added `pc'.
Alexandre Oliva [Fri, 6 Apr 2001 07:50:48 +0000 (07:50 +0000)]
* config/tc-mn10300.c (xr_registers): Added `pc'.

23 years ago2001-04-05 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Fri, 6 Apr 2001 00:37:30 +0000 (00:37 +0000)]
2001-04-05  David Mosberger  <davidm@hpl.hp.com>

* elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
ordinary "progbits" section.

23 years ago * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
Hans-Peter Nilsson [Thu, 5 Apr 2001 20:37:54 +0000 (20:37 +0000)]
* emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
correct value of __Stext here.
(TEXT_START_SYMBOLS): Define; always define __Stext, to start of
.startup section.

* emulparams/crislinux.sh: Remove FIXME.

23 years ago * cris.h (enum cris_insn_version_usage): Correct comment for
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:35:17 +0000 (19:35 +0000)]
* cris.h (enum cris_insn_version_usage): Correct comment for
cris_ver_v3p.

23 years agoRemove redundant ChangeLog entry separator
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:11:07 +0000 (19:11 +0000)]
Remove redundant ChangeLog entry separator

23 years ago * gas/cris/fragtest.s, gas/cris/rd-pic-1.s,
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:07:00 +0000 (19:07 +0000)]
* gas/cris/fragtest.s, gas/cris/rd-pic-1.s,
gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d,
gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d,
gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d,
gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s,
gas/cris/range-err-2.s, gas/cris/sep-err-1.s,
gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d,
gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove
trailing empty lines.
* gas/cris/continue.s: Ditto, tweak comment.

23 years ago * gas/cris/brokw-2.s: Correct broken-word expansion visualization
Hans-Peter Nilsson [Thu, 5 Apr 2001 18:19:13 +0000 (18:19 +0000)]
* gas/cris/brokw-2.s: Correct broken-word expansion visualization
in comment.

23 years ago * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
Hans-Peter Nilsson [Thu, 5 Apr 2001 18:15:04 +0000 (18:15 +0000)]
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d:
New tests.

23 years agoFix address in ChangeLog entry
Hans-Peter Nilsson [Thu, 5 Apr 2001 17:46:25 +0000 (17:46 +0000)]
Fix address in ChangeLog entry

23 years ago * readelf.c (display_debug_lines): Fix typo for "Prologue".
Hans-Peter Nilsson [Thu, 5 Apr 2001 17:44:15 +0000 (17:44 +0000)]
* readelf.c (display_debug_lines): Fix typo for "Prologue".

23 years ago * lib/gas-defs.exp (run_dump_test): Support using readelf.
Hans-Peter Nilsson [Thu, 5 Apr 2001 15:31:46 +0000 (15:31 +0000)]
* lib/gas-defs.exp (run_dump_test): Support using readelf.
* config/default.exp: Default READELF and READELFFLAGS.

23 years agoFix more breakages from the multiple relax pass patch.
Alan Modra [Thu, 5 Apr 2001 04:21:36 +0000 (04:21 +0000)]
Fix more breakages from the multiple relax pass patch.

23 years ago * config/tc-cris.c (cris_insn_first_word_frag): New.
Hans-Peter Nilsson [Wed, 4 Apr 2001 04:23:20 +0000 (04:23 +0000)]
* config/tc-cris.c (cris_insn_first_word_frag): New.
(md_assemble): Call cris_insn_first_word_frag to get the first
frag in an insn, not frag_more.  Don't call dwarf2_emit_insn at
end.  Drop variable insn_size.
(gen_bdap): Call cris_insn_first_word_frag, not frag_more.
(cris_sym_leading_underscore): Wrap first as_bad parameter in _().
(cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.

23 years ago * config/tc-cris.c (md_estimate_size_before_relax) <case
Hans-Peter Nilsson [Wed, 4 Apr 2001 03:53:12 +0000 (03:53 +0000)]
* config/tc-cris.c (md_estimate_size_before_relax) <case
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
32-bit branch, just set fragP->fr_subtype.  Set fragP->fr_var.
<all cases>: Always set fragP->fr_var using md_cris_relax_table.
Add cases to cover all relax states.

23 years ago * write.c (write_object_file): Reset broken word state before
Hans-Peter Nilsson [Wed, 4 Apr 2001 03:05:47 +0000 (03:05 +0000)]
* write.c (write_object_file): Reset broken word state before
calling relax_seg.

23 years agomerge from gcc
DJ Delorie [Wed, 4 Apr 2001 01:16:27 +0000 (01:16 +0000)]
merge from gcc