OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years ago * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
Alan Modra [Sat, 16 May 2009 01:56:44 +0000 (01:56 +0000)]
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
* ld-elf/orphan3f.s: Increase section size to 16.
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
* ld-pe/orphand.s, * ld-pe/orphane.s: Likewise.

15 years agodaily update
Alan Modra [Sat, 16 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * configure.ac: Check for declarations for cases where libiberty.h
Ian Lance Taylor [Fri, 15 May 2009 18:32:13 +0000 (18:32 +0000)]
* configure.ac: Check for declarations for cases where libiberty.h
checks HAVE_DECL_xxx.
* configure, config.in: Rebuild.

15 years ago * gold.h (Incremental_argument_list): Remove (invalid) forward
Ian Lance Taylor [Fri, 15 May 2009 17:01:04 +0000 (17:01 +0000)]
* gold.h (Incremental_argument_list): Remove (invalid) forward
declaration.
* incremental.cc (Incremental_inputs::report_achive): New method.
(Incremental_inputs::report_object): New method.
(Incremental_inputs::report_script): New method.
(Incremental_inputs::finalize_inputs): New method.
(Incremental_inputs::finalize): Call finalize_inputs().
(Incremental_inputs::sized_create_incremental_inputs_section_data):
Create inputs entries.
* incremental.h (Incremental_input_type): New enum.
(Incremental_inputs::Incremental_input): Initialize new fields.
(Incremental_inputs::report_inputs): New method.
(Incremental_inputs::report_achive): New method.
(Incremental_inputs::report_object): New method.
(Incremental_inputs::report_script): New method.
(Incremental_inputs::finalize_inputs): New method.
(Incremental_inputs::Input_info): New struct.
(Incremental_inputs::Input_info_map): New typedef.
(Incremental_inputs::lock_): New field.
(Incremental_inputs::Inputs_): New field.
(Incremental_inputs::Inputs_map): New field.
* main.cc (main): Call Incremental_input::report_inputs.
* options.h (Input_argument_list): Typedef moved from
Input_arguments.
(Input_file_group::Files): Remove, use ::Input_argument_list.
(Input_file_group::Input_argument_list): Remove, use
::Input_argument_list.
* plugin.cc (Plugin_manager::add_input_file): Add error in
incremental build.
* read_syms.cc (do_read_syms): Call Incremental_input::report_*
functions.
* script.cc (read_input_script): Call
Incremental_input::report_script.
* script.h (Script_info): New class.

15 years agold/
Alan Modra [Fri, 15 May 2009 14:22:36 +0000 (14:22 +0000)]
ld/
* ldlang.c (lang_output_section_statement_lookup): Add function
comment.  Make "name" non-const.  Ensure duplicate entries use
the same string, allowing simple comparison in hash bucket loop.
Tweak constraint check.
(next_matching_output_section_statement): New function.
* ldlang.h (lang_output_section_statement_lookup): Update.
(next_matching_output_section_statement): Declare.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
combine orphan sections when input sections flags differ in
alloc or load.
* emultempl/pe.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
* emultempl/pep.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
ld/testsuite/
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
* ld-elf/orphan3f.s: New test.
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
* ld-pe/orphand.s, * ld-pe/orphane.s: New test.
* ld-pe/direct.exp: Use is_pecoff_format.
* ld-pe/longsecn.exp: Delete.
* ld-pe/pe.exp: Run new test and longsecn tests.

15 years ago2009-05-15 Andrew Stubbs <ams@codesourcery.com>
Paul Brook [Fri, 15 May 2009 00:08:12 +0000 (00:08 +0000)]
2009-05-15  Andrew Stubbs  <ams@codesourcery.com>
Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_fix_exidx_coverage): Don't attempt to
fix discarded sections.

ld/testsuite/
* ld-arm/arm-elf.exp: Add unwind-5.
* ld-arm/discard-unwind.ld: New file.
* ld-arm/unwind-5.d: New test.
* ld-arm/unwind-5.s: New test.

15 years agodaily update
Alan Modra [Fri, 15 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * elf32-spu.c (mark_overlay_section): Move .init and .fini
Ulrich Weigand [Thu, 14 May 2009 17:56:56 +0000 (17:56 +0000)]
* elf32-spu.c (mark_overlay_section): Move .init and .fini
sections into the software icache.

15 years agobfd/
Ulrich Weigand [Thu, 14 May 2009 16:56:09 +0000 (16:56 +0000)]
bfd/
* elf32-spu.c (build_stub): Always build "compact" sofware
i-cache stubs.

ld/
* emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
compact stubs with software i-cache.

ld/testsuite/
* ld-spu/icache1.d: Update for compact stubs.

15 years agobfd/
Ulrich Weigand [Thu, 14 May 2009 16:04:02 +0000 (16:04 +0000)]
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add fromelem_size_log2.
(spu_elf_setup): Initialize it.
(spu_elf_size_stubs): Move .ovtab into .bss for software i-cache.
Update to new-sytle cache manager data structures.
(spu_elf_build_stubs): Generate new-style cache manager data
structures and symbols.
(spu_elf_auto_overlay): Update size computation.

ld/testsuite/
* ld-spu/icache1.d: Update all addresses to accomodate icache
buffer shifted down 0x800 bytes.

15 years agobfd/
Ulrich Weigand [Thu, 14 May 2009 15:26:36 +0000 (15:26 +0000)]
bfd/
* elf32-spu.c (spu_elf_modify_segment_map): Move all PF_OVERLAY
segments first amongst the program headers.

ld/testsuite/
* ld-spu/icache.d: Update file offsets.
* ld-spu/ovl.d: Likewise.
* ld-spu/ovl1.d: Likewise.

15 years ago * elf32-spu.c (spu_elf_relocate_section): Only encode overlay index
Ulrich Weigand [Thu, 14 May 2009 14:42:36 +0000 (14:42 +0000)]
* elf32-spu.c (spu_elf_relocate_section): Only encode overlay index
into addresses for relocation types that look at high bits.  Remove
special handling of relocation overflow warnings.

15 years ago * elf32-spu.c (mark_functions_via_relocs): Handle cycles in the
Ulrich Weigand [Thu, 14 May 2009 14:40:57 +0000 (14:40 +0000)]
* elf32-spu.c (mark_functions_via_relocs): Handle cycles in the
control flow graph between fragments of a function.

15 years ago * elf32-spu.c (spu_elf_size_stubs): Even in software i-cache mode,
Ulrich Weigand [Thu, 14 May 2009 14:39:04 +0000 (14:39 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Even in software i-cache mode,
generate only a 16-byte .toe section.
(spu_elf_build_stubs, spu_elf_auto_overlay): Likewise.

15 years agobfd/
Alan Modra [Thu, 14 May 2009 04:30:03 +0000 (04:30 +0000)]
bfd/
* elf32-spu.c (spu_elf_size_stubs): Split out section placement to..
(spu_elf_place_overlay_data): ..here.  New function.
* elf32-spu.h (spu_elf_place_overlay_data): Declare.
ld/
* emultempl/spuelf.em (spu_before_allocation): Call
spu_elf_place_overlay_data.
ld/testsuite/
* ld-spu/icache1.d: Update for changed overlay manager placement.
* ld-spu/ovl.d: Likewise.
* ld-spu/ovl2.d: Likewise.

15 years ago * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
Alan Modra [Thu, 14 May 2009 02:21:45 +0000 (02:21 +0000)]
* ldlang.c (lang_insert_orphan): Add __start_<section> symbol
assignment inside output section statement.  Ensure only one
set of symbols per output section.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
dollar sections before dollar sections.  Correct add_child
list insertion.
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.

15 years agodaily update
Alan Modra [Thu, 14 May 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago* cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
DJ Delorie [Wed, 13 May 2009 21:41:38 +0000 (21:41 +0000)]
* cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.

15 years ago * elf32-arm.c: Move sysdep.h to start of file.
Andrew Jenner [Wed, 13 May 2009 16:46:42 +0000 (16:46 +0000)]
 * elf32-arm.c: Move sysdep.h to start of file.

15 years ago * config/tc-arm.c: Move as.h to start of file.
Andrew Jenner [Wed, 13 May 2009 16:44:56 +0000 (16:44 +0000)]
* config/tc-arm.c: Move as.h to start of file.

15 years agodaily update
Alan Modra [Wed, 13 May 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agoChangeLog:
Alexandre Oliva [Tue, 12 May 2009 18:16:01 +0000 (18:16 +0000)]
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages.  Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC.  Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET.  Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET.    Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN.  Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.

15 years ago * objcopy.c (set_long_section_mode): Check input_bfd is coff
Alan Modra [Tue, 12 May 2009 09:07:37 +0000 (09:07 +0000)]
* objcopy.c (set_long_section_mode): Check input_bfd is coff
before accessing coff specific fields of bfd.

15 years agodaily update
Alan Modra [Tue, 12 May 2009 00:00:39 +0000 (00:00 +0000)]
daily update

15 years ago * elf32-spu.c (spu_elf_find_overlays): Don't use .ovl.init lma as
Alan Modra [Mon, 11 May 2009 09:40:52 +0000 (09:40 +0000)]
* elf32-spu.c (spu_elf_find_overlays): Don't use .ovl.init lma as
start of overlays.
(spu_elf_build_stubs): Don't define __icache_tagbase.  Define
__icache_tag_array and __icache_tag_array_size.

15 years agodaily update
Alan Modra [Mon, 11 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoRemove unnecessary ATTRIBUTE_UNUSED
Alan Modra [Sun, 10 May 2009 23:33:50 +0000 (23:33 +0000)]
Remove unnecessary ATTRIBUTE_UNUSED

15 years agodaily update
Alan Modra [Sun, 10 May 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * MAINTAINERS: Add myself as PE/COFF co-maintainer.
Dave Korn [Sat, 9 May 2009 15:55:07 +0000 (15:55 +0000)]
* MAINTAINERS:  Add myself as PE/COFF co-maintainer.

15 years ago2009-05-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Fri, 8 May 2009 08:48:45 +0000 (08:48 +0000)]
2009-05-08  Kai Tietz  <kai.tietz@onevision.com>

        * winduni.c (iconv_onechar): Only define when HAVE_ICONV
        is defined, but not when __CYGWIN__ or _WIN32 are defined.
        See wind_iconv_cp for call logic of this local funtion.

15 years agodaily update
Alan Modra [Fri, 8 May 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years agoRevert previous delta
Nick Clifton [Thu, 7 May 2009 15:07:32 +0000 (15:07 +0000)]
Revert previous delta

15 years ago * ld-elf/eh-group.exp: Only run these tests for ELF based
Nick Clifton [Thu, 7 May 2009 13:44:43 +0000 (13:44 +0000)]
    * ld-elf/eh-group.exp: Only run these tests for ELF based
        targets.

15 years agodaily update
Alan Modra [Thu, 7 May 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Wed, 6 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoCorrect pathname.
H.J. Lu [Tue, 5 May 2009 22:03:34 +0000 (22:03 +0000)]
Correct pathname.

15 years ago2009-05-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 5 May 2009 22:02:04 +0000 (22:02 +0000)]
2009-05-05  H.J. Lu  <hongjiu.lu@intel.com>

* gas/lns/lns-common-1.d: Add test for discriminator.

15 years agoMove ChangeLog entries.
H.J. Lu [Tue, 5 May 2009 21:55:18 +0000 (21:55 +0000)]
Move ChangeLog entries.

15 years agoCorrect pathnames.
H.J. Lu [Tue, 5 May 2009 21:43:07 +0000 (21:43 +0000)]
Correct pathnames.

15 years ago2009-05-05 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 May 2009 14:18:30 +0000 (14:18 +0000)]
2009-05-05  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype.
* bfd-in2.h: Regenerate.
* elf32-arm.c (arm_unwind_edit_type, arm_unwind_table_edit): Define.
(_arm_elf_section_data): Add text and exidx fields.
(add_unwind_table_edit, get_arm_elf_section_data, adjust_exidx_size,
insert_cantunwind_after, elf32_arm_fix_exidx_coverage, offset_prel31,
copy_exidx_entry): New functions.
(elf32_arm_write_section): Fixup .ARM.exidx contents.

ld/
* emultempl/armelf.em (compare_output_sec_vma): New function.
(gld${EMULATION_NAME}_finish): Add exidx munging code.

ld/testsuite/
* ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab.
* ld-arm/arm-elf.exp: Add unwind-[1-4].
* ld-arm/unwind-1.d: New test.
* ld-arm/unwind-1.s: New test.
* ld-arm/unwind-2.d: New test.
* ld-arm/unwind-2.s: New test.
* ld-arm/unwind-3.d: New test.
* ld-arm/unwind-3.s: New test.
* ld-arm/unwind-4.d: New test.
* ld-arm/unwind-4.s: New test.

15 years ago2009-05-05 Christophe lyon <christophe.lyon@st.com>
Christophe Lyon [Tue, 5 May 2009 13:16:56 +0000 (13:16 +0000)]
2009-05-05  Christophe lyon  <christophe.lyon@st.com>
bfd/
* elf32-arm.c (DEF_STUBS): New helper define.
(DEF_STUB): Likewise.
(stub_def): New type.
(stub_definitions): New array, containing stub template pointers
and sizes.
(arm_size_one_stub): Make use of stub_definitions.

15 years agoFix local branches for bl and blx.
Ramana Radhakrishnan [Tue, 5 May 2009 11:41:32 +0000 (11:41 +0000)]
Fix local branches for bl and blx.

15 years ago * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
Nick Clifton [Tue, 5 May 2009 11:28:36 +0000 (11:28 +0000)]
    * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
        * emulparams/avr1.sh (DATA_ORIGIN): Add.
        * emulparams/avr2.sh (DATA_ORIGIN): Add.
        * emulparams/avr25.sh (DATA_ORIGIN): Add.
        * emulparams/avr3.sh (DATA_ORIGIN): Add.
        * emulparams/avr31.sh (DATA_ORIGIN): Add.
        * emulparams/avr35.sh (DATA_ORIGIN): Add.
        * emulparams/avr4.sh (DATA_ORIGIN): Add.
        * emulparams/avr5.sh (DATA_ORIGIN): Add.
        * emulparams/avr51.sh (DATA_ORIGIN): Add.
        (DATA_LENGTH): Update.
        * emulparams/avr6.sh (DATA_ORIGIN): Add.
        (DATA_LENGTH): Update.

15 years ago PR 10109
Nick Clifton [Tue, 5 May 2009 09:36:08 +0000 (09:36 +0000)]
    PR 10109
        * winduni.c: Replace test of HAVE_ICONV_H with a test of
        HAVE_ICONV.
        (iconv_onechar): Use ICONV_CONST instead of "const".
        (wind_MultiByteToWideChar): Initialise local strings.

15 years agodaily update
Alan Modra [Tue, 5 May 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago2009-05-04 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 4 May 2009 13:31:43 +0000 (13:31 +0000)]
2009-05-04  Tristan Gingold  <gingold@adacore.com>

* config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.

15 years agobfd/ChangeLog
Dave Korn [Mon, 4 May 2009 12:09:30 +0000 (12:09 +0000)]
bfd/ChangeLog

* elflink.c (find_version_for_sym):  Remove from here, ...
* linker.c (bfd_find_version_for_sym):  ... rename, replace
here, make public and update all callers.
* bfd-in2.h:  Regenerate.

ld/ChangeLog

* NEWS:  Mention new feature.
* ld.texinfo (--version-script):  Document extent of PE support.
(WIN32):  Mention --version-script.  Extend auto-export description.
* pe-dll.c (process_def_file):  Use version script info to filter
symbols from auto-export.
* testsuite/ld-pe/vers-script-1.d:  New file.
* testsuite/ld-pe/vers-script-2.d:  New file.
* testsuite/ld-pe/vers-script-3.d:  New file.
* testsuite/ld-pe/vers-script-4.d:  New file.
* testsuite/ld-pe/vers-script-1.ver:  New file.
* testsuite/ld-pe/vers-script-2.ver:  New file.
* testsuite/ld-pe/vers-script-3.ver:  New file.
* testsuite/ld-pe/vers-script-4.ver:  New file.
* testsuite/ld-pe/vers-script-dll.c:  New file.
* testsuite/ld-pe/vers-script.exp:  New test script.

15 years agodaily update
Alan Modra [Mon, 4 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sun, 3 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sat, 2 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
Nathan Sidwell [Fri, 1 May 2009 15:23:42 +0000 (15:23 +0000)]
* emulparams/vxworks.sh (TEXT_START_ADDR): Override.

15 years ago * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
Nathan Sidwell [Fri, 1 May 2009 14:44:17 +0000 (14:44 +0000)]
* config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
* config/tc-armeabi.h (FPU_DEFAULT): Likewise.
* config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
the default FPU from the processor.
testsuite/
* gas/arm/attr-mcpu.d: Add -mfpu=neon.
* gas/arm/mapmisc.d: Correct expected output for .double and
.dcb.d.

15 years ago gas/
Julian Brown [Fri, 1 May 2009 13:50:10 +0000 (13:50 +0000)]
gas/
* config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
(md_pcrel_from_section): Align address for BLX.
(tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.

15 years ago ld/testsuite/
Julian Brown [Fri, 1 May 2009 13:49:19 +0000 (13:49 +0000)]
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Add thumb2-bl-blx-interwork test.
* ld-arm/thumb2-bl-blx-interwork.s: New.
* ld-arm/thumb2-bl-blx-interwork.d: New.

15 years agoFix typo
Nick Clifton [Fri, 1 May 2009 09:24:02 +0000 (09:24 +0000)]
Fix typo

15 years agodaily update sid-snapshot-20090501
Alan Modra [Fri, 1 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoIndex: opcodes
DJ Delorie [Thu, 30 Apr 2009 21:23:30 +0000 (21:23 +0000)]
Index: opcodes

* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-dis.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.

Index: gas

* config/tc-mep.c (md_begin): Check coprocessor type.
(md_check_parallel64_scheduling): Use memset to initialize the buffer.
(md_check_parallel32_scheduling): Likewise.
(slot_ok): New.
(mep_check_ivc2_scheduling): New.
(mep_check_parallel_scheduling): Call it.
(mep_process_saved_insns): Add IVC2 slot support.
(md_assemble): Likewise.

15 years ago* mep.h (EF_MEP_COP_*): New.
DJ Delorie [Thu, 30 Apr 2009 18:49:37 +0000 (18:49 +0000)]
* mep.h (EF_MEP_COP_*): New.
(EF_MEP_ALL_FLAGS): Add them.

15 years agoinclude/elf
Nick Clifton [Thu, 30 Apr 2009 15:47:13 +0000 (15:47 +0000)]
include/elf
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * common.h (STT_GNU_IFUNC): Define.

elfcpp
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * (enum STT): Add STT_GNU_IFUNC.

gas
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * config/obj-elf.c (obj_elf_type): Add support for a
        gnu_indirect_function type.
        * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
        against indirect function symbols.
        * doc/as.texinfo (.type): Document the support for the
        gnu_indirect_function symbol type.
        * NEWS: Mention the new feature.

gas/testsuite
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * gas/elf/elf.exp: Extend type test to include an ifunc symbol.
        Provide an alternative test for targets which do not support ifunc
        symbols.
        (type.s): Add entry for an ifunc symbol.
        (type.e): Add ifunc entry to expected symbol dump.
        (section2.e-armelf): Add  entry for ifunc symbol.
        (type-noifunc.s): New file.
        (type-noifunc.e): New file.

bfd/
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
        section pointer.
        (struct elf_obj_data): Add has_ifunc_symbols boolean.
        * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
        into a STT_GNU_IFUNC symbol type.
        (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
        type.
        (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
        the binary contains ifunc symbols.
        * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
        symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
        * elf32-i386.c (is_indirect_function): New function.
        (elf_i386_check_relocs): Create an ifunc output section.
        (allocate_dynrelocs): Create dynamic relocs in the ifunc output
        section if necessary.
        (elf_i386_relocate_section): Emit a reloc against an ifunc symbol
        if necessary.
        (elf_i386_add_symbol_hook): New function. Set the
        has_ifunc_symbols field of the elf_obj_data structure if an ifunc
        symbol is encountered.
        (elf_backend_post_process_headers): Define.
        (elf_backend_add_symbol_hook): Define.
        (elf_i386_post_process_headers): Rename to
        elf_i388_fbsd_post_process_headers.
        * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
        (is_indirect_function): New function.
        (elf64_x86_64_check_relocs): Create an ifunc output section.
        (allocate_dynrelocs): Create dynamic relocs in the ifunc output
        section if necessary.
        (elf64_x86_64_relocate_section): Emit a reloc against an ifunc
        symbol if necessary.
        (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
        elf_obj_data structure if an ifunc symbol is encountered.
        (elf_backend_post_process_headers): Define.
        * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
        if we have ifunc symbols to handle.
        (get_ifunc_reloc_section_name): New function.  Computes the name
        for an ifunc section.
        (_bfd_elf_make_ifunc_reloc_section): New function.  Creates a
        section to hold ifunc relocs.
        * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
        (bfd_print_symbol_vandf): Handle ifunc symbols.
        (bfd_decode_symclass): Likewise.
        * bfd-in2.h: Regenerate.

binutils
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * readelf.c (dump_relocations): Display a relocation against an
        ifunc symbol as if it were a function invocation.
        (get_symbol_type): Handle STT_GNU_IFUNC.

ld
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * NEWS: Mention support for IFUNC symbols.

ld/testsuite
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * ld-ifunc: New directory.
        * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests.
        * ld-ifunc/prog.c: New file.
        * ld-ifunc/lib.c: New file.

15 years agoFix date in revision 1.220. (Was 2008-04-23, should have been 2009-04-23).
Chris Demetriou [Thu, 30 Apr 2009 06:02:09 +0000 (06:02 +0000)]
Fix date in revision 1.220.  (Was 2008-04-23, should have been 2009-04-23).

15 years agoAdd missing disassembler patch for moxie.
Anthony Green [Thu, 30 Apr 2009 04:54:08 +0000 (04:54 +0000)]
Add missing disassembler patch for moxie.

15 years agoTweak description of verilog support in NEWS file.
Anthony Green [Thu, 30 Apr 2009 04:36:49 +0000 (04:36 +0000)]
Tweak description of verilog support in NEWS file.

15 years agoMove moxie stack out in memory.
Anthony Green [Thu, 30 Apr 2009 04:29:23 +0000 (04:29 +0000)]
Move moxie stack out in memory.

15 years agobfd:
Joseph Myers [Thu, 30 Apr 2009 00:01:11 +0000 (00:01 +0000)]
bfd:
* elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
MOVW and MOVT relocations in a shared library link.

ld/testsuite:
* ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s,
ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s,
ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s,
ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests.
* ld-arm/arm-elf.exp: Run these new tests.

15 years agodaily update
Alan Modra [Thu, 30 Apr 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago[ld/ChangeLog]
Chris Demetriou [Wed, 29 Apr 2009 17:24:27 +0000 (17:24 +0000)]
[ld/ChangeLog]
2009-04-29  Chris Demetriou  <cgd@google.com>

        * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
        (ld_options): Likewise.
        (parse_args): Likewise.
        * ld.texinfo: Document --no-export-dynamic.
        * NEWS: Mention --no-export-dynamic.

[ld/testsuite/ChangeLog]
2009-04-29  Chris Demetriou  <cgd@google.com>

        * ld-elfvers/vers.exp (vers4b): New test to verify that
        --no-export-dynamic undoes --export-dynamic.

15 years agomerge from gcc
DJ Delorie [Wed, 29 Apr 2009 16:15:54 +0000 (16:15 +0000)]
merge from gcc

15 years ago * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
Alan Modra [Wed, 29 Apr 2009 14:21:50 +0000 (14:21 +0000)]
* readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
read, and merge with 32-bit case.

15 years ago libiberty/
Julian Brown [Wed, 29 Apr 2009 11:52:41 +0000 (11:52 +0000)]
libiberty/
* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
(pex_win32_exec_child): Ensure each process has only one handle open
on pipe endpoints. Close standard input after creating child
for symmetry with standard output/standard error.

15 years ago * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
Alan Modra [Wed, 29 Apr 2009 01:17:54 +0000 (01:17 +0000)]
* deffilep.y (STACKSIZE_K): Rename from STACKSIZE.

15 years agodaily update
Alan Modra [Wed, 29 Apr 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago * ld-i386/vxworks1-lib.dd: Adjust expected disassembly.
Nathan Sidwell [Tue, 28 Apr 2009 12:46:10 +0000 (12:46 +0000)]
* ld-i386/vxworks1-lib.dd: Adjust expected disassembly.
* ld-i386/vxworks1.dd: Adjust expected disassembly.
* ld-i386/vxworks1-lib.rd: Sections are swapped.

15 years agodaily update
Alan Modra [Tue, 28 Apr 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago * x86_64.cc (do_adjust_output_section): Set entsize to
Ian Lance Taylor [Mon, 27 Apr 2009 16:23:57 +0000 (16:23 +0000)]
* x86_64.cc (do_adjust_output_section): Set entsize to
plt_entry_size.

15 years ago * verilog.c: New file.
Nick Clifton [Mon, 27 Apr 2009 14:27:36 +0000 (14:27 +0000)]
    * verilog.c: New file.
        * Makefile.am (BFD32_LIBS): Add verilog.c.
        (BFD32_LIBS_CFILES): Add verilog.c.
        (verilog.lo): New build rule.
        * Makefile.in: Rebuilt.
        * targets.c: Add verilog support.
        * bfd.c (tdata union): Add Verilog private data field.
        * bfd-in2.h: Regenerate.

        * bfdint.texi (BFD target vector miscellaneous): Mention verilog
        flavour.

        * NEWS: Mention verilog support added to bfd.

15 years agobfd/
H.J. Lu [Mon, 27 Apr 2009 13:59:43 +0000 (13:59 +0000)]
bfd/

2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
copy pe_opthdr.

binutils/

2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (copy_object): Copy pe_opthdr before changing PE
parameters.

15 years agodaily update
Alan Modra [Mon, 27 Apr 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agomerge from gcc
DJ Delorie [Sun, 26 Apr 2009 02:25:10 +0000 (02:25 +0000)]
merge from gcc

15 years agodaily update
Alan Modra [Sun, 26 Apr 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND. cgen-snapshot-20090501
Eric Botcazou [Sat, 25 Apr 2009 12:25:01 +0000 (12:25 +0000)]
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.
(POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND.
* Makefile.in: Regenerate.

15 years agodaily update
Alan Modra [Sat, 25 Apr 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoRemove bfd/.
H.J. Lu [Fri, 24 Apr 2009 20:28:22 +0000 (20:28 +0000)]
Remove bfd/.

15 years ago2008-04-23 Elliott Hughes <enh@google.com>
Chris Demetriou [Fri, 24 Apr 2009 19:48:21 +0000 (19:48 +0000)]
2008-04-23  Elliott Hughes  <enh@google.com>

        * output.cc (Output_file::close): After short writes, continue
        writing from the correct offset in the buffer being written.

15 years ago2009-04-23 Chris Demetriou <cgd@google.com>
Chris Demetriou [Fri, 24 Apr 2009 19:33:42 +0000 (19:33 +0000)]
2009-04-23  Chris Demetriou  <cgd@google.com>

        * configure.ac (HAVE_TR1_UNORDERED_MAP_REHASH): New define.
        * configure: Regenerate.
        * config.in: Regenerate.
        * gold.h: Avoid std::tr1::unordered_map and std::tr1::unordered_set
        if HAVE_TR1_UNORDERED_MAP_REHASH is not defined.

15 years ago * NEWS: Add item about discriminator support.
Cary Coutant [Fri, 24 Apr 2009 18:31:29 +0000 (18:31 +0000)]
* NEWS: Add item about discriminator support.
* dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
* dwarf2dbg.c (current): Add discriminator field.
(dwarf2_where): Copy discriminator value.
(dwarf2_consume_line_info): Set discriminator to 0.
(dwarf2_directive_loc): Process discriminator sub-op.
(out_leb128): New function.
(process_entries): Output DW_LNE_set_discriminator.
* doc/as.texinfo: Add discriminator operand to .loc directive.
* testsuite/gas/lns/lns-common-1.d: Add test for discriminator.
* testsuite/gas/lns/lns-common-1.s: Likewise.

15 years agoinclude/elf/
Cary Coutant [Fri, 24 Apr 2009 18:28:59 +0000 (18:28 +0000)]
include/elf/

 * dwarf2.h (DW_LNE_set_discriminator): New enum value.

binutils/

* dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
Add missing newlines to HP extensions.

15 years agoUpdate ChangeLog entries.
H.J. Lu [Fri, 24 Apr 2009 16:57:08 +0000 (16:57 +0000)]
Update ChangeLog entries.

15 years ago * incremental.cc (Incremental_inputs_header_data): Renamed from
Ian Lance Taylor [Fri, 24 Apr 2009 15:44:02 +0000 (15:44 +0000)]
* incremental.cc (Incremental_inputs_header_data): Renamed from
Incremental_input_header_data.
(Incremental_inputs_header_data::data_size): New field.
(Incremental_inputs_header_data::put_input_file_count): Renamed
from input_file_count.
(Incremental_inputs_header_data::put_command_line_offset): Renamed
from command_line_offset.
(Incremental_inputs_header_data::put_reserved): Renamed from
put_reserved.
(Incremental_inputs_entry_data): Renamed from
Incremental_input_entry_data.
(Incremental_inputs_entry_data::data_size): New field.
(Incremental_inputs::report_command_line): New method.
(Incremental_inputs::finalize): New method.
(Incremental_inputs::create_incremental_inputs_data): New method.
(Incremental_inputs::sized_create_incremental_inputs_data): New method.
* incremental.h: New file.
* layout.cc (Layout::Layout): Handle new incremental_inputs_.
       (Layout::finalize): Create incremental inputs section in
incremental builds.
       (Layout::create_incremental_info_sections): New method.
* layout.h (Layout::incremental_inputs): New method.
       (Layout::create_incremental_info_sections): New method.
       (Layout::incremental_inputs_): New field.
* main.cc (main): Notify Incremental_input of the command line.

15 years ago PR 10061
Alan Modra [Fri, 24 Apr 2009 15:06:15 +0000 (15:06 +0000)]
  PR 10061
* genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
param.

15 years ago*** empty log message ***
Eli Zaretskii [Fri, 24 Apr 2009 14:28:17 +0000 (14:28 +0000)]
*** empty log message ***

15 years ago * config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
Eli Zaretskii [Fri, 24 Apr 2009 14:27:20 +0000 (14:27 +0000)]
* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
consistency with config.sub.  (Update from upstream sources.)

15 years agoObvious typo fixes re: moxie.
Anthony Green [Fri, 24 Apr 2009 11:41:40 +0000 (11:41 +0000)]
Obvious typo fixes re: moxie.

15 years agodaily update
Alan Modra [Fri, 24 Apr 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago2009-04-23 Matthias Klose <doko@ubuntu.com>
Dave Korn [Thu, 23 Apr 2009 13:36:43 +0000 (13:36 +0000)]
2009-04-23  Matthias Klose  <doko@ubuntu.com>

* bfd/peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.

15 years agodaily update
Alan Modra [Thu, 23 Apr 2009 00:00:10 +0000 (00:00 +0000)]
daily update

15 years agomerge from gcc
DJ Delorie [Wed, 22 Apr 2009 19:09:13 +0000 (19:09 +0000)]
merge from gcc

15 years ago2009-04-22 Christophe Lyon <christophe.lyon@st.com>
Christophe Lyon [Wed, 22 Apr 2009 14:01:31 +0000 (14:01 +0000)]
2009-04-22  Christophe Lyon  <christophe.lyon@st.com>

PR9743
bfd/
* elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
R_ARM_JUMP24 and R_ARM_PLT32 relocations.
(elf32_arm_size_stubs): Likewise.
(record_thumb_to_arm_glue): Deleted unused function.
(bfd_elf32_arm_process_before_allocation): No longer handle
R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
(elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
R_ARM_JUMP24 and R_ARM_PLT32 relocations.

testsuite/
* ld-arm/arm-call.d: Update expected result.
* ld-arm/arm-pic-veneer.d: Likewise.
* ld-arm/thumb2-b-interwork.d: Likewise.

15 years ago * ld-scripts/rgn-at1.d: Cope with larger padding on sections.
Nathan Sidwell [Wed, 22 Apr 2009 11:57:35 +0000 (11:57 +0000)]
* ld-scripts/rgn-at1.d: Cope with larger padding on sections.
* ld-scripts/rgn-at2.d: Likewise.
* ld-scripts/rgn-at3.d: Likewise.

15 years ago * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
Nathan Sidwell [Wed, 22 Apr 2009 11:40:25 +0000 (11:40 +0000)]
* config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
as_bad calls to silence compiler warning.

15 years agodaily update
Alan Modra [Wed, 22 Apr 2009 00:00:04 +0000 (00:00 +0000)]
daily update