OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years ago * gprof.texi (Output Options): Correct last patch to use @itemx, not
Ben Elliston [Mon, 17 May 2004 11:20:29 +0000 (11:20 +0000)]
* gprof.texi (Output Options): Correct last patch to use @itemx, not
@item, for options with long option alternatives.

20 years ago * gprof.texi (Introduction): Update synopsis.
Ben Elliston [Mon, 17 May 2004 05:04:27 +0000 (05:04 +0000)]
* gprof.texi (Introduction): Update synopsis.
(Output Options): Document -r and -R.
(Analysis Options): Document -t, --table-length.
(Miscellaneous Options): Document -h, --help.

20 years agodaily update
Alan Modra [Mon, 17 May 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sun, 16 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * elfxx-mips.c (MINUS_TWO): Define.
Thiemo Seufer [Sat, 15 May 2004 18:58:05 +0000 (18:58 +0000)]
* elfxx-mips.c (MINUS_TWO): Define.
(mips_elf_higher, mips_elf_highest,
mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for
some bfd_vma values.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup.

20 years agoCope with ARM mapping symbols
Nick Clifton [Sat, 15 May 2004 14:09:08 +0000 (14:09 +0000)]
Cope with ARM mapping symbols

20 years agoMake 'insn' argument of iq2000_cgen_insn_supported be const.
Nick Clifton [Sat, 15 May 2004 13:10:30 +0000 (13:10 +0000)]
Make 'insn' argument of iq2000_cgen_insn_supported be const.

20 years agodaily update
Alan Modra [Sat, 15 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * som.c (log2): Rename to exact_log2. Adjust all callers.
Dave Anglin [Fri, 14 May 2004 17:42:47 +0000 (17:42 +0000)]
* som.c (log2): Rename to exact_log2.  Adjust all callers.

20 years agodaily update
Alan Modra [Fri, 14 May 2004 00:32:17 +0000 (00:32 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Thu, 13 May 2004 18:14:28 +0000 (18:14 +0000)]
merge from gcc

20 years agoRemove comment rendered obsolete by previous delta
Nick Clifton [Thu, 13 May 2004 15:16:00 +0000 (15:16 +0000)]
Remove comment rendered obsolete by previous delta

20 years agofix typo in file name
Nick Clifton [Thu, 13 May 2004 14:49:49 +0000 (14:49 +0000)]
fix typo in file name

20 years agoHandle dwarf3 format CIE entries.
Nick Clifton [Thu, 13 May 2004 14:41:18 +0000 (14:41 +0000)]
Handle dwarf3 format CIE entries.

20 years agoChange or32-rtems target from COFF to ELF format
Nick Clifton [Thu, 13 May 2004 14:12:27 +0000 (14:12 +0000)]
Change or32-rtems target from COFF to ELF format

20 years agoUpdated French translations
Nick Clifton [Thu, 13 May 2004 12:54:36 +0000 (12:54 +0000)]
Updated French translations

20 years agodaily update
Alan Modra [Thu, 13 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * ld-sh/tlsbin-2.d: Adjust for section reordering changes
Kaz Kojima [Wed, 12 May 2004 05:58:09 +0000 (05:58 +0000)]
* ld-sh/tlsbin-2.d: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-sh/tlsbin-3.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.

20 years ago * binutils-all/ar.exp: Remove stray semicolons.
Ben Elliston [Wed, 12 May 2004 03:28:46 +0000 (03:28 +0000)]
* binutils-all/ar.exp: Remove stray semicolons.
* binutils-all/dlltool.exp: Likewise.
* binutils-all/objcopy.exp: Likewise.
* binutils-all/readelf.exp: Likewise.
* binutils-all/windres/windres.exp: Likewise.
* lib/utils-lib.exp: Likewise.

20 years ago * ld-sh/sh64/relax.exp: Remove stray semicolons.
Ben Elliston [Wed, 12 May 2004 03:08:09 +0000 (03:08 +0000)]
* ld-sh/sh64/relax.exp: Remove stray semicolons.
* ld-sh/sh64/relfail.exp: Likewise.
* lib/ld-lib.exp: Likewise.

20 years ago * gas/h8300/t03_add.exp: Remove stray semicolons.
Ben Elliston [Wed, 12 May 2004 03:06:10 +0000 (03:06 +0000)]
* gas/h8300/t03_add.exp: Remove stray semicolons.
* gas/h8300/t04_sub.exp: Likewise.
* gas/h8300/t05_cmp.exp: Likewise.
* gas/h8300/t08_or.exp: Likewise.
* gas/h8300/t09_xor.exp: Likewise.
* gas/h8300/t10_and.exp: Likewise.
* gas/hppa/reloc/reloc.exp: Likewise.
* gas/hppa/unsorted/unsorted.exp: Likewise.
* gas/i386/i386.exp: Likewise.
* gas/m68hc11/m68hc11.exp: Likewise.
* gas/mips/mips.exp: Likewise.
* gas/sparc/sparc.exp: Likewise.
* lib/gas-defs.exp: Likewise.

20 years agobfd/
Jakub Jelinek [Tue, 11 May 2004 17:08:38 +0000 (17:08 +0000)]
bfd/
* elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
into .dynsym if elf_section_data (sec)->dynindx <= 0.
Adjust counting of last_local.
(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
created by the linker nor !SHF_ALLOC.

* elf32-i386.c (elf_i386_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.  Set sh_entsize for .got section in addition
to .got.plt.
(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.
(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.  Set sh_entsize for .got section
in addition to .got.plt.
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Likewise.
(assign_file_positions_for_segments): Likewise.
(get_program_header_size): Likewise.
* elflink.c (bfd_elf_size_dynamic_sections): Set
elf_tdata (output_bfd)->relro from info->relro.
* elf-bfd.h (struct elf_obj_tdata): Add relro field.
include/
* bfdlink.h (struct bfd_link_info): Add relro, relro_start and
relro_end fields.
* elf/common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
(PT_GNU_RELRO): Define.
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_RELRO.
ld/
* genscripts.sh: Generate -z combreloc -z now -z relro scripts
for binaries, -shared and -pie.
* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
(OTHER_RELRO_SECTIONS): ... this.
* ldlex.l (DATA_SEGMENT_RELRO_END): Add.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-z relro and -z norelro.
(gld${EMULATION_NAME}_list_options): Add it to usage.
(gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
-z relro scripts when appropriate.
* scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
Create separate .got.plt section if SEPARATE_GOTPLT.
Move sections which are only written during relocation handling
to the beginning of RW segment.  If NO_SMALL_DATA, move .got
before .data.  Add DATA_SEGMENT_RELRO_END directive.
Include OTHER_RELRO_SECTIONS.
* ldgram.y (DATA_SEGMENT_RELRO_END): Add.
* ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
(fold_unary): Likewise.
(fold_binary): Handle -z relro.
* ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
exp_dataseg_relro_adjust phases.  Add relro_end field.
* ldmain.c (main): Initialize link_info.relro to FALSE.
* ldlang.c (lang_size_sections): Handle -z relro.
ld/testsuite/
* ld-i386/tlspic.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.sd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsbinpic.s: Likewise.
* ld-i386/tlsbin.dd: Likewise.
* ld-i386/tlsbin.sd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic1.s: Likewise.
* ld-i386/combreloc.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-s390/tlspic1.s: Likewise.
* ld-s390/tlsbinpic.s: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic.dd: Likewise.
* ld-s390/tlsbin.dd: Likewise.
* ld-s390/tlsbin.sd: Likewise.
* ld-s390/tlsbin.td: Likewise.
* ld-s390/tlspic.sd: Likewise.
* ld-s390/tlspic.td: Likewise.
* ld-s390/tlspic1_64.s: Likewise.
* ld-s390/tlsbinpic_64.s: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.dd: Likewise.
* ld-s390/tlsbin_64.dd: Likewise.
* ld-s390/tlspic_64.sd: Likewise.
* ld-s390/tlspic_64.td: Likewise.
* ld-s390/tlsbin_64.td: Likewise.
* ld-s390/tlsbin_64.sd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.t: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x.
* ld-shared/shared.exp: Likewise.

20 years agoApply H.J.'s patch to fix label arithmetic when multiple same-name sections are involved
Nick Clifton [Tue, 11 May 2004 15:53:47 +0000 (15:53 +0000)]
Apply H.J.'s patch to fix label arithmetic when multiple same-name sections are involved

20 years agodaily update
Alan Modra [Tue, 11 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-10 John Paul Wallington <jpw@gnu.org>
Hans-Peter Nilsson [Mon, 10 May 2004 03:57:04 +0000 (03:57 +0000)]
2004-05-10  John Paul Wallington  <jpw@gnu.org>

* ld-mmix/bspec2.d: Update sh_info to decimal.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.

20 years agodaily update
Alan Modra [Mon, 10 May 2004 00:00:27 +0000 (00:00 +0000)]
daily update

20 years ago * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
Marek Michalkiewicz [Sat, 8 May 2004 21:52:56 +0000 (21:52 +0000)]
* scripttempl/avr.sc: Do not set LMA for "eeprom" section.

20 years ago* elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get
Alexandre Oliva [Sat, 8 May 2004 07:05:32 +0000 (07:05 +0000)]
* elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get
a zero symndx for which we hadn't accounted a dynamic relocation.
(_frvfdpic_add_rofixup): Likewise.

20 years agodaily update
Alan Modra [Sat, 8 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
Richard Sandiford [Fri, 7 May 2004 16:39:26 +0000 (16:39 +0000)]
* config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
to cope with VR4181A errata MD(1) and MD(4).

20 years ago2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 7 May 2004 15:33:36 +0000 (15:33 +0000)]
2004-05-07  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (section_groups): New.
(group_count): New.
(section_headers_groups): New.
(process_section_groups): Populate group_count, section_groups
and section_headers_groups.
(process_unwind): Support section group.
(process_object): Always call process_section_groups. Free
section_groups and section_headers_groups.

20 years ago * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
Joern Rennecke [Fri, 7 May 2004 15:21:27 +0000 (15:21 +0000)]
* ldlang.c (print_padding_statement): Cast size_t to bfd_vma
before printing it with %W.

20 years ago* emultempl/pe.em (real_flags): New static.
Brian Ford [Fri, 7 May 2004 15:17:58 +0000 (15:17 +0000)]
* emultempl/pe.em (real_flags): New static.
(OPTION_LARGE_ADDRESS_AWARE): New define.
(gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
(gld_${EMULATION_NAME}_list_options): Likewise.
(gld${EMULATION_NAME}_handle_option): Likewise.
(gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
* ld.texinfo: Document it.
* NEWS: Mention it.

20 years ago* coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]:
Brian Ford [Fri, 7 May 2004 15:08:49 +0000 (15:08 +0000)]
* coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]:
Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE.
* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize
IMAGE_FILE_LARGE_ADDRESS_AWARE.  Use PE defines.

20 years ago* NEWS: Mention DWARF 2 support for i386pe.
Brian Ford [Fri, 7 May 2004 14:49:48 +0000 (14:49 +0000)]
* NEWS: Mention DWARF 2 support for i386pe.

20 years ago* NEWS: Mention .secrel32 for pe[i]-i386.
Brian Ford [Fri, 7 May 2004 14:44:56 +0000 (14:44 +0000)]
* NEWS: Mention .secrel32 for pe[i]-i386.

20 years ago* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return
Alexandre Oliva [Fri, 7 May 2004 06:28:39 +0000 (06:28 +0000)]
* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return
immediately if there's no link info.
(elf32_frvfdpic_copy_private_bfd_data): New.
(bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic.

20 years ago* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
Alexandre Oliva [Fri, 7 May 2004 06:28:04 +0000 (06:28 +0000)]
* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
(HANDLE_ALIGN): New.

20 years ago * Makefile.am (DIST_SUBDIRS): Define.
Daniel Jacobowitz [Fri, 7 May 2004 06:23:54 +0000 (06:23 +0000)]
* Makefile.am (DIST_SUBDIRS): Define.
* aclocal.m4: Regenerate with automake 1.8.4.
* Makefile.in: Likewise.
* doc/Makefile.in: Likewise.

20 years ago * dwarf2.c (add_line_info): Also set info->filename to NULL if
Zack Weinberg [Fri, 7 May 2004 00:01:25 +0000 (00:01 +0000)]
* dwarf2.c (add_line_info): Also set info->filename to NULL if
filename argument is null; do not call strlen on a null pointer.

20 years agodaily update
Alan Modra [Fri, 7 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
Daniel Jacobowitz [Thu, 6 May 2004 23:43:40 +0000 (23:43 +0000)]
* elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
special case.

20 years agoPatch from David Mosberger-Tang.
Jim Wilson [Thu, 6 May 2004 22:32:44 +0000 (22:32 +0000)]
Patch from David Mosberger-Tang.
* config/tc-ia64.c (dot_serialize): Declare.
(dot_serialize): New function.
(md_pseudo_table): Add ".serialize.data" and
".serialize.instruction" directives.

20 years agoRemove duplicate code and provide a function for generating internally consistent...
Nick Clifton [Thu, 6 May 2004 11:01:48 +0000 (11:01 +0000)]
Remove duplicate code and provide a function for generating internally consistent 'value out of range' messages

20 years ago* emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
Alexandre Oliva [Thu, 6 May 2004 02:46:54 +0000 (02:46 +0000)]
* emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
elf32-frvfdpic.

20 years ago* configure.in: Set em=linux for frv-*-*linux*.
Alexandre Oliva [Thu, 6 May 2004 02:46:45 +0000 (02:46 +0000)]
* configure.in: Set em=linux for frv-*-*linux*.
* configure: Rebuilt.
* config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
(frv_md_fdpic_enabled): New.
* config/tc-frv.c (frv_md_fdpic_enabled): New.
(DEFAULT_FDPIC): New.
(frv_flags): Use DEFAULT_FDPIC.
(frv_pic_flag): Likewise.
(OPTION_NOPIC): New.
(md_longopts): Add -mnopic.
(md_parse_option): Handle it.
(md_show_usage): Add -mfdpic and -mnopic.

20 years ago* configure.in (bfd_elf32_frvfdpic_vec): New.
Alexandre Oliva [Thu, 6 May 2004 02:46:29 +0000 (02:46 +0000)]
* configure.in (bfd_elf32_frvfdpic_vec): New.
* configure: Rebuilt.
* targets.c (bfd_elf32_frvfdpic_vec): New.
* config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default
on the latter.
* elf32-frv.c: Prefix all identifiers added for FDPIC support with
frvfdpic instead of frv.  Rearrange elf-target macros such that
the FDPIC-specific ones are only defined for this new target
vector.
(bfd_elf32_frvfdpic_vec): Declare.
(IS_FDPIC): New.
(elf32_frv_relocate_section): Use it to enable segment checking
and to control rofixup emission.  Add output section vma to
applied relocation in non-LOAD non-ALLOC sections.  Use
_bfd_error_handler for errors.
(_frv_create_got_section): Create .rel.got and .rofixup only in
FDPIC.  Create non-dynamic _gp at .got+2048 in non-FDPIC, like the
linker script.
(elf32_frvfdpic_size_dynamic_sections): Assume FDPIC.
(elf32_frvfdpic_modify_segment_map): Likewise.
(elf32_frv_finish_dynamic_sections): New, do-nothing.
(elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC.  Improve
error message if we miscompute the rofixup size.
(frvfdpic_elf_use_relative_eh_frame): Assume FDPIC.
(frvfdpic_elf_encode_eh_address): Likewise.
(elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC.
Record relocs only in FDPIC.  Make sure _gp is defined for GPREL
relocs.  Reject unknown relocation types.
(elf32_frv_object_p): Make sure target vector matches FDPIC bits.
(frv_elf_merge_private_bfd_data): Likewise.
(ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as
0x4000 for newly-added elf32-frvfdpic.

20 years ago* ld-frv/fdpic.exp: Restore $LDFLAGS at the end.
Alexandre Oliva [Thu, 6 May 2004 02:46:13 +0000 (02:46 +0000)]
* ld-frv/fdpic.exp: Restore $LDFLAGS at the end.
* ld-frv/fr450-link.d: Match fdpic as well.

20 years ago* gas/frv/reloc1.d: Match elf32-frvfdpic as well.
Alexandre Oliva [Thu, 6 May 2004 02:46:07 +0000 (02:46 +0000)]
* gas/frv/reloc1.d: Match elf32-frvfdpic as well.
* gas/frv/fr405-insn.d: Likewise.
* gas/frv/fr450-insn.d: Likewise.

20 years ago * ld-sh/sh64/crange1.rd: Update sh_info to decimal.
Kaz Kojima [Thu, 6 May 2004 00:13:39 +0000 (00:13 +0000)]
* ld-sh/sh64/crange1.rd: Update sh_info to decimal.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.

20 years agodaily update
Alan Modra [Thu, 6 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years agoRemove checks of the return value from bfd_cache_ookup()
Nick Clifton [Wed, 5 May 2004 15:46:35 +0000 (15:46 +0000)]
Remove checks of the return value from bfd_cache_ookup()

20 years agoPR/136 - Have bfd_cache_lookup_worker() abort rather than return an
Nick Clifton [Wed, 5 May 2004 15:39:11 +0000 (15:39 +0000)]
PR/136 - Have bfd_cache_lookup_worker() abort rather than return an
(unchecked-for) NULL.

20 years agoAdd support for 521x,5249,547x,548x.
Nick Clifton [Wed, 5 May 2004 14:33:14 +0000 (14:33 +0000)]
Add support for 521x,5249,547x,548x.

20 years ago * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC.
Alan Modra [Wed, 5 May 2004 13:43:36 +0000 (13:43 +0000)]
* ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC.

20 years ago * ld-powerpc/tlsexe.r: Update sh_info to decimal.
Alan Modra [Wed, 5 May 2004 13:31:05 +0000 (13:31 +0000)]
* ld-powerpc/tlsexe.r: Update sh_info to decimal.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.

20 years ago * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
Jakub Jelinek [Wed, 5 May 2004 13:06:18 +0000 (13:06 +0000)]
* tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
(NOP_OPCODE): Define.
(s390_align_code): Remove prototype.
* tc-s390.c (s390_align_code): Remove.

20 years agodaily update
Alan Modra [Wed, 5 May 2004 00:00:09 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Tue, 4 May 2004 20:06:15 +0000 (20:06 +0000)]
merge from gcc

20 years ago2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 4 May 2004 14:58:11 +0000 (14:58 +0000)]
2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (make_unw_section_name): Removed.
(start_unwind_section): New function.
(generate_unwind_image): Take const segT instead of const
char *.
(dot_handlerdata): Adjusted.
(dot_endp): Likewise.

20 years agodaily update
Alan Modra [Tue, 4 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded
Alan Modra [Mon, 3 May 2004 14:52:02 +0000 (14:52 +0000)]
* elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded
SEC_MERGE sections.
* elflink.c (elf_link_input_bfd): Adjust output reloc index for
those against discarded link-once and SEC_MERGE section symbols.

20 years ago2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 3 May 2004 04:08:32 +0000 (04:08 +0000)]
2004-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Allow the
".note.GNU-stack" section has SHF_EXECINSTR.

20 years agodaily update
Alan Modra [Mon, 3 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agobfd/
H.J. Lu [Sun, 2 May 2004 14:36:25 +0000 (14:36 +0000)]
bfd/

2004-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* section.c (bfd_get_section_by_name_if): New.
* bfd-in2.h: Regenerated.

gas/

2004-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (get_section): Return bfd_boolean.
(obj_elf_change_section): Call bfd_get_section_by_name_if
instead of bfd_map_over_sections.

20 years ago * som.c (som_bfd_is_group_section): Define.
Alan Modra [Sun, 2 May 2004 06:21:08 +0000 (06:21 +0000)]
* som.c (som_bfd_is_group_section): Define.

20 years agodaily update
Alan Modra [Sun, 2 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * section.c (bfd_make_section_anyway): Copy the whole
Alan Modra [Sat, 1 May 2004 14:20:26 +0000 (14:20 +0000)]
* section.c (bfd_make_section_anyway): Copy the whole
bfd_hash_entry, not just "next" from existing entry.

20 years agodaily update
Alan Modra [Sat, 1 May 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years agogas/
H.J. Lu [Fri, 30 Apr 2004 16:47:46 +0000 (16:47 +0000)]
gas/

2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (get_section): New function.
(obj_elf_change_section): Support multiple sections with same
name.

gas/testsuite/

2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/elf.exp: Remove group1, add group1a and group1b for
section group.

* gas/elf/group1a.d: New file.
* gas/elf/group1b.d: Likewise.

* gas/elf/group1.e: Removed.

20 years ago2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Apr 2004 15:04:30 +0000 (15:04 +0000)]
2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (bfd_section_from_shdr): Maintain the section order in
a section group.
(special_sections): Add ".note.GNU-stack".
(elf_fake_sections): Handle section group for relocatable
link..

20 years ago2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Apr 2004 15:01:15 +0000 (15:01 +0000)]
2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* section.c (bfd_sections_find_if): New.
* bfd-in2.h: Regenerated.

20 years ago2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Apr 2004 14:56:03 +0000 (14:56 +0000)]
2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (process_section_headers): Use %3lu on sh_info.

20 years ago * ldlang.c (unique_section_p): Pass section parm, return true on
Alan Modra [Fri, 30 Apr 2004 14:26:09 +0000 (14:26 +0000)]
* ldlang.c (unique_section_p): Pass section parm, return true on
group sections.
(output_section_callback): Adjust.
* ldlang.h (unique_section_p): Update prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.

20 years ago * section.c (bfd_make_section_anyway): Add all sections to hash tab.
Alan Modra [Fri, 30 Apr 2004 14:23:40 +0000 (14:23 +0000)]
* section.c (bfd_make_section_anyway): Add all sections to hash tab.

* elf-bfd.h (bfd_elf_is_group_section): Declare.
* elf.c (bfd_elf_is_group_section): New function.
* elfxx-target.h (bfd_elfNN_bfd_is_group_section
* section.c (bfd_generic_is_group_section): New function.
* targets.c (struct bfd_target): Add _bfd_is_group_section field.
(BFD_JUMP_TABLE_LINK): Adjust.
* aout-adobe.c (aout_32_bfd_is_group_section): Define.
* aout-target.h (MY_bfd_is_group_section): Define.
* aout-tic30.c (MY_bfd_is_group_section): Define.
* bfd.c (bfd_is_group_section): Define.
* binary.c (binary_bfd_is_group_section): Define.
* bout.c (b_out_bfd_is_group_section): Define.
* coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust.
* coffcode.h (coff_bfd_is_group_section): Define.
* i386msdos.c (msdos_bfd_is_group_section): Define.
* i386os9k.c (os9k_bfd_is_group_section): Define.
* ieee.c (ieee_bfd_is_group_section): Define.
* ihex.c (ihex_bfd_is_group_section): Define.
* libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define.
* mach-o.c (bfd_mach_o_bfd_is_group_section): Define.
* mmo.c (mmo_bfd_is_group_section): Define.
* nlm-target.h (nlm_bfd_is_group_section): Define.
* oasys.c (oasys_bfd_is_group_section): Define.
* pef.c (bfd_pef_bfd_is_group_section): Define.
* ppcboot.c (ppcboot_bfd_is_group_section): Define.
* srec.c (srec_bfd_is_group_section): Define.
* tekhex.c (tekhex_bfd_is_group_section): Define.
* versados.c (versados_bfd_is_group_section): Define.
* vms.c (vms_bfd_is_group_section): Define.
* xsym.c (bfd_sym_bfd_is_group_section): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

20 years ago * ld.texinfo (--gc-sections): Remove restriction for
Eric Botcazou [Fri, 30 Apr 2004 11:49:45 +0000 (11:49 +0000)]
* ld.texinfo (--gc-sections): Remove restriction for
dynamic linking.

20 years agoFix handling of case sensitive register aliases and add a test for the bug
Nick Clifton [Fri, 30 Apr 2004 10:51:13 +0000 (10:51 +0000)]
Fix handling of case sensitive register aliases and add a test for the bug

20 years ago * elflink.c (elf_gc_mark): Follow indirect and warning syms.
Alan Modra [Fri, 30 Apr 2004 08:48:55 +0000 (08:48 +0000)]
* elflink.c (elf_gc_mark): Follow indirect and warning syms.

20 years agoFix bug in ranlib.sh script - quote the $1 argument in case it contains spaces
Nick Clifton [Fri, 30 Apr 2004 07:37:15 +0000 (07:37 +0000)]
Fix bug in ranlib.sh script - quote the $1 argument in case it contains spaces

20 years ago* Corrections to previous patch. Amend ChangeLog.
Ben Elliston [Fri, 30 Apr 2004 07:14:40 +0000 (07:14 +0000)]
* Corrections to previous patch.  Amend ChangeLog.

* ppc-opc.c (XCMPL): Renmame to XOPL. Update users.
(powerpc_opcodes): Add "dbczl" instruction for PPC970.

20 years ago * ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.
Ben Elliston [Fri, 30 Apr 2004 06:46:53 +0000 (06:46 +0000)]
* ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.
[testsuite]
* gas/ppc/power4.s: Add dcbz and dcbzl test cases.
* gas/ppc/power4.d: Update accordingly.

20 years agoEh... sanitize date of last entry
Hans-Peter Nilsson [Fri, 30 Apr 2004 06:29:36 +0000 (06:29 +0000)]
Eh... sanitize date of last entry

20 years ago * configure.in: Update version to 2.15.91.
Hans-Peter Nilsson [Fri, 30 Apr 2004 06:28:46 +0000 (06:28 +0000)]
* configure.in: Update version to 2.15.91.
* configure: Regenerate.

20 years agodaily update
Alan Modra [Fri, 30 Apr 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agoAdd support for generating DWARF2 debug sections in the x86 PE port
Nick Clifton [Thu, 29 Apr 2004 16:40:20 +0000 (16:40 +0000)]
Add support for generating DWARF2 debug sections in the x86 PE port

20 years agomerge from gcc
DJ Delorie [Thu, 29 Apr 2004 16:08:50 +0000 (16:08 +0000)]
merge from gcc

20 years ago * pe-dll.c: Revert changes accidentally committed 2004-03-08.
Alan Modra [Thu, 29 Apr 2004 13:05:49 +0000 (13:05 +0000)]
* pe-dll.c: Revert changes accidentally committed 2004-03-08.
(fill_edata): Correct pointer arithmetic.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Thu, 29 Apr 2004 05:14:22 +0000 (05:14 +0000)]
[ bfd/ChangeLog ]
2004-04-28  Chris Demetriou  <cgd@broadcom.com>

* reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16.
* bfd-in2.h: Regenerate.
* libbfd.h: Likewise.

[ gas/ChangeLog ]
2004-04-28  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
(load_address, macro, mips_ip, md_parse_option)
(mips_force_relocation, mips_validate_fix, md_apply_fix3)
(s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
embedded-PIC handling, and update comments.
(SWITCH_TABLE): Remove.
* config/tc-mips.h (DIFF_EXPR_OK): Delete.
(enum mips_pic_level): Remove EMBEDDED_PIC.
(EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
(TC_FORCE_RELOCATION): Update comment.
* ecoff.c (ecoff_build_lineno): Add comment about some code that
might be safe to remove now that MIPS embedded-PIC is gone.

20 years agodaily update
Alan Modra [Thu, 29 Apr 2004 00:00:11 +0000 (00:00 +0000)]
daily update

20 years ago * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and
Dave Anglin [Wed, 28 Apr 2004 18:02:49 +0000 (18:02 +0000)]
* som.c (struct som_misc_symbol_info): Add is_comdat, is_common and
dup_common fields.
(setup_sections): Use som_subspace_dictionary_record struct instead
subspace_dictionary_record.  Set SEC_LINK_ONCE if subspace is
is_comdat, is_common or dup_common.
(som_prep_headers): Use som_subspace_dictionary_record struct.  Set
is_comdat, is_common and dup_common in section subspace_dict from
copy_data.
(som_begin_writing): Use som_subspace_dictionary_record struct.
(som_finish_writing): Likewise.
(som_bfd_derive_misc_symbol_info): Add support to set is_comdat,
is_common and dup_common flags in info for symbol.  Add comment
regarding linker support for these fields.  Slightly reorganize
function.
(som_build_and_write_symbol_table): Set is_comdat, is_common and
dup_common fields in symbol table from symbol info.
(bfd_som_set_subsection_attributes): Add comdat, common and dup_common
arguments.  Set corresponding fields in copy_data.  Change all callers.
(som_bfd_ar_write_symbol_stuff): Set dup_common flag in library
symbol table.
(som_vec): Add SEC_LINK_ONCE to applicable section flags.
* som.h (som_subspace_dictionary_record): Define.
(som_copyable_section_data_struct): Add is_comdat, is_common and
dup_common fields.
(som_section_data_struct): Use som_subspace_dictionary_record struct
instead of subspace_dictionary_record.
(bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype.
* config/obj-som.c (obj_som_init_stab_section): Add new arguments in
call to obj_set_subsection_attributes.
(obj_som_init_stab_section): Likewise.
* config/tc-hppa.c (default_subspace_dict): Add comdat field.
(pa_def_subspaces): Provide comdat default.
(pa_subspace): Handle new "comdat" parameter.  Set SEC_LINK_ONCE and
not SEC_IS_COMMON if section is comdat, common or dup_common.  Update
calls to create_new_subspace and update_subspace to pass comdat flag.
(create_new_subspace, update_subspace): Add new comdat argument.  Use
it in calls to obj_set_subsection_attributes.
* doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
and use of comdat, common and dup_comm parameters.

20 years agodaily update
Alan Modra [Wed, 28 Apr 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
Bob Wilson [Tue, 27 Apr 2004 21:28:16 +0000 (21:28 +0000)]
* elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
if set.  Check reloc_done flag before applying relocations.  Use
output addresses, both when applying relocations and when comparing
against the specified section.
(elf_xtensa_relocate_section): Use output address to check if dynamic
reloc is in a literal pool.  Set section's reloc_done flag.

20 years agomerge from gcc:
DJ Delorie [Tue, 27 Apr 2004 18:28:03 +0000 (18:28 +0000)]
merge from gcc:
2004-04-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
* acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for
Ada compilation.
Fix acx_cv_cc_gcc_supports_ada spelling.

20 years agomerge from gcc:
DJ Delorie [Tue, 27 Apr 2004 18:25:01 +0000 (18:25 +0000)]
merge from gcc:
2004-04-27  Paolo Bonzini  <bonzini@gnu.org>

Revert:
2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): Mark with the bootstrap
flag packages on which gcc depends.
* Makefile.tpl (all-bootstrap): Use it.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
        * configure: Regenerate.
        * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
        * gcc/Makefile.tpl (compare): Use the result of the test.
        * gcc/Makefile.in: Regenerate.

2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
Always relocate gcc and prev-gcc to the original names, even
if the build fails.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
New targets.

20 years ago2004-04-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 27 Apr 2004 16:06:07 +0000 (16:06 +0000)]
2004-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-sh64.c (elf_backend_section_flags): New. Defined.
(sh64_elf_set_mach_from_flags): Remove the kludge for .cranges
section.
(sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges
section.

20 years ago * objcopy.c (copy_usage, strip_usage): Fix spelling.
Alan Modra [Tue, 27 Apr 2004 06:31:16 +0000 (06:31 +0000)]
* objcopy.c (copy_usage, strip_usage): Fix spelling.

20 years agobinutils/
H.J. Lu [Tue, 27 Apr 2004 03:59:09 +0000 (03:59 +0000)]
binutils/

2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (do_section_groups): New.
(options): Add --section-groups/-g.
(usage): Mention --section-groups/-g.
(parse_args): Support --section-groups/-g.
(get_group_flags): New.
(process_section_groups): New.
(process_object): Call process_section_groups.

gas/

2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Check if the old
group name is NULL before comparison.

gas/testsuite/

2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/elf.exp: Add group0a, group0b and group1 for section
group.

* gas/elf/group0.s: New file.
* gas/elf/group0a.d: Likewise.
* gas/elf/group0b.d: Likewise.
* gas/elf/group1.e: Likewise.
* gas/elf/group1.s: Likewise.

20 years ago * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
Alan Modra [Tue, 27 Apr 2004 03:13:15 +0000 (03:13 +0000)]
* elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
structure field removed in 2004-04-24 patch.
* elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix.

* elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>):
Constify hdr arg.
* elf32-arm.h (elf32_arm_section_flags): Likewise.
* elf64-alpha.c (elf64_alpha_section_flags): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_flags): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section
field before calling elf_backend_section_flags.

20 years agodaily update
Alan Modra [Tue, 27 Apr 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Mon, 26 Apr 2004 18:23:59 +0000 (18:23 +0000)]
merge from gcc