OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years agodaily update
Alan Modra [Thu, 27 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 26 May 2004 19:40:53 +0000 (19:40 +0000)]
2004-05-26  Andrew Cagney  <cagney@gnu.org>

* corefile.c (core_create_line_syms): Per ISO C '90, move
vma_high's declaration to the function's start.

20 years ago2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 26 May 2004 17:48:59 +0000 (17:48 +0000)]
2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/ia64.exp: Run invalid-ar.

* gas/ia64/invalid-ar.l: New file. Test invalid AR access.
* gas/ia64/invalid-ar.s: Likewise.

20 years agobfd/
Alan Modra [Wed, 26 May 2004 10:23:51 +0000 (10:23 +0000)]
bfd/
* elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE
for SHT_GROUP sections.
ld/
* ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
sections when doing a final link.  Clear SEC_EXCLUDE when doing
a relocable link, except for SEC_DEBUGGING sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
same condition here to drop SEC_EXCLUDE orphan sections.

20 years ago * gprof.c (main): Clean up some more.
Ben Elliston [Wed, 26 May 2004 05:56:22 +0000 (05:56 +0000)]
* gprof.c (main): Clean up some more.

20 years ago * alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
Ben Elliston [Wed, 26 May 2004 04:55:55 +0000 (04:55 +0000)]
* alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c,
cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h,
i386.c, mips.c, search_list.c, search_list.h, source.c, source.h,
sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c,
utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C.

20 years ago * corefile.c (core_init): Use a separate local variable,
Ben Elliston [Wed, 26 May 2004 04:06:26 +0000 (04:06 +0000)]
* corefile.c (core_init): Use a separate local variable,
core_sym_bytes, to make the units from bfd_get_symtab_upper_bound
more obvious.
(core_create_function_syms): Discard cbfd argument.  Eliminate
`offset' variable and calculate VMA directly. Update all users.
* corefile.h (core_create_function_syms): Update prototype.
(core_create_line_syms): Likewise.
* gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code.
Tidy.

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

20 years ago* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
DJ Delorie [Tue, 25 May 2004 20:36:50 +0000 (20:36 +0000)]
* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS)
(NORMAL_TARGET_EXPORTS): New macros.  Use them in all the recursive
targets.
* Makefile.in: Regenerate.

20 years agomerge from gcc
DJ Delorie [Tue, 25 May 2004 20:03:59 +0000 (20:03 +0000)]
merge from gcc

20 years agobfd/
Alan Modra [Tue, 25 May 2004 06:33:51 +0000 (06:33 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Don't set up merge
section data here..
* elf.c (_bfd_elf_merge_sections): .. Do it here instead.
* merge.c: Formatting.  Remove unnecessary casts.  Expand
bfd_get_section_alignment macro.
(struct sec_merge_sec_info): Rename "first" to "first_str".  Update
use throughout file.
(_bfd_add_merge_section): Rename from _bfd_merge_section.  Update
comment.  Abort on dynamic or non-SEC_MERGE input.  Don't test
section name to determine sinfo group, instead test output section
and alignment.
(_bfd_merge_sections): Add struct bfd_link_info param.  Call
_bfd_strip_section_from_output rather than just twiddling flags.
* libbfd-in.h (_bfd_add_merge_section): Rename, update comment.
(_bfd_merge_sections): Update prototype.
* libbfd.h: Regenerate.
ld/
* ldlang.c (lang_process): Call bfd_merge_sections later, and
only when not a relocatable link.
(print_input_section): Handle SEC_EXCLUDE sections.
(size_input_section): Don't update dot on SEC_EXCLUDE sections.
(lang_do_assignments_1): Likewise.
* ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
* emultempl/hppaelf.em (build_section_lists): Likewise.
* emultempl/ppc64elf.em (build_toc_list): Likewise.
(build_section_lists): Likewise.

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

20 years ago* netbsd-core.c: Correctly indent section that sets architecture
Mark Kettenis [Mon, 24 May 2004 21:52:38 +0000 (21:52 +0000)]
* netbsd-core.c: Correctly indent section that sets architecture
from machine ID.

20 years agoReally add this file.
Mark Kettenis [Mon, 24 May 2004 16:09:10 +0000 (16:09 +0000)]
Really add this file.

20 years agoAdd support for an m88k-openbsd target
Nick Clifton [Mon, 24 May 2004 14:48:18 +0000 (14:48 +0000)]
Add support for an m88k-openbsd target

20 years agoReorganise m68k instruction decoding and improve handling of MAC/EMAC
Nick Clifton [Mon, 24 May 2004 14:33:22 +0000 (14:33 +0000)]
Reorganise m68k instruction decoding and improve handling of MAC/EMAC

20 years ago2005-05-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 11:08:48 +0000 (11:08 +0000)]
2005-05-24  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Test the ability to symlink directories.
* configure: Regenerate.

* Makefile.def (bootstrap-stage): New definitions.
* Makefile.tpl (configure-stage1-gcc,
configure-stage2-gcc, configure-stage3-gcc,
all-stage1-gcc, all-stage2-gcc, all-stage3-gcc,
new-bootstrap, new-cleanstrap, new-restage1, new-restage2,
new-restage3, compare): Autogenerate, see Makefile.in
entry for behavioral changes.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New autogenerated targets.
(objext, prebootstrap, BOOT_CFLAGS,
POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated
targets.

* Makefile.in: Regenerate.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New targets.
(all-stage1-gcc): Move prebootstrap dependency from here...
(configure-stage1-gcc): ...to here.
(new-bootstrap): Use bubble targets.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
Use per-stage distclean targets.
(configure-stage1-gcc, configure-stage2-gcc,
configure-stage3-gcc, all-stage1-gcc,
all-stage2-gcc, all-stage3-gcc, new-bootstrap):
Use new-stageN-start to prepare the tree.

20 years ago2004-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 10:45:14 +0000 (10:45 +0000)]
2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): add libcpp.
* Makefile.tpl: Add dependencies on and for libcpp.
* Makefile.in: Regenerate.
* configure.in: Add libcpp host module.
* configure: Regenerate.

config/ChangeLog:

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

* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
From gcc.

20 years agoRemove bogus inode
Nick Clifton [Mon, 24 May 2004 07:49:10 +0000 (07:49 +0000)]
Remove bogus inode

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

20 years ago* ld.texinfo (Options): Fix typo in last change.
Andreas Schwab [Sun, 23 May 2004 09:30:31 +0000 (09:30 +0000)]
* ld.texinfo (Options): Fix typo in last change.

20 years ago * expr.c (operand, operator): Don't reject '++' and '--'.
Alan Modra [Sun, 23 May 2004 04:35:11 +0000 (04:35 +0000)]
* expr.c (operand, operator): Don't reject '++' and '--'.

20 years ago * configure.in (is_release): Remove.
Ben Elliston [Sun, 23 May 2004 00:06:49 +0000 (00:06 +0000)]
* configure.in (is_release): Remove.
(bfd_version_date, bfd_version, bfd_version_string): Likewise.
(AC_OUTPUT): Don't output bfdver.h from version.h.
* configure: Regenerate.
* Makefile.am (RELEASE): New variable.
(bfdver.h): New target.
* Makefile.in: Regenerate.
* doc/Makefile.in: Likewise.

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

20 years ago * Makefile.am (config.status): Don't depend on version.h.
Ben Elliston [Sat, 22 May 2004 06:06:22 +0000 (06:06 +0000)]
* Makefile.am (config.status): Don't depend on version.h.
* Makefile.in: Regenerate.

20 years ago * merge.c (_bfd_merged_section_offset): Remove "addend" param.
Alan Modra [Sat, 22 May 2004 01:56:31 +0000 (01:56 +0000)]
* merge.c (_bfd_merged_section_offset): Remove "addend" param.
* libbfd-in.h (_bfd_merged_section_offset): Adjust prototype.
* libbfd.h: Regenerate.
* elf.c (_bfd_elf_rela_local_sym): Adjust call.
(_bfd_elf_rel_local_sym): Likewise.
* elflink.c (_bfd_elf_link_sec_merge_syms): Likewise.
(elf_link_input_bfd): Likewise.
* elf32-ppc.c (ppc_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
(elfNN_ia64_relocate_section): Likewise.

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

20 years ago2004-05-21 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 21 May 2004 19:08:54 +0000 (19:08 +0000)]
2004-05-21  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Whenever a recursive target is defined, wrap
it in a special @if/@endif block, and prepare its maybe
dependency in the @if/@endif block
* configure.in: Instead of writing maybe dependencies, remove
the @if/@endif statements, and remove the @if/@endif blocks
that remain.
* configure: Regenerate.
* Makefile.in: Regenerate.

20 years agoAdd --hash-size switch to the linker
Nick Clifton [Fri, 21 May 2004 15:38:04 +0000 (15:38 +0000)]
Add --hash-size switch to the linker

20 years ago* libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.
Mark Kettenis [Fri, 21 May 2004 14:56:07 +0000 (14:56 +0000)]
* libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.
* netbsd-core.c (netbsd_core_file_p): Set architecture for alpha,
arm, m68k, m88k and hppa core files.

20 years agoDo not use iovec if it is NULL.
Nick Clifton [Fri, 21 May 2004 13:12:27 +0000 (13:12 +0000)]
Do not use iovec if it is NULL.

20 years ago * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction.
Ben Elliston [Fri, 21 May 2004 01:58:03 +0000 (01:58 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction.

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

20 years ago2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 20 May 2004 22:26:21 +0000 (22:26 +0000)]
2004-05-20  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-srlz.d: Fix a typo.

20 years ago * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
Richard Sandiford [Thu, 20 May 2004 10:10:43 +0000 (10:10 +0000)]
* config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
dwarf tables.

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

20 years agoAdd code to cope with nested archives.
Nick Clifton [Wed, 19 May 2004 14:46:59 +0000 (14:46 +0000)]
Add code to cope with nested archives.

20 years ago * NEWS: Mention new linker map file generation and the
Joern Rennecke [Wed, 19 May 2004 14:15:55 +0000 (14:15 +0000)]
* NEWS: Mention new linker map file generation and the
--reduce-memory-overheads option.
* ld.texinfo: Document --reduce-memory-overheads option.
* ld.h (map_symbol_def): New struct.
(struct user_section_struct, section_userdata_type): Rename to:
(struct lean_user_section_struct, lean_section_userdata_type).
(struct fat_user_section_struct, fat_section_userdata_type): New.
(SECTION_USERDATA_SIZE): Define.
(args_type): New member reduce_memory_overheads.
* ldlang.c (map_obstack): New static variable.
(init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
(lang_map): Unless command_line.reduce_memory_overheads is set,
initialize lists of defined symbols for each section.
(print_input_section): Unless command_line.reduce_memory_overheads
is set, use print_all_symbols.
(init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
* ldmain.c (main): Initialize command_line.reduce_memory_overheads.
* lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
(ld_options): Add entry for --reduce-memory-overheads.
(parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.

20 years ago * ldgram.y (sect_constraint): New.
Jakub Jelinek [Wed, 19 May 2004 14:01:14 +0000 (14:01 +0000)]
* ldgram.y (sect_constraint): New.
(ONLY_IF_RO, ONLY_IF_RW): New tokens.
(section): Add sect_constraint.  Pass additional argument
to lang_enter_output_section_statement.
* mri.c (mri_draw_tree): Pass additional argument to
lang_enter_output_section_statement.
* emultempl/pe.em (place_orphan): Likewise.
(output_prev_sec_find): Disregard output section statements with
constraint == -1.
* emultempl/mmo.em (output_prev_sec_find): Likewise.
(mmo_place_orphan): Pass additional argument to
lang_enter_output_section_statement.
* emultempl/elf32.em (output_prev_sec_find): Disregard output section
statements with constraint == -1.
(place_orphan): Pass additional argument to
lang_enter_output_section_statement.
* ldlang.c (lang_enter_overlay_section): Likewise.
(lang_output_section_find_1): New.
(lang_output_section_find): Use it.
(lang_output_section_statement_lookup_1): New.
(lang_output_section_statement_lookup): Use it.
(check_section_callback, check_input_sections): New.
(map_input_to_output_sections): Check if all input sections
are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
(strip_excluded_output_sections): Disregard output section statements
with constraint == -1.
(lang_record_phdrs): Likewise.
(lang_enter_output_section_statement): Add constraint argument.
Use lang_output_section_statement_lookup_1.
* ldlang.h (lang_output_section_statement_type): Add constraint
and all_input_readonly fields.
(lang_enter_output_section_statement): Adjust prototype.
* ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
* scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
segment if all input sections are readonly.

20 years agoRemove redundant file
Nick Clifton [Wed, 19 May 2004 10:00:50 +0000 (10:00 +0000)]
Remove redundant file

20 years ago * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
Alan Modra [Wed, 19 May 2004 05:11:48 +0000 (05:11 +0000)]
* ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
well as when -mpower4.

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

20 years agoFixes for assembling with an ARM targeted version of GAS
Nick Clifton [Tue, 18 May 2004 16:18:56 +0000 (16:18 +0000)]
Fixes for assembling with an ARM targeted version of GAS

20 years ago * Makefile.def, Makefile.tpl, configure.in: Remove all mention
Zack Weinberg [Tue, 18 May 2004 02:00:58 +0000 (02:00 +0000)]
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.

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

20 years ago * ld.texinfo (Output Section Address): Correct subsection name.
Bob Wilson [Mon, 17 May 2004 22:48:55 +0000 (22:48 +0000)]
    * ld.texinfo (Output Section Address): Correct subsection name.

20 years ago * elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
Bob Wilson [Mon, 17 May 2004 20:33:33 +0000 (20:33 +0000)]
* elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
section names by inserting a new substring after .gnu.linkonce, except
for .gnu.linkonce.t.* where the "t." is replaced.

20 years agoAdd PowerPC LynxOS support
Nick Clifton [Mon, 17 May 2004 19:50:16 +0000 (19:50 +0000)]
Add PowerPC LynxOS support

20 years ago2004-05-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 17 May 2004 17:38:46 +0000 (17:38 +0000)]
2004-05-17  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/frame.exp: New file. Test read-only .eh_frame and
.gcc_except_table sections.
* ld-elf/frame.s: Likewise.
* ld-elf/table.s: Likewise.
* ld-elf/tbss.s: Likewise.

20 years agobinutils ChangeLog:
Bob Wilson [Mon, 17 May 2004 16:40:01 +0000 (16:40 +0000)]
binutils ChangeLog:
2004-05-17  David Heine  <dlheine@tensilica.com>
* objcopy.c (setup_bfd_headers): New function.
(copy_object): Call setup_bfd_headers.
bfd ChangeLog:
2004-05-17  David Heine  <dlheine@tensilica.com>
* aout-target.h (MY_bfd_copy_private_header_data): Define.
* aout-tic30.c (MY_bfd_copy_private_header_data): Define.
* bfd.c (bfd_copy_private_header_data): Define.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new
interface.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_copy_private_header_data): Define.
* elf-bfd.h (_bfd_elf_copy_private_header_data): Declare.
* elf.c (_bfd_elf_copy_private_section_data): Remove code to set up
segments by calling copy_private_bfd_data.
(_bfd_elf_copy_private_header_data): Define.
* elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define.
* libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define.
* libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define.
* mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define.
* mmo.c (mmo_bfd_copy_private_header_data): Define.
* ppcboot.c (ppcboot_bfd_copy_private_header_data): Define.
* som.c (som_bfd_copy_private_header_data): Define.
* targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data.
* vms.c (vms_bfd_copy_private_header_data): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

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.