OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago * gas/hppa/reloc/reloc.exp: Update copyright date.
Alan Modra [Mon, 25 Feb 2002 05:10:46 +0000 (05:10 +0000)]
* gas/hppa/reloc/reloc.exp: Update copyright date.

22 years ago * config/tc-hppa.c: Update copyright date.
Alan Modra [Mon, 25 Feb 2002 05:10:11 +0000 (05:10 +0000)]
* config/tc-hppa.c: Update copyright date.

22 years ago * elf64-hppa.h: Update copyright date.
Alan Modra [Mon, 25 Feb 2002 05:09:11 +0000 (05:09 +0000)]
* elf64-hppa.h: Update copyright date.

22 years agomissdit
Alan Modra [Mon, 25 Feb 2002 04:13:42 +0000 (04:13 +0000)]
missdit

22 years ago * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4 and -maltivec.
Alan Modra [Mon, 25 Feb 2002 03:44:56 +0000 (03:44 +0000)]
* doc/c-ppc.texi (PowerPC-Opts): Add -mpower4 and -maltivec.
Remove references to chip manufacturers.
* config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
Correct comments.
(md_show_usage): Remove references to chip manufacturers.  Mention
-mpower4.
(md_begin): Test power4 opcode flag bits.

22 years ago * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix.
Alan Modra [Mon, 25 Feb 2002 03:44:16 +0000 (03:44 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Warning fix.
(ppc64_elf_relocate_section): Don't generate power4 style branch
hints for *_BRTAKEN and *_BRNTAKEN relocs.

22 years ago * ppc-dis.c (powerpc_dialect): Handle power4 option.
Alan Modra [Mon, 25 Feb 2002 03:43:46 +0000 (03:43 +0000)]
* ppc-dis.c (powerpc_dialect): Handle power4 option.
* ppc-opc.c (insert_bdm): Correct description of "at" branch
hints.  Test PPC_OPCODE_POWER4 to determine branch hint flavour.
(extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise.
(BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc.
(BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise.
(PPCCOM32, PPCCOM64): Delete.
(NOPOWER4, POWER4): Define.
(powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4,
and PPCCOM4 with POWER4 so that "at" style branch hint opcodes
are enabled for power4 rather than ppc64.

22 years ago * ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
Alan Modra [Mon, 25 Feb 2002 03:42:59 +0000 (03:42 +0000)]
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.

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

22 years ago * gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d:
Hans-Peter Nilsson [Sun, 24 Feb 2002 17:11:21 +0000 (17:11 +0000)]
* gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d:
Adjust to changes in readelf output.

22 years ago * ld-sh/ld-r-1.d: Adjust to changes in readelf output.
Hans-Peter Nilsson [Sun, 24 Feb 2002 16:44:45 +0000 (16:44 +0000)]
* ld-sh/ld-r-1.d: Adjust to changes in readelf output.
* ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.

22 years ago2002-02-23 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 24 Feb 2002 00:04:00 +0000 (00:04 +0000)]
2002-02-23  Daniel Jacobowitz  <drow@mvista.com>

        * config.guess: Import from master sources, rev 1.232.
        * config.sub: Import from master sources, rev 1.246.

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

22 years ago* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
Alexandre Oliva [Sat, 23 Feb 2002 10:08:09 +0000 (10:08 +0000)]
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
because its Makefile is there; test for the executable instead.

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

22 years agoThe "2002-02-05 Alan Modra <amodra@bigpond.net.au>" commit also affected
David O'Brien [Fri, 22 Feb 2002 20:36:12 +0000 (20:36 +0000)]
The  "2002-02-05 Alan Modra <amodra@bigpond.net.au>" commit also affected
elf32-i386.c

22 years agoFix another spelling typo!
Nick Clifton [Fri, 22 Feb 2002 12:00:38 +0000 (12:00 +0000)]
Fix another spelling typo!

22 years agoFix spelling typo
Nick Clifton [Fri, 22 Feb 2002 11:59:50 +0000 (11:59 +0000)]
Fix spelling typo

22 years agooops - update date on newly created entry
Nick Clifton [Fri, 22 Feb 2002 11:57:10 +0000 (11:57 +0000)]
oops - update date on newly created entry

22 years agoKeep track of prologue counts across .label_state/.copy_state directives
Nick Clifton [Fri, 22 Feb 2002 11:56:21 +0000 (11:56 +0000)]
Keep track of prologue counts across .label_state/.copy_state directives

22 years agoDo not complain if gasp does not exist.
Nick Clifton [Fri, 22 Feb 2002 11:37:41 +0000 (11:37 +0000)]
Do not complain if gasp does not exist.

22 years agoAdd missing protoypes.
Nick Clifton [Fri, 22 Feb 2002 10:49:38 +0000 (10:49 +0000)]
Add missing protoypes.
Remove ANSI style function declarations

22 years ago * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
Jakub Jelinek [Fri, 22 Feb 2002 10:03:03 +0000 (10:03 +0000)]
* elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
last patch.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

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

22 years agoFix typo.
Nick Clifton [Thu, 21 Feb 2002 22:39:19 +0000 (22:39 +0000)]
Fix typo.

22 years agoinclude:
Jim Blandy [Thu, 21 Feb 2002 22:19:14 +0000 (22:19 +0000)]
include:

Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.

libiberty:

* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.

22 years agoFix spelling typo
Nick Clifton [Thu, 21 Feb 2002 18:09:08 +0000 (18:09 +0000)]
Fix spelling typo

22 years agodeprecate GASP
Nick Clifton [Thu, 21 Feb 2002 16:51:00 +0000 (16:51 +0000)]
deprecate GASP

22 years ago * elf64-x86-64.c: Major rework that introduces all recent changes
Andreas Jaeger [Thu, 21 Feb 2002 15:31:53 +0000 (15:31 +0000)]
* elf64-x86-64.c: Major rework that introduces all recent changes
to the x86-64 backend.  Get a closer match to elf32-i386.
(struct elf64_x86_64_dyn_relocs): Rename from
elf64_x86_64_pcrel_relocs_copied, add additional fields.  Change
all users.
(struct elf64_x86_64_link_hash_table): Add short cuts to some
sections.
(link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc,
remove casts, initialize new hash members.
(create_got_section): New.
(elf64_x86_64_create_dynamic_sections): New.
(elf64_x86_64_copy_indirect_symbol): New.
(elf64_x86_64_check_relocs): Don't allocate space for dynamic
relocs, .got or .relgot here but do it in allocate_dynrelocs.
Reference count possible .plt and .got entries.  Don't test input
section SEC_READONLY here to try to avoid copy relocs, and keep
dyn_relocs regardless of ELF_LINK_NON_GOT_REF.  Don't set
DF_TEXTREL here.  Delay setting of variables until needed.  Cache
pointer to "sreloc" section in elf_section_data. Tweak condition
under which .got created.  Report files with bad relocation
section names.
(elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
Reference count possible .plt entries.  Don't deallocate .got and
.relgot space here.
(elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc.  Don't
do copy reloc processing for weakdefs.  Remove redundant casts and
aborts.  Delay setting of vars until needed.  Move creation of
dynamic symbols and allocation of .plt and .rela.plt to
allocate_dynrelocs.  Replace BFD_ASSERT with abort.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
(allocate_dynrelocs): New.
(readonly_dynrelocs): New.
(elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs.
Allocate space for dyn relocs.  Replace BFD_ASSERT with abort.
Zero out the dynamic allocated content space.
(elf64_x86_64_discard_copies): Removed.
(elf64_x86_64_relocate_section): Make use of dynamic section
short-cuts.  Localise vars, and delay setting.  Better error
reporting, replace BFD_ASSERT with abort.  Check
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the
regular object file and tread the weak definition as the normal
one.  Don't discard relocs for undefweak or undefined symbols and
check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy
relocs.
(elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for
symbols that have been forced local.  Use same test to decide if
we can use a relative reloc for got as relocate_section.  Expand
SHN_UNDEF comment.  Move expressions out of function calls.
Replace BFD_ASSERT with abort.
(bfd_elf64_bfd_final_link): Removed.
(elf_backend_copy_indirect_symbol): Define.

22 years agoXCOFF booke tests. Fix tlbre, tlbwe ppc WS field.
Tom Rix [Thu, 21 Feb 2002 03:57:36 +0000 (03:57 +0000)]
XCOFF booke tests.  Fix tlbre, tlbwe ppc WS field.

22 years agodaily update
Alan Modra [Wed, 20 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are
Alan Modra [Wed, 20 Feb 2002 12:42:38 +0000 (12:42 +0000)]
* osf-core.c (osf_core_vec):  OSF/1 (Digital Unix) core files are
little endian.

22 years ago * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
Andreas Schwab [Wed, 20 Feb 2002 10:48:25 +0000 (10:48 +0000)]
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
.IA64_unwind* in a relocatable link.

22 years agoMark 2.12 branch
Nick Clifton [Wed, 20 Feb 2002 10:46:54 +0000 (10:46 +0000)]
Mark 2.12 branch

22 years agoDisplay 2nd and 3rd reloc types for 64-bit MIPS.
Nick Clifton [Wed, 20 Feb 2002 10:32:47 +0000 (10:32 +0000)]
Display 2nd and 3rd reloc types for 64-bit MIPS.
Narrow some fields for 80-char output.

22 years agomatch reality
David O'Brien [Wed, 20 Feb 2002 06:53:29 +0000 (06:53 +0000)]
match reality

22 years ago2002-02-18 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Wed, 20 Feb 2002 06:52:34 +0000 (06:52 +0000)]
2002-02-18  David O'Brien  <obrien@FreeBSD.org>
* Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
and eelf64alpha_fbsd.

(left this out of last patch)

22 years ago * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
Tom Tromey [Wed, 20 Feb 2002 02:57:45 +0000 (02:57 +0000)]
* config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.

22 years agodaily update
Alan Modra [Tue, 19 Feb 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
Thiemo Seufer [Tue, 19 Feb 2002 22:59:30 +0000 (22:59 +0000)]
* config/tc-mips.c (md_parse_option): Complain about invalid -mabi
option input.

22 years agomerge from gcc
DJ Delorie [Tue, 19 Feb 2002 21:01:40 +0000 (21:01 +0000)]
merge from gcc

22 years ago2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 19 Feb 2002 18:59:49 +0000 (18:59 +0000)]
2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* s390-dis.c (init_disasm): Use renamed architecture defines.

22 years ago2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 19 Feb 2002 18:58:04 +0000 (18:58 +0000)]
2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
* emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".

22 years ago2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 19 Feb 2002 18:50:35 +0000 (18:50 +0000)]
2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
Make bit size independent of architecture switch.
(md_begin): Add warning for -m64 with -Aesa.
(s390_md_end): Use renamed architecture defines.

22 years ago2002-02-19 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Tue, 19 Feb 2002 18:29:08 +0000 (18:29 +0000)]
2002-02-19  Frank Ch. Eigler  <fche@redhat.com>

* hist.c (hist_print): Rewrite log_scale calculation loop.

22 years ago2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 19 Feb 2002 18:22:16 +0000 (18:22 +0000)]
2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31.
(bfd_mach_s390_esame): Rename to bfd_mach_s390_64.
* bfd-in2.h: Regenerate.
* cpu-s390.c (arch_info_struct): Use renamed architecture defines.
Replace architecture name "s390" with "s390:31-bit" and "s390:esame"
with "s390:64-bit".
* elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations.
(elf_s390_reloc_type_lookup): Likewise.
(elf_s390_check_relocs): Likewise.
(elf_s390_gc_sweep_hook): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_object_p): Use renamed architecture define.
* elf64-s390.c (elf_s390_object_p): Use renamed architecture define.

22 years ago2002-02-19 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Tue, 19 Feb 2002 16:33:04 +0000 (16:33 +0000)]
2002-02-19  Frank Ch. Eigler  <fche@redhat.com>

        * syms.c (stt[]): Sorted.  Added .init/.fini -> "t" mapping.

22 years ago* ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
Matthew Green [Tue, 19 Feb 2002 15:20:26 +0000 (15:20 +0000)]
* ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
specific.

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
Jakub Jelinek [Tue, 19 Feb 2002 12:40:32 +0000 (12:40 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
absptr -> pcrel optimization for shared libs.
Only create minimal .eh_frame_hdr if absptr FDE encoding in shared
library cannot be converted to pcrel.
(_bfd_elf_eh_frame_section_offset): Return -2 if making absptr
relative.
* elf32-i386.c (elf_i386_relocate_section): If
_bfd_elf_section_offset returned -2, skip, but make sure the
relocation is installed.
* elf32-arm.h (elf32_arm_final_link_relocate): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Handle
_bfd_elf_section_offset returning -2 the same way as -1.
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise.
* elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME
and BFD_ASSERT.
* elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise.

22 years agoAdd support for -brtl, run time linking, to AIX ld.
Tom Rix [Tue, 19 Feb 2002 05:01:40 +0000 (05:01 +0000)]
Add support for -brtl, run time linking, to AIX ld.

22 years ago2002-02-18 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 18 Feb 2002 23:57:10 +0000 (23:57 +0000)]
2002-02-18  Daniel Jacobowitz  <drow@mvista.com>

        * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.

22 years ago2002-02-18 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 18 Feb 2002 23:44:17 +0000 (23:44 +0000)]
2002-02-18  Daniel Jacobowitz  <drow@mvista.com>

        * gas/sh/basic.exp: Don't run PIC tests for targets that don't
        support it.

22 years agomerge from gcc
DJ Delorie [Mon, 18 Feb 2002 23:01:39 +0000 (23:01 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Mon, 18 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-18 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 18 Feb 2002 22:42:55 +0000 (22:42 +0000)]
2002-02-18  Daniel Jacobowitz  <drow@mvista.com>

        * ld-elfvsb/sh1.c: Fix typo in last change.

22 years ago * i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.
Jan Hubicka [Mon, 18 Feb 2002 16:32:25 +0000 (16:32 +0000)]
* i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.

22 years ago * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.
Alan Modra [Mon, 18 Feb 2002 12:40:28 +0000 (12:40 +0000)]
* elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.
(struct ppc_link_hash_table): Add sfpr.
(ppc64_elf_link_hash_table_create): Init it.
(ppc64_elf_create_dynamic_sections): Split creation of .stub and
.glink out to..
(create_linkage_sections): ..here.  Make .sfpr too.
(ppc64_elf_check_relocs): Call create_linkage_sections, and set
dynobj early.
(MIN_SAVE_FPR, MAX_SAVE_FPR): Define.
(ppc64_elf_func_desc_adjust): Look for missing ._savef* and
._restf* functions, and create as needed.
(func_desc_adjust): Only force_local for shared libs.

* emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.

22 years agoBump version number to 2.12.90
Nick Clifton [Mon, 18 Feb 2002 12:16:55 +0000 (12:16 +0000)]
Bump version number to 2.12.90

22 years ago2002-02-18 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Mon, 18 Feb 2002 09:38:01 +0000 (09:38 +0000)]
2002-02-18  David O'Brien  <obrien@FreeBSD.org>
* Makefile.in: Add new files earmelf_fbsd, eelf32ppc_fbsd,
eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
and eelf64alpha_fbsd.
* configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
use a FreeBSD-specific emulation rather than the psABI one.
* emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
for all FreeBSD ELF systems.
* emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
emulation.
* emulparams/elf32ppc_fbsd.sh: Likewise.
* emulparams/elf64_ia64_fbsd.sh: Likewise.
* emulparams/elf64_sparc_fbsd.sh: Likewise.
* emulparams/elf64alpha_fbsd.sh: Likewise.
* emulparams/elf_i386_fbsd.sh: Likewise.
* emulparams/elf_x86_64_fbsd.sh: Likewise.

Approved by:  Nick Clifton <nickc@cambridge.redhat.com>
              <m3pu33yy0b.fsf@north-pole.nickc.cambridge.redhat.com>

22 years agoFix date
Hans-Peter Nilsson [Mon, 18 Feb 2002 09:16:00 +0000 (09:16 +0000)]
Fix date

22 years ago * binutils-all/objcopy.exp
Hans-Peter Nilsson [Mon, 18 Feb 2002 09:13:48 +0000 (09:13 +0000)]
* binutils-all/objcopy.exp
(strip_executable_with_saving_a_symbol): Prune symbol Main in nm
output for mmix-knuth-mmixware.

22 years agoUpdated translations
Nick Clifton [Mon, 18 Feb 2002 08:40:03 +0000 (08:40 +0000)]
Updated translations

22 years ago2002-02-17 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 18 Feb 2002 04:49:17 +0000 (04:49 +0000)]
2002-02-17  Daniel Jacobowitz  <drow@mvista.com>

        * ld-elfvsb/sh1.c: Use #pragma weak.

22 years ago2002-02-17 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 18 Feb 2002 03:23:28 +0000 (03:23 +0000)]
2002-02-17  Daniel Jacobowitz  <drow@mvista.com>

        * vers.exp: Do not call diff -q.

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

22 years ago * ld.texinfo (Output Section Fill): Fix amateur texinfo.
Alan Modra [Sun, 17 Feb 2002 22:15:40 +0000 (22:15 +0000)]
* ld.texinfo (Output Section Fill): Fix amateur texinfo.
(FILL): Likewise.

22 years ago * emultempl/mmo.em (mmo_after_open): Don't call
Hans-Peter Nilsson [Sun, 17 Feb 2002 21:38:03 +0000 (21:38 +0000)]
* emultempl/mmo.em (mmo_after_open): Don't call
_bfd_mmix_check_all_relocs when producing ELF output.

22 years ago * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol
Hans-Peter Nilsson [Sun, 17 Feb 2002 21:22:24 +0000 (21:22 +0000)]
* ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol
output.
* ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s,
ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.

22 years ago * mmo.c: Correct and improve comments.
Hans-Peter Nilsson [Sun, 17 Feb 2002 21:18:33 +0000 (21:18 +0000)]
* mmo.c: Correct and improve comments.
(mmo_write_chunk): Store trailing byte in bfd buffer; don't
zero-pad.  Use input to fill up non-empty bfd buffer.
(mmo_flush_chunk): New function.
(mmo_write_loc_chunk): Add parameter last_vmap, all callers
changed.  Don't emit location specifier if VMA is same as
*LAST_VMAP after omitting leading zero contents.  Call
mmo_flush_chunk before emitting location specifier.
(mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished
with mmo_write_loc_chunk calls.
(mmo_internal_write_section): Call mmo_flush_chunk after
mmo_write_chunk.
(mmo_write_symbols_and_terminator): Move :Main to first position
in symbol array.  Add faked one if it does not exist if there are
other symbols.  Don't add it if there are no symbols at all.  Move
out test for value of :Main from symbol loop.  Rename table
fakemain to maintable and variable mainsym to fakemain.

22 years ago * ld-mmix/bpo-22.d: New test.
Hans-Peter Nilsson [Sun, 17 Feb 2002 20:13:05 +0000 (20:13 +0000)]
* ld-mmix/bpo-22.d: New test.

22 years ago * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
Hans-Peter Nilsson [Sun, 17 Feb 2002 19:34:12 +0000 (19:34 +0000)]
* ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
and .bss.

22 years agodaily update
Alan Modra [Sat, 16 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agoFix typo: MMIX used instead of CRIS.
Nick Clifton [Sat, 16 Feb 2002 11:01:58 +0000 (11:01 +0000)]
Fix typo: MMIX used instead of CRIS.

22 years ago * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
Richard Henderson [Fri, 15 Feb 2002 23:39:27 +0000 (23:39 +0000)]
    * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
        definition.  Emit a unop+nop pair.

22 years ago2002-02-15 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 15 Feb 2002 23:00:34 +0000 (23:00 +0000)]
2002-02-15  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_estimate_size_before_relax): Really
        make sure we treat weak like extern only for ELF.  (Fixes
        patch from 2001-07-25.)

22 years agodaily update
Alan Modra [Fri, 15 Feb 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
Richard Henderson [Fri, 15 Feb 2002 21:26:05 +0000 (21:26 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
        section with no got matches any got.  Simplify error generaion.

22 years ago * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
Richard Henderson [Fri, 15 Feb 2002 21:00:45 +0000 (21:00 +0000)]
    * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
        disassembly mask.

22 years ago * doc/as.texinfo: Add duplicate directory entry so that "info gas"
Ben Elliston [Fri, 15 Feb 2002 11:24:30 +0000 (11:24 +0000)]
* doc/as.texinfo: Add duplicate directory entry so that "info gas"
works as expected.

22 years ago * alpha-opc.c (alpha_opcodes): Add simple pseudos for
Richard Henderson [Fri, 15 Feb 2002 09:43:16 +0000 (09:43 +0000)]
    * alpha-opc.c (alpha_opcodes): Add simple pseudos for
        lda, ldah, jmp, ret.

22 years agoTweak wording in comment in last change
Hans-Peter Nilsson [Fri, 15 Feb 2002 06:54:22 +0000 (06:54 +0000)]
Tweak wording in comment in last change

22 years ago * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
Hans-Peter Nilsson [Fri, 15 Feb 2002 06:50:19 +0000 (06:50 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
for presence of .MMIX.reg_contents.linker_allocated before early
exit.

22 years ago * NEWS: Mention support for MMIX.
Hans-Peter Nilsson [Fri, 15 Feb 2002 04:04:03 +0000 (04:04 +0000)]
* NEWS: Mention support for MMIX.

22 years ago * ld.texinfo (Output Section Fill): Describe fill expressions.
Alan Modra [Fri, 15 Feb 2002 03:34:47 +0000 (03:34 +0000)]
* ld.texinfo (Output Section Fill): Describe fill expressions.
(FILL): Refer to the above.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:11:05 +0000 (02:11 +0000)]
Support arbitrary length fill patterns.
* ldexp.h (etree_value_type): Add "str" field.
(union etree_union): Add "str" to "value" struct.
(exp_bigintop): Declare.
(exp_get_fill): Declare.
* ldexp.c: Include "safe-ctype.h".
(exp_intop): Set value.str to NULL.
(exp_bigintop): New function.
(new_rel): Pass in "str", and set new.str from it.
(new_rel_from_section): Set new.str to NULL.
(fold_name): Adjust calls to new_rel.
(exp_fold_tree): Likewise.
(exp_get_fill): New function.
* ldgram.y (struct big_int bigint, fill_type *fill): New.
(INT): Returns a "bigint".  Adjust all code handling INTs.
(fill_opt): Returns a "fill".
(fill_exp): Split out of fill_opt, use for FILL.
* ldlang.h (struct _fill_type): New.
(fill_type): Move typedef to ldexp.h.
(lang_output_section_statement_type): "fill" is now a pointer.
(lang_fill_statement_type): Likewise.
(lang_padding_statement_type): Likewise.
(lang_add_fill): Now takes a "fill_type *" param.
(lang_leave_output_section_statement): Likewise.
(lang_do_assignments): Likewise.
(lang_size_sections): Likewise.
(lang_leave_overlay_section): Likewise.
(lang_leave_overlay): Likewise.
* ldlang.c: Include ldgram.h after ldexp.h.
(lang_output_section_statement_lookup): Adjust for fill_type change.
(print_fill_statement): Likewise.
(print_padding_statement): Likewise.
(insert_pad): Now takes a "fill_type *" arg.
(size_input_section): Likewise.
(lang_size_sections_1): Likewise.
(lang_size_sections): Likewise.
(lang_do_assignments): Likewise.
(lang_add_fill): Likewise.
(lang_leave_output_section_statement): Likewise.
(lang_leave_overlay_section): Likewise.
(lang_leave_overlay): Likewise.
Adjust all callers of the above function.
* ldlex.l: Include ldgram.h after ldexp.h.  Allow hex numbers
starting with "0X" as well as "0x".  Return bigint.str for hex
numbers starting with "0x" or "0X", zero bigint.str otherwise.
Always use base 16 for numbers starting with "$".
* ldmain.c: Include ldgram.h after ldexp.h.
* ldwrite.c (build_link_order): Use bfd_data_link_order in place
of bfd_fill_link_order.
* pe-dll.c: Adjust lang_do_assignments calls.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
lang_add_assignment call.
* emultempl/pe.em: Likewise.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:10:35 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc.
(_bfd_default_link_order): Remove bfd_fill_link_order code.
Call default_data_link_order.
(default_fill_link_order): Delete.
(default_data_link_order): New function.
* elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences
of bfd_fill_link_order with bfd_data_link_order.
* elf64-alpha.c (elf64_alpha_final_link): Likewise.
* elf64-mips.c (mips_elf64_final_link): Likewise.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:10:03 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order.
(struct bfd_link_order): Remove fill.  Add data.size.

22 years ago * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
Alan Modra [Fri, 15 Feb 2002 00:20:17 +0000 (00:20 +0000)]
* bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
Correct value returned in "end" for "0x<non-hex>".

22 years agodaily update
Alan Modra [Thu, 14 Feb 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years agoxcoff versions of the altivec test.
Tom Rix [Thu, 14 Feb 2002 22:41:04 +0000 (22:41 +0000)]
xcoff versions of the altivec test.

22 years agoReplace 'arch' field with 'mach'.
Nick Clifton [Thu, 14 Feb 2002 16:24:20 +0000 (16:24 +0000)]
Replace 'arch' field with 'mach'.

22 years agoUpdated translation
Nick Clifton [Thu, 14 Feb 2002 15:06:41 +0000 (15:06 +0000)]
Updated translation

22 years ago2002-02-13 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 14 Feb 2002 07:29:22 +0000 (07:29 +0000)]
2002-02-13  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
        a sequence of indpendent 'if' statements for easier debugging
        and future modification.

22 years ago * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
Alan Modra [Thu, 14 Feb 2002 04:24:33 +0000 (04:24 +0000)]
* ld.texinfo (VERSION scripts):  Symbol names are globbing patterns.
* ldgram.y (lang_new_vers_regex):  Rename to lang_new_vers_pattern;
the pattern in question is not a regexp.
* ldlang.c:  Likewise.
* ldlang.h:  Likewise.
* ldlex.l (V_IDENTIFIER):  Allow '[', ']', '-', '!', and '^' also.

22 years agofix date typo
Alan Modra [Thu, 14 Feb 2002 04:13:55 +0000 (04:13 +0000)]
fix date typo

22 years ago * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD.
Alan Modra [Thu, 14 Feb 2002 04:12:24 +0000 (04:12 +0000)]
* elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD.

22 years agodaily update
Alan Modra [Wed, 13 Feb 2002 23:00:19 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 13 Feb 2002 21:53:31 +0000 (21:53 +0000)]
2002-02-11  Michael Snyder  <msnyder@redhat.com>

* elf-bfd.h (elfcore_write_lwpstatus): Add prototype.
* elf.c (elfcore_grok_pstatus): Add prototype.
(elfcore_grok_lwpstatus): Add prototype.
(elfcore_write_lwpstatus): New function.
(elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy.

22 years agobfd:
Jason Thorpe [Wed, 13 Feb 2002 18:14:48 +0000 (18:14 +0000)]
bfd:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize
EF_M68000.

bintuls:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* readelf.c (get_machine_flags): Recognize EF_M68000.

gas:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* config/tc-m68k.c (md_show_usage): No longer display a
hard-coded "68020" for the default CPU, instead display the
canonical name of the true, configured default CPU.
(m68k_elf_final_processing): Mark objects for sub-68020
CPUs with the new EF_M68000 flag.

include/elf:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* m68k.h (EF_M68000): Define.

22 years agoUpdate copyright.
Andreas Schwab [Wed, 13 Feb 2002 11:19:07 +0000 (11:19 +0000)]
Update copyright.