OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago2003-08-03 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Mon, 4 Aug 2003 02:45:05 +0000 (02:45 +0000)]
2003-08-03  Jason Eckhardt  <jle@rice.edu>

        * gas/i860/*.d: Prefix name with "i860".

21 years ago2003-08-03 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Mon, 4 Aug 2003 02:23:49 +0000 (02:23 +0000)]
2003-08-03  Jason Eckhardt  <jle@rice.edu>

        * gas/i860/dual01.{s,d}: New files.
        * gas/i860/dual02-err.{s,l}: New files.
        * gas/i860/dual03.{s,d}: New files.
        * gas/i860/i860.exp: Execute the above new tests.
        * gas/i860/README.i860: Update.

21 years agodaily update
Alan Modra [Mon, 4 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 3 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.
Kaz Kojima [Sat, 2 Aug 2003 13:46:44 +0000 (13:46 +0000)]
* elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.

* ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test.

21 years agoAdjust for objdump -d change.
Alan Modra [Sat, 2 Aug 2003 11:34:30 +0000 (11:34 +0000)]
Adjust for objdump -d change.

21 years ago2003-08-01 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Sat, 2 Aug 2003 04:27:50 +0000 (04:27 +0000)]
2003-08-01  Jason Eckhardt  <jle@rice.edu>

        * gas/i860/README.i860: New file.

21 years ago2003-08-01 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Sat, 2 Aug 2003 03:03:52 +0000 (03:03 +0000)]
2003-08-01  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences.
        (target_intel_syntax): Declare variable.
        (OPTION_INTEL_SYNTAX): Declare macro.
        (md_longopts): Add option -mintel-syntax.
        (md_parse_option): Set target_intel_syntax.
        (md_show_usage): Add -mintel-syntax usage.
        (md_begin): Set reg_prefix based on target_intel_syntax.
        (i860_process_insn): Skip register prefix only if there is one.
        Parse relocatable expressions in either Intel or AT&T syntax based
        on target_intel_syntax instead of the SYNTAX_SVR4 macro.
        * doc/c-i860.texi: Document -mintel-syntax option and give blurb
        about the differences in syntax.

21 years ago Merge from gcc:
Nathanael Nerode [Sat, 2 Aug 2003 02:00:38 +0000 (02:00 +0000)]
Merge from gcc:

2003-08-01  Matt Kraai  <kraai@alumni.cmu.edu>
* Makefile.tpl (check, check-c++): Express dependencies using
dependencies rather than commands.
* Makefile.in: Regenerate.

2003-07-31  Geoffrey Keating  <geoffk@apple.com>
* Makefile.tpl (libsubdir): Use gcc instead of gcc-lib.
* Makefile.in: Update.

21 years agodaily update
Alan Modra [Sat, 2 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Aug 2003 22:46:16 +0000 (22:46 +0000)]
2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.

21 years ago2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Aug 2003 22:42:26 +0000 (22:42 +0000)]
2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
ElfNN_External_Rela instead of Elf64_External_Rela.

21 years ago2003-08-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 1 Aug 2003 21:35:02 +0000 (21:35 +0000)]
2003-08-01  Andrew Cagney  <cagney@redhat.com>

* configure.in (noconfigdirs): Do not add GDB when m32r-*-*.
* configure: Ditto.

21 years agoAdd code to catch obsolete configurations and warn about them unless
Nick Clifton [Fri, 1 Aug 2003 08:35:04 +0000 (08:35 +0000)]
Add code to catch obsolete configurations and warn about them unless
--enable-obsolete is used.  Use this to mark vax-vms port as obsolete.

21 years ago * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround
Alan Modra [Fri, 1 Aug 2003 03:48:55 +0000 (03:48 +0000)]
* config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround
to all arches.

21 years agodaily update
Alan Modra [Fri, 1 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * elf32-ppc.c (ppc_elf_install_value): Tidy.
Alan Modra [Thu, 31 Jul 2003 14:38:15 +0000 (14:38 +0000)]
* elf32-ppc.c (ppc_elf_install_value): Tidy.
(ppc_elf_relax_section): Remove dead code.  Remove unnecessary casts.
Formatting.
* elfxx-target.h: Remove PARAMS macro.  Formatting.

21 years ago * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
Alan Modra [Thu, 31 Jul 2003 14:34:13 +0000 (14:34 +0000)]
* elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
* elf64-ppc.c (get_fdh): New function, split out from
ppc64_elf_edit_opd.
(ppc64_elf_check_relocs): Use get_fdh.
(func_desc_adjust): Likewise.  Tidy.
(ppc64_elf_edit_opd): Tighten reloc checks.  Free local_syms on error
exit.  Use get_fdh.  Account for superfluous dynamic relocs.
(ppc64_elf_relocate_section): Warning fix.

21 years agodaily update
Alan Modra [Thu, 31 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-07-30 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 30 Jul 2003 21:37:35 +0000 (21:37 +0000)]
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * coff-i860.c: Convert to ISO C90.  Remove superflous prototypes.

21 years ago2003-07-30 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 30 Jul 2003 21:10:12 +0000 (21:10 +0000)]
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * i860-dis.c: Convert to ISO C90.  Remove superflous prototypes.

21 years ago * config/tc-sh.c (md_assemble): For branches, check & update
Joern Rennecke [Wed, 30 Jul 2003 20:34:26 +0000 (20:34 +0000)]
* config/tc-sh.c (md_assemble): For branches, check & update
valid_arch here.

21 years agobfd:
Jason Eckhardt [Wed, 30 Jul 2003 20:24:55 +0000 (20:24 +0000)]
bfd:
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * elf32-i860.c: Convert to ISO C90.  Remove superflous prototypes.

gas:
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c: Convert to ISO C90.

21 years ago* configure.in: Enable libgcj for darwin.
DJ Delorie [Wed, 30 Jul 2003 20:12:58 +0000 (20:12 +0000)]
* configure.in: Enable libgcj for darwin.
* configure: Rebuild.

21 years ago * read.c (s_space): Revert 2003-07-28 change.
Rainer Orth [Wed, 30 Jul 2003 17:21:52 +0000 (17:21 +0000)]
* read.c (s_space): Revert 2003-07-28 change.

21 years agoUpdated Romanian translation
Nick Clifton [Wed, 30 Jul 2003 15:53:12 +0000 (15:53 +0000)]
Updated Romanian translation

21 years ago * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
Alan Modra [Wed, 30 Jul 2003 14:11:03 +0000 (14:11 +0000)]
* config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.

21 years ago * objdump.c: Remove unnecessary prototypes.
Alan Modra [Wed, 30 Jul 2003 03:54:15 +0000 (03:54 +0000)]
* objdump.c: Remove unnecessary prototypes.
(disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
code, and print relocs when dump_dynamic_reloc_info.
(disassemble_data): Read and handle dynamic relocs.  Correct reloc
skip code.  Formatting.
(dump_bfd): Don't dump dynamic relocs when disassembling.

21 years ago * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
Kaz Kojima [Wed, 30 Jul 2003 02:22:07 +0000 (02:22 +0000)]
* emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
section for shared library.
* emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
* emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.

21 years ago * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
Alan Modra [Wed, 30 Jul 2003 02:15:07 +0000 (02:15 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
* elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.

21 years ago * elf.c: Convert to C90, remove unnecessary prototypes and casts.
Alan Modra [Wed, 30 Jul 2003 02:08:06 +0000 (02:08 +0000)]
* elf.c: Convert to C90, remove unnecessary prototypes and casts.
Replace PTR with void *.  Formatting.
(_bfd_elf_assign_file_position_for_section): Remove INLINE.
(make_mapping): Likewise.

21 years ago * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
Nathanael Nerode [Wed, 30 Jul 2003 01:35:07 +0000 (01:35 +0000)]
* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.

21 years agodaily update
Alan Modra [Wed, 30 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * MAINTAINERS: Remove self as M88k maintainer. Future M88k
Ben Elliston [Tue, 29 Jul 2003 23:44:03 +0000 (23:44 +0000)]
* MAINTAINERS: Remove self as M88k maintainer.  Future M88k
maintenance defaults to the blanket write privilege maintainers.

21 years ago2003-07-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 29 Jul 2003 21:05:31 +0000 (21:05 +0000)]
2003-07-18  Michael Snyder  <msnyder@redhat.com>

        * include/opcode/h8sx.h (DO_MOVA1, DO_MOVA2): Reformatting.

21 years ago * scripttempl/elfm68hc12.sc: Add gcc_except_table.
Stephane Carrez [Tue, 29 Jul 2003 20:17:17 +0000 (20:17 +0000)]
* scripttempl/elfm68hc12.sc: Add gcc_except_table.
* scripttempl/elfm68hc11.sc: Likewise.

21 years agoUpdate meissner email address
Michael Meissner [Tue, 29 Jul 2003 17:09:00 +0000 (17:09 +0000)]
Update meissner email address

21 years agoUpdate to Iso C.
Nick Clifton [Tue, 29 Jul 2003 15:40:37 +0000 (15:40 +0000)]
Update to Iso C.

21 years ago * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc
Jakub Jelinek [Tue, 29 Jul 2003 14:02:55 +0000 (14:02 +0000)]
* ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc
sections.
--- ld/testsuite/ld-elfvsb/elf-offset.ld.jj 2003-05-19 17:12:47.000000000 -0400
+++ ld/testsuite/ld-elfvsb/elf-offset.ld 2003-07-29 05:39:34.000000000 -0400
@@ -46,6 +46,8 @@ SECTIONS
     }
   .rel.got       : { *(.rel.got) }
   .rela.got      : { *(.rela.got) }
+  .rel.toc       : { *(.rel.toc) }
+  .rela.toc      : { *(.rela.toc) }
   .rel.ctors     : { *(.rel.ctors) }
   .rela.ctors    : { *(.rela.ctors) }
   .rel.dtors     : { *(.rel.dtors) }
@@ -111,6 +113,7 @@ SECTIONS
     KEEP (*(.dtors))
   }
   .got           : { *(.got.plt) *(.got) }
+  .toc           : { *(.toc) }
   .dynamic       : { *(.dynamic) }
   /* We want the small data sections together, so single-instruction offsets
      can access them all, and initialized data all before uninitialized, so

21 years ago * ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up.
Jakub Jelinek [Tue, 29 Jul 2003 08:29:56 +0000 (08:29 +0000)]
* ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up.

21 years agoRemove empty .text disassembly
Nick Clifton [Tue, 29 Jul 2003 07:06:08 +0000 (07:06 +0000)]
Remove empty .text disassembly

21 years ago * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.
Alan Modra [Tue, 29 Jul 2003 06:55:34 +0000 (06:55 +0000)]
* config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.

21 years ago * ld-powerpc/tlsso.r: Update.
Alan Modra [Tue, 29 Jul 2003 06:53:41 +0000 (06:53 +0000)]
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

21 years ago * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
Alan Modra [Tue, 29 Jul 2003 06:48:30 +0000 (06:48 +0000)]
* config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.

21 years ago * elf64-ppc.c (func_desc_adjust): Give linker created function
Alan Modra [Tue, 29 Jul 2003 06:47:10 +0000 (06:47 +0000)]
* elf64-ppc.c (func_desc_adjust): Give linker created function
descriptor symbols a size and type.
(ppc64_elf_relocate_section): Correct lq insn test.

21 years ago2003-07-28 Eric Christopher <echristo@redhat.com>
Eric Christopher [Tue, 29 Jul 2003 06:42:51 +0000 (06:42 +0000)]
2003-07-28  Eric Christopher  <echristo@redhat.com>

        * elf32-ppc.c (R_PPC_RELAX32): New relocation.
        (ppc_elf_install_value): New function.
        (ppc_elf_sort_rela): Remove.
        (ppc_elf_relax_section): Rewrite. Remove old relaxation
        and replace with out of range branch stubs.
        (ppc_elf_relocate_section): Handle R_PPC_RELAX32.

2003-07-28  Eric Christopher  <echristo@redhat.com>

        * ppc.h (R_PPC_RELAX32): New. Fake relocation.

21 years agoUpdate expected output regexps to include .eh_frame section.
Nick Clifton [Tue, 29 Jul 2003 06:26:23 +0000 (06:26 +0000)]
Update expected output regexps to include .eh_frame section.

21 years ago* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
Alexandre Oliva [Tue, 29 Jul 2003 06:18:40 +0000 (06:18 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
from input_bfd.

21 years agogas/
H.J. Lu [Tue, 29 Jul 2003 02:03:33 +0000 (02:03 +0000)]
gas/

2003-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_section_type): Also accept "note".

gas/testsuite/

2003-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/elf.exp: Add section3 for note section.

* gas/elf/section3.d: New file.
* gas/elf/section3.s: Likewise.

21 years agodaily update
Alan Modra [Tue, 29 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * read.c (s_space): Don't warn about .space 0.
Rainer Orth [Mon, 28 Jul 2003 20:35:59 +0000 (20:35 +0000)]
* read.c (s_space): Don't warn about .space 0.

21 years ago * config/tc-mips.c (mips_flag_pdr): Define.
Rainer Orth [Mon, 28 Jul 2003 20:06:27 +0000 (20:06 +0000)]
* config/tc-mips.c (mips_flag_pdr): Define.
(md_begin) [OBJ_ELF]: Use it to control .pdr creation.
(s_mips_end) [OBJ_ELF]: Likewise.
(md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
(md_parse_option) [OBJ_ELF]: Handle them.
(md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.

* doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
* doc/as.texinfo (Overview) [MIPS]: Likewise.

21 years ago * elf.c (special_sections): Set attributes for .got and .plt.
Alan Modra [Mon, 28 Jul 2003 14:21:44 +0000 (14:21 +0000)]
* elf.c (special_sections): Set attributes for .got and .plt.

21 years ago * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
Alan Modra [Mon, 28 Jul 2003 03:33:48 +0000 (03:33 +0000)]
* emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.

21 years ago * Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
Nathanael Nerode [Mon, 28 Jul 2003 03:27:46 +0000 (03:27 +0000)]
* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
creating target and build subdirs to build all parent dirs as needed.
* Makefile.in: Rebuild.
* configure.in: Don't build dirs explicitly here.
* configure: Rebuild.

21 years ago * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
Alan Modra [Mon, 28 Jul 2003 02:42:37 +0000 (02:42 +0000)]
* emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.

21 years agodaily update
Alan Modra [Mon, 28 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * ld.texinfo: Typo fixes. Document SUBALIGN.
Alan Modra [Sun, 27 Jul 2003 11:58:28 +0000 (11:58 +0000)]
* ld.texinfo: Typo fixes.  Document SUBALIGN.
* ldgram.y (opt_subalign): Add.
* ldlex.l (SUBALIGN): Recognize.
* ldlang.c (overlay_subalign): New var.
(lang_enter_overlay): Add subalign param.
(lang_enter_overlay_section): Pass overlay_subalign to
lang_enter_output_section_statement.
* ldlang.h (lang_enter_overlay): Update.

21 years ago * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs
Alan Modra [Sun, 27 Jul 2003 09:05:08 +0000 (09:05 +0000)]
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs
on function descriptors.
(ELIMINATE_COPY_RELOCS): Expand comment.
(ppc64_elf_special_sections): Move.  Don't include non-ppc64 sections.
Do include ".toc1".

21 years agodaily update
Alan Modra [Sun, 27 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agoUpdate tests for corrected section attributes and objdump change.
Alan Modra [Sat, 26 Jul 2003 10:22:01 +0000 (10:22 +0000)]
Update tests for corrected section attributes and objdump change.

21 years agobfd/
H.J. Lu [Sat, 26 Jul 2003 01:06:27 +0000 (01:06 +0000)]
bfd/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_new_section_hook): Set the default section
type to SHT_NULL.
(elf_fake_sections): Set the section type based on asect->flags
if it is SHT_NULL. Don't abort on processor specific section
types.

gas/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Update
elf_section_type and elf_section_flags only when they are
specified.

21 years agodaily update
Alan Modra [Sat, 26 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 16:08:28 +0000 (16:08 +0000)]
2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Always set section
type and flags.

21 years ago2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 14:55:16 +0000 (14:55 +0000)]
2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Regenerated.

21 years agobfd/
H.J. Lu [Fri, 25 Jul 2003 14:35:56 +0000 (14:35 +0000)]
bfd/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (bfd_elf_special_section): New.
(elf_backend_data): Add special_sections, a pointer to
bfd_elf_special_section.
(elf_section_type). New.
(elf_section_flags): New.
(_bfd_elf_get_sec_type_attr): New.

* elf.c (_bfd_elf_make_section_from_shdr): Always use the
real section type/flags.
(special_sections): New.
(get_special_section): New.
(_bfd_elf_get_sec_type_attr): New.
(_bfd_elf_new_section_hook): Check special_section to set
elf_section_type and elf_section_flags.
(elf_fake_sections): Don't use section name to set ELF section
data.

* elf32-m32r.c (m32r_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-mcore.c (mcore_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-ppc.c (ppc_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-sh64.c (sh64_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-v850.c (v850_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-xtensa.c (elf_xtensa_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-alpha.c (elf64_alpha_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-hppa.c (elf64_hppa_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-ppc.c (ppc64_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-sh64.c (sh64_elf64_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-ia64.c (elfNN_ia64_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-mips.c (_bfd_mips_elf_special_sections): New.

* elfxx-mips.h (_bfd_mips_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-target.h (elf_backend_special_sections): New. Default
to NULL.
(elfNN_bed): Initialize special_sections.

* section.c (bfd_abs_section): Remove const.
(bfd_und_section): Likewise.
(bfd_com_section): Likewise.
(bfd_ind_section): Likewise.

gas/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (special_sections): Removed.
(obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
elf_section_type and elf_section_flags.
(elf_frob_file): Set SHT_GROUP.

* config/obj-elf.h (obj_sec_set_private_data): New.

* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-mcore.h: Likewise.
* config/tc-mips.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh64.h: Likewise.
* config/tc-v850.h: Likewise.
* config/tc-xtensa.h: Likewise.

* config/tc-v850.h (SHF_V850_GPREL): Removed.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.

* subsegs.c (subseg_get): Call obj_sec_set_private_data if it
is defined.

include/elf/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* v850.h (SHF_V850_GPREL): New.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.

21 years agoInclude SEC_CODE so that code sections are assigned the LOAD attribute.
Nick Clifton [Fri, 25 Jul 2003 10:50:03 +0000 (10:50 +0000)]
Include SEC_CODE so that code sections are assigned the LOAD attribute.

21 years ago * elf32-sh.c: Convert to C90. Replace PTR with void *.
Kaz Kojima [Fri, 25 Jul 2003 06:19:20 +0000 (06:19 +0000)]
* elf32-sh.c: Convert to C90.  Replace PTR with void *.
* elf32-sh64-com.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-sh64.h: Likewise.
* elf64-sh64.c: Likewise.

21 years ago2003-07-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 01:39:42 +0000 (01:39 +0000)]
2003-07-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.

21 years agodaily update
Alan Modra [Fri, 25 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
Stephane Carrez [Thu, 24 Jul 2003 20:55:38 +0000 (20:55 +0000)]
* config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
debugging symbols so that we handle page memory correctly.

21 years agoDo not ignore sections without the LOAD flag when disassemble_all is true.
Nick Clifton [Thu, 24 Jul 2003 14:06:07 +0000 (14:06 +0000)]
Do not ignore sections without the LOAD flag when disassemble_all is true.
Only print a message about disassembling a section if it contains some data.

21 years ago * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
Kaz Kojima [Thu, 24 Jul 2003 11:37:02 +0000 (11:37 +0000)]
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(allocate_dynrelocs): Likewise.
(sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL.
(sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.

21 years agoUpdated French translations
Nick Clifton [Thu, 24 Jul 2003 11:16:05 +0000 (11:16 +0000)]
Updated French translations

21 years ago * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
Bob Wilson [Thu, 24 Jul 2003 00:24:00 +0000 (00:24 +0000)]
    * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
        near the beginning of the file.  Swap order of arguments.  Call
        _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0.
        (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call.
        (elf_xtensa_relocate_section): Likewise.
        (shrink_dynamic_reloc_sections): Likewise.

21 years ago * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
Bob Wilson [Thu, 24 Jul 2003 00:13:42 +0000 (00:13 +0000)]
    * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
        (elf_xtensa_size_dynamic_sections): Use elf_discarded_section.
        (elf_xtensa_combine_prop_entries): Avoid returning non-zero without
        first printing an error message.
        (elf_xtensa_finish_dynamic_sections): Likewise.
        (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when
        discarding literal table entries.
        (elf_xtensa_merge_private_bfd_data): Remove newline from error message.
        (elf_xtensa_do_asm_simplify): Likewise.

21 years agodaily update
Alan Modra [Thu, 24 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * gas/m68hc11/m68hc11.exp: Execute the new tests.
Stephane Carrez [Wed, 23 Jul 2003 20:13:38 +0000 (20:13 +0000)]
* gas/m68hc11/m68hc11.exp: Execute the new tests.
* gas/m68hc11/abi.s: New test for abi elf flags.
* gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float.
* gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float.

21 years ago * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft
Stephane Carrez [Wed, 23 Jul 2003 19:55:53 +0000 (19:55 +0000)]
* ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft
register.

21 years ago * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
Stephane Carrez [Wed, 23 Jul 2003 19:40:23 +0000 (19:40 +0000)]
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
we have a local symbol in common section.

21 years ago * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
Stephane Carrez [Wed, 23 Jul 2003 19:33:20 +0000 (19:33 +0000)]
* scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
account .tramp sections;
* scripttempl/elfm68hc12.sc: Likewise.

21 years ago * config/tc-arm.c (arm_archs): Add iwmmxt.
Daniel Jacobowitz [Wed, 23 Jul 2003 19:30:39 +0000 (19:30 +0000)]
* config/tc-arm.c (arm_archs): Add iwmmxt.

21 years agoTidy up code. Switch to ISO C
Nick Clifton [Wed, 23 Jul 2003 17:34:03 +0000 (17:34 +0000)]
Tidy up code.  Switch to ISO C

21 years agodaily update
Alan Modra [Wed, 23 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* Makefile.tpl (all-make): Depend on intl.
Alexandre Oliva [Tue, 22 Jul 2003 19:03:26 +0000 (19:03 +0000)]
* Makefile.tpl (all-make): Depend on intl.
* Makefile.in: Rebuilt.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 22 Jul 2003 15:52:44 +0000 (15:52 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
weak symbols.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 22 Jul 2003 15:27:06 +0000 (15:27 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* read.c (do_parse_cons_expression): Mark nbytes unused to
silence gcc.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 22 Jul 2003 14:58:35 +0000 (14:58 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* ld-selective/selective.exp: Skip "ia64-*-*".

* ld-srec/srec.exp: Make xfail on "ia64-*-*".

21 years ago* objdump.c: New command line option --debugging-tags.
Nick Clifton [Tue, 22 Jul 2003 13:33:32 +0000 (13:33 +0000)]
* objdump.c: New command line option --debugging-tags.
* doc/binutils.texi: Document new command line option.
* prdbg.c: Code to print the debug info as tags compatible with ctags.
* budbg.h: Adjust prototype.
* NEWS: Mention new switch

21 years agoAdd C_TCSYM and C_ECOML to expected RS6000 storage classes.
Nick Clifton [Tue, 22 Jul 2003 09:06:49 +0000 (09:06 +0000)]
Add C_TCSYM and C_ECOML to expected RS6000 storage classes.

21 years ago* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
Alexandre Oliva [Tue, 22 Jul 2003 04:56:50 +0000 (04:56 +0000)]
* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
or bsr/bs.

21 years ago* config/tc-h8300.c (md_assemble): Make sure characters after
Alexandre Oliva [Tue, 22 Jul 2003 04:56:05 +0000 (04:56 +0000)]
* config/tc-h8300.c (md_assemble): Make sure characters after
slash and dot are lower-case.

21 years agodaily update
Alan Modra [Tue, 22 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 21 Jul 2003 23:00:22 +0000 (23:00 +0000)]
2003-07-21  H.J. Lu <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark
output_bfd unused to silence gcc.

21 years agoUpdated Swedish translation
Nick Clifton [Mon, 21 Jul 2003 09:36:39 +0000 (09:36 +0000)]
Updated Swedish translation

21 years ago * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
Alan Modra [Mon, 21 Jul 2003 00:24:10 +0000 (00:24 +0000)]
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
(_bfd_elf_symbol_refs_local_p): ..this.  Declare.
* elflink.c (_bfd_elf_symbol_refs_local_p): New function.
* elf32-i386.c (elf_i386_relocate_section): Remove h NULL test
now done in _bfd_elf_symbol_refs_local_p.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

21 years agodaily update
Alan Modra [Mon, 21 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 20 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-07-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 07:31:15 +0000 (07:31 +0000)]
2003-07-20  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (.po.gmo): Do check if the .gmo file is writable
before generating it.

21 years ago2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 06:41:42 +0000 (06:41 +0000)]
2003-07-18  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change.