OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years ago * archive.cc (Archive::add_symbols): Check for a version attached
Ian Lance Taylor [Wed, 18 Mar 2009 05:09:52 +0000 (05:09 +0000)]
* archive.cc (Archive::add_symbols): Check for a version attached
to the symbol name in the archive map.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_11.
(ver_test_11_SOURCES, ver_test_11_DEPENDENCIES): Define.
(ver_test_11_LDFLAGS, ver_test_11_LDADD): Define.
(ver_test_11.a): New target.
* testsuite/Makefile.in: Rebuild.

15 years agomerge from gcc
DJ Delorie [Wed, 18 Mar 2009 00:07:49 +0000 (00:07 +0000)]
merge from gcc

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

15 years ago * configure.ac: Check for chsize and posix_fallocate. Replace
Ian Lance Taylor [Tue, 17 Mar 2009 22:25:30 +0000 (22:25 +0000)]
* configure.ac: Check for chsize and posix_fallocate.  Replace
ftruncate.
* ftruncate.c: New file, from gnulib.
* output.cc (posix_fallocate): Define dummy version if not
HAVE_POSIX_FALLOCATE.
(Output_file::map): Call posix_fallocate rather than lseek and
write.
* gold.h (ftruncate): Declare if not HAVE_FTRUNCATE.
* configure, Makefile.in, config.in: Rebuild.

15 years ago2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Tue, 17 Mar 2009 20:36:30 +0000 (20:36 +0000)]
2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>

* layout.h (Layout::create_note): Add section_name parameter.
* layout.cc (Layout::create_note): Likewise.
(Layout::create_build_id, Layout::create_gold_note): Fix callers.

15 years ago * descriptors.cc: Include "options.h".
Ian Lance Taylor [Tue, 17 Mar 2009 17:09:44 +0000 (17:09 +0000)]
* descriptors.cc: Include "options.h".
(FD_CLOEXEC, O_CLOEXEC): Define if not defined.
(Descriptors::open): Always use O_CLOEXEC when opening a new
descriptor.  If we have a plugin, and O_CLOEXEC was not defined,
then set FD_CLOEXEC.

15 years ago * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.
Daniel Jacobowitz [Tue, 17 Mar 2009 14:50:48 +0000 (14:50 +0000)]
* elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.

15 years agobfd/
Alan Modra [Tue, 17 Mar 2009 12:46:19 +0000 (12:46 +0000)]
bfd/
* elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit.
Add compact_stub.
(emum _ovly_flavour): Delete ovly_compact, ovly_none.
* elf32-spu.c (struct spu_link_hash_table): Replace ovly_load and
ovly_return fields with ovly_entry[2].  Adjust all users.
(spu_elf_find_overlays): Set ovly_entry[1] from __icache_call_handler
when soft-icache.
(spu_elf_build_stubs): Likewise.
(ovl_stub_size): Change arg to spu_elf_params pointer.  Adjust for
ovly_flavour changes.  Update all callers.
(ovl_stub_size_log2): New function.
(build_stub): Handle compact icache stubs.  Use different manager
entry point for stubs in non-icache area.
(spu_elf_size_stubs): Don't allocate space for indirect branch
descriptors.
(spu_elf_build_stubs): And don't built them.
ld/
* emultempl/spu_icache.S: Add new entry to dummy handler.
* emultempl/spu_icache.o_c: Regenerate.
* emultempl/spuelf.em (params): Init new field.
(no_overlays): New static var.
(spu_before_allocation): Use it.
(OPTION_SPU_COMPACT_STUBS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
(PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs.  Adjust no-overlays
handling.
ld/testsuite/
* ld-spu/icache1.d: Update for fixed set_id, new manager entry, and
reduced data.

15 years ago * sparc.cc (class Target_sparc): Add has_got_section.
Ian Lance Taylor [Tue, 17 Mar 2009 07:19:10 +0000 (07:19 +0000)]
* sparc.cc (class Target_sparc): Add has_got_section.
(Target_sparc::Scan::global): If we see _GLOBAL_OFFSET_TABLE_,
make sure we have a GOT section.

* sparc.cc (optimize_tls_reloc): Recognize R_SPARC_TLS_IE_ADD.
(Target_sparc::Scan::local): Likewise.
(Target_sparc::Scan::global): Likewise.
(Target_sparc::Relocate::relocate): Likewise.
(Target_sparc::Relocate::relocate_tls): Likewise.

15 years ago * symtab.cc (Symbol_table::define_default_version): New function,
Ian Lance Taylor [Tue, 17 Mar 2009 07:07:21 +0000 (07:07 +0000)]
* symtab.cc (Symbol_table::define_default_version): New function,
broken out of add_from_object.
(Symbol_table::add_from_object): Call define_default_version.
(Symbol_table::define_special_symbol): Add resolve_oldsym
parameter.  Change all callers.  If the version for a symbol comes
from a version script, resolve it with the symbol with the same
name with no version.  Also add the symbol without a version if
appropriate.
(do_define_in_output_data): If resolving with oldsym, don't delete
sym.
(do_define_in_output_segment): Likewise.
(do_define_as_constant): Likewise.
* symtab.h (class Symbol_table): Update declarations.

15 years agold/
Alan Modra [Tue, 17 Mar 2009 05:33:00 +0000 (05:33 +0000)]
ld/
* configure.host (HOSTING_LIBS): Two dollars on shell variable
expansion to suit make.
ld/testsuite
* config/default.exp (get_link_files): Replace double dollars with
single dollars.

15 years agold/
Alan Modra [Tue, 17 Mar 2009 05:01:26 +0000 (05:01 +0000)]
ld/
* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
* Makefile.am (check-DEJAGNU): Set DO_COMPARE.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-bootstrap/bootstrap.exp: Use DO_COMPARE.  Remove unnecessary
cleanup and log output.

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

15 years ago * ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when
Dave Korn [Mon, 16 Mar 2009 22:03:44 +0000 (22:03 +0000)]
* ld-bootstrap/bootstrap.exp:  Also pass '-liconv' to linker when
linking statically on Cygwin, necessitated by '-lintl'.

15 years ago * configure.ac: Treat gdb as supported on x86_64-darwin.
Joel Brobecker [Mon, 16 Mar 2009 17:00:47 +0000 (17:00 +0000)]
    * configure.ac: Treat gdb as supported on x86_64-darwin.
        * configure: Regenerate.

15 years ago Merge from GCC:
Joseph Myers [Mon, 16 Mar 2009 13:29:49 +0000 (13:29 +0000)]
Merge from GCC:

2009-03-16  Joseph Myers  <joseph@codesourcery.com>

* configure.ac (--with-host-libstdcxx): New option.
* configure: Regenerate.

2009-01-29  Robert Millan  <rmh@aybabtu.com>

* configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
* configure: Regenerate.

2009-01-12  Sebastian Pop <sebastian.pop@amd.com>

PR tree-optimization/38515
* configure.ac (cloog-polylib): Removed.
(with_ppl, with_cloog): Test for "no".
* configure: Regenerated.

15 years agoMove changelog entry to the right file.
Andrew Stubbs [Mon, 16 Mar 2009 12:50:42 +0000 (12:50 +0000)]
Move changelog entry to the right file.

Sorry folks.

15 years ago2009-03-16 Andrew Stubbs <ams@codesourcery.com>
Andrew Stubbs [Mon, 16 Mar 2009 12:41:26 +0000 (12:41 +0000)]
2009-03-16  Andrew Stubbs  <ams@codesourcery.com>

* dwarf2.c (read_section): Always use rawsize, if available.

15 years agoinclude/elf/
Jan Kratochvil [Mon, 16 Mar 2009 09:45:33 +0000 (09:45 +0000)]
include/elf/
* common.h (AT_RANDOM): Define.

15 years ago * simple.c (bfd_simple_get_relocated_section_contents): Use larger
Alan Modra [Mon, 16 Mar 2009 00:52:37 +0000 (00:52 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Use larger
of rawsize and size for buffer.

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

15 years ago * elf32-spu.c (spu_elf_check_vma): Do not reset auto_overlay
Ulrich Weigand [Sun, 15 Mar 2009 15:15:29 +0000 (15:15 +0000)]
* elf32-spu.c (spu_elf_check_vma): Do not reset auto_overlay
parameter just because fixed sections fit into local store.
(spu_elf_auto_overlay): Do not declare as "noreturn".  Skip
generating overlays if fixed sections plus reserved stack
and heap space fit into local store.

15 years ago * ld-auto-import/auto-import.exp: Add missing dll entrypoint.
Dave Korn [Sun, 15 Mar 2009 14:17:28 +0000 (14:17 +0000)]
* ld-auto-import/auto-import.exp:  Add missing dll entrypoint.

15 years ago * elf32-spu.c (build_stub): Correct icache set_id.
Alan Modra [Sun, 15 Mar 2009 03:28:51 +0000 (03:28 +0000)]
* elf32-spu.c (build_stub): Correct icache set_id.
(spu_elf_relocate_section): Likewise.

15 years agodaily update
Alan Modra [Sun, 15 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agogas/testsuite/
Richard Sandiford [Sat, 14 Mar 2009 09:37:18 +0000 (09:37 +0000)]
gas/testsuite/
* gas/ppc/textalign-xcoff-001.d: Expect the section VMAs to be
properly aligned.
* gas/ppc/textalign-xcoff-002.d: Likewise.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:36:38 +0000 (09:36 +0000)]
bfd/
* xcofflink.c (xcoff_link_check_archive_element): Only free the
symbol table if it was created by the current call.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:36:11 +0000 (09:36 +0000)]
bfd/
* xcofflink.c (xcoff_build_ldsyms): Give imported descriptors
class XMC_DS rather than XMC_UA.

15 years agoinclude/coff/
Richard Sandiford [Sat, 14 Mar 2009 09:35:46 +0000 (09:35 +0000)]
include/coff/
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
(xcoff_loader_info): Add auto_export_flags.

bfd/
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
bfd_boolean export_defineds parameter with an unsigned int
auto_export_flags parameter.
* bfd-in2.h: Regenerate.
* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
split out from xcoff_build_ldsyms.
(xcoff_covered_by_expall_p): New function.
(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
but with extra code to handle -bexpfull and -bexpall.
(xcoff_mark_auto_exports): New function.
(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
a function should be automatically exported.
(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
parameter with an auto_export_flags parameter.  Update ldinfo
accordingly.  Use xcoff_mark_auto_exports to mark all automatically-
exported symbols.

ld/
* emultempl/aix.em (auto_export_flags): New variable.
(explicit_auto_export_flags): Likewise.
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
-bnoexpall and -bnoexpfull.
(gld${EMULATION_NAME}_handle_option): Handle them.
(gld${EMULATION_NAME}_before_allocation): Update the call to
bfd_size_dynamic_sections.

ld/testsuite/
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
* ld-powerpc/aix52.exp: Run them.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:35:06 +0000 (09:35 +0000)]
bfd/
* xcofflink.c (xcoff_mark_symbol_by_name): New function.
(bfd_xcoff_size_dynamic_sections): Use it to mark the entry,
init and fini functions.  Do garbage collection for objects
without an entry point too.

ld/testsuite/
* ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex,
ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd,
ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd,
ld-powerpc/aix-weak-1-gcdso.nd: New tests.
* ld-powerpc/aix52.exp: Run them.

15 years agoinclude/coff/
Richard Sandiford [Sat, 14 Mar 2009 09:34:27 +0000 (09:34 +0000)]
include/coff/
* internal.h (C_AIX_WEAKEXT): New macro.
(C_WEAKEXT): Use the GNU definition in the generic part of the file,
and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
the file.
(CSECT_SYM_P): New macro.
* xcoff.h (L_WEAK): Define.
(EXTERN_SYM_P): New macro.

bfd/
* coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
check whether a symbol has csect information.
(coff_print_aux): Likewise.
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff_swap_aux_out): Likewise.
(xcoff_reloc_type_br): Handle defweak symbols too.
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff64_swap_aux_out): Likewise.
(xcoff64_reloc_type_br): Handle defweak symbols too.
* coffgen.c (coff_print_symbol): Handle auxillary function
information for C_AIX_WEAKEXT too.
* xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
instead of BSF_GLOBAL if the L_WEAK flag is set.
(xcoff_dynamic_definition_p): New function.
(xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
defines h.  Don't change h if ldsym isn't the definition.  Otherwise,
always take the symbol class from the ldsym.  Use weak bfd symbol
types for weak ldsyms.
(xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
Fix the check for whether a definition is from a shared object.
Allow redefinitions of weak symbols.
(xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
(xcoff_keep_symbol_p): Likewise.
(bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
(xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
but mark them as L_WEAK.
(xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.

gas/
* config/tc-ppc.c (ppc_frob_symbol): Add csect information for
C_AIX_WEAKEXT too.

ld/testsuite/
* ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
ld-powerpc/aix-weak-3-64.dd: New tests.
* ld-powerpc/aix52.exp: Run them.  Replace tmp/aix-* with
tmp/aix64-* in 64-bit ld options.

15 years agoinclude/coff/
Richard Sandiford [Sat, 14 Mar 2009 09:33:39 +0000 (09:33 +0000)]
include/coff/
* xcoff.h (XCOFF_ALLOCATED): New flag.

bfd/
* xcofflink.c (xcoff_mark): When walking the relocations,
only mark the target symbol or the target section, not both.
(xcoff_final_definition_p): New function.
(xcoff_keep_symbol_p): Use it to check whether an external XCOFF
symbol is a valid definition of the associated output symbol.
Use XCOFF_ALLOCATED to stop the same hash table entry having
two output symbols.
(bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
keeping a symbol.
(xcoff_link_input_bfd): Use xcoff_final_definition_p.

ld/testsuite/
* ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
ld-powerpc/aix-no-dup-syms-1-dso.dnd,
ld-powerpc/aix-no-dup-syms-1-dso.drd,
ld-powerpc/aix-no-dup-syms-1-dso.nd,
ld-powerpc/aix-no-dup-syms-1-dso.rd,
ld-powerpc/aix-no-dup-syms-1-rel.nd,
ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
* ld-powerpc/aix52.exp: Run them.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:32:56 +0000 (09:32 +0000)]
bfd/
* xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute
symbols as XMC_XO.

ld/testsuite/
* ld-powerpc/aix-abs-branch-1.nd,
ld-powerpc/aix-abs-reloc-1.nd: New tests.
* ld-powerpc/aix52.exp: Run them.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:32:33 +0000 (09:32 +0000)]
bfd/
* libcoff-in.h (xcoff_tdata): Add a lineno_counts field.
* libcoff.h: Regenerate.
* xcofflink.c (xcoff_link_add_symbols): Record per-symbol
line-number counts in the bfd's lineno_counts field.
Don't keep per-csect line-number counts.
(xcoff_sweep): Don't update per-csect line-number counts.
(bfd_xcoff_size_dynamic_sections): Count the number of line-number
entries in each output section.
(xcoff_link_input_bfd): Get the number of line numbers from
the bfd's lineno_counts field, rather than recalculating it
from scratch.  Fix the range check when updating C_BINCL and
C_EINCL symbols.
(_bfd_xcoff_bfd_final_link): Don't count the output line numbers
here.  Don't expect csects to have line-number counts.

ld/testsuite/
* ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt,
ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd,
ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests.
* ld-powerpc/aix52.exp: Run them.  Copy aix-lineno-1.txt to tmpdir.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:32:06 +0000 (09:32 +0000)]
bfd/
* libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long.
* libcoff.h: Regenerate.
* xcofflink.c (xcoff_keep_symbol_p): New function, using the
"skip" logic from xcoff_link_input_bfd.
(bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic
objects in a dynamic link, rather than checking whether csectpp
is null.  Always allocate debug_index for other objects,
and always go through the loop.  Update the type of debug_index
after the change above.  Read the auxillary csect information
and use xcoff_keep_symbol_p to decide whether a symbol should
be kept.  Set its debug_index to -2 if not.
(xcoff_link_input_bfd): Update the type of debug_index after
the change above and always expect it to be nonnull.  Use it to
test whether a symbol should be stripped, rather than making the
decision here.  Postpone all symbol creation to the second pass.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:18:22 +0000 (09:18 +0000)]
bfd/
* xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when
creating a descriptor.
(xcoff_sweep): Don't mark toc_section unless it's needed.
(bfd_xcoff_size_dynamic_sections): Skip the toc_section
when marking every bfd.
(xcoff_link_input_bfd): Skip all TOC anchors.
(xcoff_toc_section_p, xcoff_find_tc0): New functions.
(_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor
to -1; call xcoff_find_tc0 instead.

ld/testsuite/
* ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s,
ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd,
ld-powerpc/aix-toc-1-64.dd: New tests.
* ld-powerpc/aix52.exp: Run them.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:17:56 +0000 (09:17 +0000)]
bfd/
* libcoff-in.h (xcoff_section_tdata): Update commentary.
* libcoff.h: Regenerate.
* xcofflink.c (xcoff_link_add_symbols): Set the csect of XTY_ER
symbols to bfd_und_section_ptr or bfd_abs_section_ptr, rather than
the previous symbol's csect.  Treat last_symndx as an inclusive value
and simplify its handling.
(xcoff_mark): Treat last_symndx as an inclusive value.  Only mark
symbols with the right csect.  Don't mark rsec when processing
relocations against undefined or absolute sections.
(bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag
of bfd_und_section_ptr.
(xcoff_link_input_bfd): Likewise.

15 years agoinclude/coff/
Richard Sandiford [Sat, 14 Mar 2009 09:17:32 +0000 (09:17 +0000)]
include/coff/
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
(XCOFF_WAS_UNDEFINED): New flag.
(xcoff_link_hash_table): Add an "rtld" field.

bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
flag is set.  Assert that all undefined symbols are either
imported or defined by a dynamic object.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
handling to all relocations.  Only set XCOFF_CALLED for function
symbols.
(xcoff_find_function): New function, split out from...
(bfd_xcoff_export_symbol) ...here.
(xcoff_set_import_path): New function, split out from...
(bfd_xcoff_import_symbol): ...here.  Remove assertion for old
meaning of XCOFF_CALLED.
(xcoff_mark_symbol): If we mark an undefined and unimported
symbol, find some way of defining it.  If the symbol is a function
descriptor, fill in its definition automatically.  If the symbol
is a function, mark its descriptor and allocate room for global
linkage code.  Otherwise mark the symbol as implicitly imported.
Move the code for creating function descriptors from...
(xcoff_build_ldsyms): ...here.  Use XCOFF_WAS_UNDEFINED to
check for symbols that were implicitly defined.
(xcoff_mark): Don't count any dynamic relocations against
function symbols.
(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
in the xcoff link info.
(xcoff_link_input_bfd): Remove handling of undefined and
unexported symbols.

ld/
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
-berok and -bernotok control link_info.unresolved_syms_in_objects
and link_info.unresolved_syms_in_shared_libs instead of
force_make_executable.

ld/testsuite/
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
* ld-powerpc/aix52.exp: Run them.

15 years agogas/
Richard Sandiford [Sat, 14 Mar 2009 09:16:31 +0000 (09:16 +0000)]
gas/
* config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
"value" from fx_offset.  Manually resubtract md_pcrel_from_section
where necessary.

gas/testsuite/
* gas/ppc/xcoff-branch-1.s, gas/ppc/xcoff-branch-1-32.d,
gas/ppc/xcoff-branch-1-64.d: New tests.
* gas/ppc/aix.exp: Run them.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:16:01 +0000 (09:16 +0000)]
bfd/
* coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute
if the target is absolute.  Fix comment typo.
(xcoff_ppc_relocate_section): Remove FIXME.
* coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute
if the target is absolute.

ld/testsuite/
* ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex,
ld-powerpc/aix-abs-branch-1.s,
ld-powerpc/aix-abs-branch-1.dd: New test.
* ld-powerpc/aix52.exp: Run it.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:15:34 +0000 (09:15 +0000)]
bfd/
* xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy
R_POS and R_NEG relocations against absolute symbols to the
.loader section.

ld/testsuite/
* ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im,
ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test.
* ld-powerpc/aix52.exp: Run it.

15 years agold/
Richard Sandiford [Sat, 14 Mar 2009 09:15:12 +0000 (09:15 +0000)]
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
config.dynamic_link to TRUE.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:14:57 +0000 (09:14 +0000)]
bfd/
* coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
to 2 for bfd_mach_ppc_620.

15 years agold/
Richard Sandiford [Sat, 14 Mar 2009 09:14:30 +0000 (09:14 +0000)]
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
.text, .data and .bss output sections as SEC_KEEP.

ld/testsuite/
* ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex,
ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s,
ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd,
ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex,
ld-powerpc/aix-core-sec-3.hd: New tests.
* ld-powerpc/aix52.exp: New harness.

15 years agobfd/
Richard Sandiford [Sat, 14 Mar 2009 09:11:38 +0000 (09:11 +0000)]
bfd/
* config.bfd: Treat AIX 6+ in the same way as AIX 5.
* configure.in: Likewise.
* configure: Regenerate.

binutils/
* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
* configure.in: Likewise.
* configure: Regenerate.

gas/
* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
* configure.in: Likewise.
* configure: Regenerate.

ld/
* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.

15 years agold/testsuite/
Richard Sandiford [Sat, 14 Mar 2009 09:09:47 +0000 (09:09 +0000)]
ld/testsuite/
* lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter.
(run_ld_link_tests): Treat the second list element as "ar" options
when creating an archive.  Don't run the linker in this case.
(run_cc_link_tests): Likewise.

15 years ago * readsyms.cc (Read_symbols::incompatible_warning): New function.
Ian Lance Taylor [Sat, 14 Mar 2009 05:56:46 +0000 (05:56 +0000)]
* readsyms.cc (Read_symbols::incompatible_warning): New function.
(Read_symbols::requeue): New function.
(Read_symbols::do_read_symbols): If make_elf_object fails because
the target type is not configured, and the file was searched for,
issue a warning and retry with the next directory.
(Add_symbols::run): If the file has an incompatible format, and
it was searched for, requeue the Read_symbols task.  On error,
release the object.
* readsyms.h (class Read_symbols): Add dirindex_ field.  Add
dirindex parameter to constructor.  Change all callers.  Declare
incompatible_warning and requeue.
(class Add_symbols): Add dirpath_, dirindex_, mapfile_,
input_argument_ and input_group_ fields.  Add them to
constructor.  Change all callers.
(class Read_script): Add dirindex_ field.  Add it to constructor.
Change all callers.
* archive.cc (Archive::setup): Remove input_objects parameter.
Change all callers.
(Archive::get_file_and_offset): Likewise.
(Archive::read_all_symbols): Likewise.
(Archive::read_symbols): Likewise.
(Archive::get_elf_object_for_member): Remove input_objects
parameter.  Add punconfigured parameter.  Change all callers.
(Archive::add_symbols): Change return type to bool.  Check return
value of include_member.
(Archive::include_all_members): Likewise.
(Archive::include_member): Change return type to bool.  Return
false if first included object has incompatible target.  Set
included_member_ field.
(Add_archive_symbols::run): If add_symbols returns false, requeue
Read_symbols task.
* archive.h (class Archive): Add included_member_ field.
Initialize it in constructor.  Add input_file and searched_for
methods.  Update declarations.
(class Add_archive_symbols): Add dirpath_, dirindex_, and
input_argument_ fields.  Add them to constructor.  Change all
callers.
* script.cc: Include "target-select.h".
(class Parser_closure): Add skip_on_incompatible_target_ and
found_incompatible_target_ fields.  Add
skip_on_incompatible_target parameter to constructor.  Change all
callers.  Add methods skip_on_incompatible_target,
clear_skip_on_incompatible_target, found_incompatible_target, and
set_found_incompatible_target.
(read_input_script): Add dirindex parameter.  Change all callers.
If parser finds an incompatible target, requeue Read_symbols
task.
(script_set_symbol): Clear skip_on_incompatible_target in
closure.
(script_add_assertion, script_parse_option): Likewise.
(script_start_sections, script_add_phdr): Likewise.
(script_check_output_format): New function.
* script.h (read_input_script): Update declaration.
* script-c.h (script_check_output_format): Declare.
* yyscript.y (file_cmd): Handle OUTPUT_FORMAT.
(ignore_cmd): Remove OUTPUT_FORMAT.
* fileread.cc (Input_file::Input_file): Add explicit this.
(Input_file::will_search_for): New function.
(Input_file::open): Add pindex parameter.  Change all callers.
* fileread.h (class Input_file): Add input_file_argument method.
Declare will_search_for.  Update declarations.
* object.cc (make_elf_object): Add punconfigured parameter.
Change all callers.
* object.h (class Object): Make input_file public.  Add
searched_for method.
(make_elf_object): Update declaration.
* dirsearch.cc (Dirsearch::find): Add pindex parameter.  Use it to
restart search.
* dirsearch.h (class Dirsearch): Update declaration.
* options.h (class General_options): Add --warn-search-mismatch.
* parameters.cc (Parameters::is_compatible_target): New function.
* parameters.h (class Parameters): Declare is_compatible_target.
* workqueue.cc (Workqueue::add_blocker): New function.
* workqueue.h (class Workqueue): Declare add_blocker.

15 years agoinclude/ChangeLog
Dave Korn [Sat, 14 Mar 2009 03:30:26 +0000 (03:30 +0000)]
include/ChangeLog
2009-03-12  Dave Korn  <dave.korn.cygwin@gmail.com>

* coff/internal.h (struct internal_extra_pe_aouthdr):  Correct type
of DllCharacteristics flags field to unsigned.
* coff/pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
IMAGE_DLLCHARACTERISTICS_NO_SEH,
IMAGE_DLLCHARACTERISTICS_NO_BIND,
IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE):  New macros to
define flag bit values for DllCharacteristics field of PEAOUTHDR,
PEPAOUTHDR.

ld/ChangeLog
2009-03-12  Dave Korn  <dave.korn.cygwin@gmail.com>
            Danny Smith  <dannysmith@users.sourceforge.net>

* emultmpl/pe.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flag bits.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* emultmpl/pep.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flags.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
no-isolation, no-seh, no-bind, wdmdriver, tsaware options.

15 years agodaily update
Alan Modra [Sat, 14 Mar 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * fileread.cc (Input_file::open): Remove options parameter.
Ian Lance Taylor [Fri, 13 Mar 2009 21:30:06 +0000 (21:30 +0000)]
* fileread.cc (Input_file::open): Remove options parameter.
Change all callers.
(Input_file::open_binary): Likewise.
* script.cc (read_input_script): Likewise.
* readsyms.h (class Read_symbols): Remove options_ field.  Remove
options parameter from constructor.  Change all callers.
(class Read_script): Likewise.
* fileread.h (class Input_file): Update declarations.
* script.h (read_input_script): Update declaration.

15 years agobfd/
H.J. Lu [Fri, 13 Mar 2009 13:39:57 +0000 (13:39 +0000)]
bfd/

2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9945
* elf.c (assign_section_numbers): Generate symbol table if there
is any relocation in output.
(_bfd_elf_compute_section_file_positions): Likewise.

binutils/

2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9945
* objcopy.c (copy_object): Clear HAS_RELOC when stripping all.

15 years ago PR 9934
Nick Clifton [Fri, 13 Mar 2009 11:34:43 +0000 (11:34 +0000)]
    PR 9934
        * elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section.
        * elflink.c (elf_link_read_relocs_from_section): Use
        NUM_SHDR_ENTRIES.  Gracefully handle the case where there are
        relocs but no symbol table.
        * elf32-arm.c (elf32_arm_check_relocs): Likewise.

15 years ago * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
Nick Clifton [Fri, 13 Mar 2009 09:00:59 +0000 (09:00 +0000)]
    * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
        Replace call to verbose_eval with a test of verbose level.  If
        greater than 2 always dump the contents of the dumpfile.  If equal
        to 2 only dump the contents if the regexp diff failed.
        (proc verbose_eval): Delete.

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

15 years ago2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Mar 2009 17:13:41 +0000 (17:13 +0000)]
2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9938
* elf32-i386.c (elf_i386_check_tls_transition): Use strncmp
to check ___tls_get_addr.

* elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use
strncmp to check __tls_get_addr.

15 years ago2009-03-12 Andrew Stubbs <ams@codesourcery.com>
Andrew Stubbs [Thu, 12 Mar 2009 10:57:18 +0000 (10:57 +0000)]
2009-03-12  Andrew Stubbs  <ams@codesourcery.com>

* dwarf2.c (read_section): Always check the offset, even when the
section has been read before.

15 years agodaily update
Alan Modra [Thu, 12 Mar 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * binutils-all/objdump.W, binutils-all/objdump.s: Don't match
Joseph Myers [Wed, 11 Mar 2009 22:49:54 +0000 (22:49 +0000)]
* binutils-all/objdump.W, binutils-all/objdump.s: Don't match
literal "tmpdir/" in expected output.

15 years ago2009-03-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 11 Mar 2009 16:42:23 +0000 (16:42 +0000)]
2009-03-11  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in
comments.

15 years ago[bfd/ChangeLog]
Chris Demetriou [Wed, 11 Mar 2009 04:36:40 +0000 (04:36 +0000)]
[bfd/ChangeLog]
2009-03-11  Chris Demetriou  <cgd@google.com>

* bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag.
* bfd-in2.h: Regenerate.
* archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT
flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file
mode.
(bsd_write_armap): Likewise.
(_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT
flag is set, do nothing.
(coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0
for timestamp.

[binutils/ChangeLog]
2009-03-11  Chris Demetriou  <cgd@google.com>

* ar.c (deterministic): New global variable.
(main): Recognize new 'D' option, which enables 'deterministic mode'.
(usage): Document new 'D' option.
(write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
flags if deterministic mode was requested.
* doc/binutils.texi (ar): Document deterministic mode ('D' option).

[binutils/testsuite/ChangeLog]
2009-03-11  Chris Demetriou  <cgd@google.com>

* binutils-all/ar.exp (deterministic_archive): New test.

15 years ago * config/tc-cris.c (cris_create_short_jump): Remove prototype.
Hans-Peter Nilsson [Wed, 11 Mar 2009 03:22:44 +0000 (03:22 +0000)]
* config/tc-cris.c (cris_create_short_jump): Remove prototype.
Rename, changing all callers, to...
(md_create_short_jump): Adjust head comment.  Assert
word-sized-branch distance for v32.  Bail out calling as_fatal for
compatibility mode here.
(md_create_long_jump): ...not here.
* config/tc-cris.h (md_create_short_jump): Do not define.

15 years ago * gas/cris/rd-bkw5.d, gas/cris/rd-bkw5.s, gas/cris/rd-bkw5b.d,
Hans-Peter Nilsson [Wed, 11 Mar 2009 03:17:32 +0000 (03:17 +0000)]
* gas/cris/rd-bkw5.d, gas/cris/rd-bkw5.s, gas/cris/rd-bkw5b.d,
gas/cris/rd-bkw5bpic.d, gas/cris/rd-bkw5bv32.d,
gas/cris/rd-bkw5bv32pic.d, gas/cris/rd-bkw5pic.d,
gas/cris/rd-bkw5v32.d, gas/cris/rd-bkw5v32pic.d: New tests.

15 years ago * elf32-spu.c (find_function_stack_adjust): Handle sf instruction
Ulrich Weigand [Wed, 11 Mar 2009 00:18:02 +0000 (00:18 +0000)]
* elf32-spu.c (find_function_stack_adjust): Handle sf instruction
used to update stack pointer.

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

15 years ago * gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s:
Hans-Peter Nilsson [Tue, 10 Mar 2009 14:40:36 +0000 (14:40 +0000)]
* gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s:
New test.

15 years ago * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
Hans-Peter Nilsson [Tue, 10 Mar 2009 14:38:03 +0000 (14:38 +0000)]
* write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
the jump table for multiple overflowing entries with the same
target, handle base symbols being different.
(relax_segment) <case rs_broken_word, second loop>: Whenever a
single entry overflows, arrange to redirect all entries with the
same target.

15 years agoAdd Spanish translation to gold.
Nick Clifton [Tue, 10 Mar 2009 09:21:01 +0000 (09:21 +0000)]
Add Spanish translation to gold.
Update Indonesian translation for opcodes.

15 years agoinclude/opcode/
Alan Modra [Tue, 10 Mar 2009 06:53:46 +0000 (06:53 +0000)]
include/opcode/
* ppc.h (ppc_parse_cpu): Declare.
opcodes/
* ppc-dis.c: Include "opintl.h".
(struct ppc_mopt, ppc_opts): New.
(ppc_parse_cpu): New function.
(powerpc_init_dialect): Use it.
(print_ppc_disassembler_options): Dump options from ppc_opts.
Internationalize message.
gas/
* config/tc-ppc.c (parse_cpu): Delete.
(md_parse_option, ppc_machine): Use ppc_parse_cpu.
gas/testsuite/
* gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec.
* gas/ppc/common.d: Adjust for -Mcom not including -Mppc.

15 years agobinutils/
H.J. Lu [Tue, 10 Mar 2009 00:48:10 +0000 (00:48 +0000)]
binutils/

2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9933
* objcopy.c (filter_symbols): Properly handle common symbols
in relocatable file.

binutils/testsuite/

2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9933
* binutils-all/copy-4.d: New.

* binutils-all/objcopy.exp: Run copy-4.

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

15 years agofile arcompact-dis.c was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file arcompact-dis.c was initially added on branch arc-insight_6_8-branch.

15 years agofile arc-opinst.c was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file arc-opinst.c was initially added on branch arc-insight_6_8-branch.

15 years agofile arc-opc.h was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file arc-opc.h was initially added on branch arc-insight_6_8-branch.

15 years agofile arc-ibld.c was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file arc-ibld.c was initially added on branch arc-insight_6_8-branch.

15 years agofile arc-desc.h was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file arc-desc.h was initially added on branch arc-insight_6_8-branch.

15 years agofile arc-desc.c was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file arc-desc.c was initially added on branch arc-insight_6_8-branch.

15 years agofile arc-asm.c was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file arc-asm.c was initially added on branch arc-insight_6_8-branch.

15 years agofile ChangeLog.codito was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:42 +0000 (21:07 +0000)]
file ChangeLog.codito was initially added on branch arc-insight_6_8-branch.

15 years agofile MANIFEST was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 21:07:39 +0000 (21:07 +0000)]
file MANIFEST was initially added on branch arc-insight_6_8-branch.

15 years agofile arc.h was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 20:36:11 +0000 (20:36 +0000)]
file arc.h was initially added on branch arc-insight_6_8-branch.

15 years agofile sh-sim.cpu was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 20:36:06 +0000 (20:36 +0000)]
file sh-sim.cpu was initially added on branch arc-insight_6_8-branch.

15 years agofile arc.opc was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 20:36:06 +0000 (20:36 +0000)]
file arc.opc was initially added on branch arc-insight_6_8-branch.

15 years agofile arc.cpu was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 20:36:06 +0000 (20:36 +0000)]
file arc.cpu was initially added on branch arc-insight_6_8-branch.

15 years agofile ARCompact.cpu was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Mon, 9 Mar 2009 20:36:06 +0000 (20:36 +0000)]
file ARCompact.cpu was initially added on branch arc-insight_6_8-branch.

15 years ago2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 9 Mar 2009 18:33:42 +0000 (18:33 +0000)]
2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/9915
* config/tc-i386.h (LOCAL_LABELS_DOLLAR): New.  Defined as 0.
(LOCAL_LABELS_FB): Undefine befoe define.

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

15 years agodaily update
Alan Modra [Sun, 8 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * ld-elf/empty2.d: Remove xfail for hppa*-*-*.
Dave Anglin [Sat, 7 Mar 2009 23:42:28 +0000 (23:42 +0000)]
* ld-elf/empty2.d: Remove xfail for hppa*-*-*.
* ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.

15 years ago PR binutils/9921
Dave Anglin [Sat, 7 Mar 2009 23:38:13 +0000 (23:38 +0000)]
PR binutils/9921
* som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE
for unknown symbols in absolute section.

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

15 years ago * options.cc (parse_short_option): Keep dash_z from registering itself.
Cary Coutant [Fri, 6 Mar 2009 23:12:37 +0000 (23:12 +0000)]
* options.cc (parse_short_option): Keep dash_z from registering itself.

15 years agoUpdated Spanish translations.
Nick Clifton [Fri, 6 Mar 2009 12:14:40 +0000 (12:14 +0000)]
Updated Spanish translations.

15 years ago09-03-05 Christophe Lyon <christophe.lyon@st.com>
Christophe Lyon [Fri, 6 Mar 2009 08:57:58 +0000 (08:57 +0000)]
09-03-05  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (group_sections): Take next section size into
account before accepting to group it.

testsuite/
* ld-arm/arm-elf.exp: Add new farcall-group-limit test.
* ld-arm/farcall-group-limit.d: New file.
* ld-arm/farcall-group3.s: New file.
* ld-arm/farcall-group4.s: New file.

15 years agodaily update
Alan Modra [Fri, 6 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago2009-03-05 Christophe Lyon <christophe.lyon@st.com>
Christophe Lyon [Thu, 5 Mar 2009 17:28:21 +0000 (17:28 +0000)]
2009-03-05  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (arm_type_of_stub): Handle long branches targetting
PLT entries.
(elf32_arm_final_link_relocate): Likewise.

testsuite/
* ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
in PLT context.
* ld-arm/farcall-mixed-app-v5.d: New file.
* ld-arm/farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-app.r: Likewise.
* ld-arm/farcall-mixed-app.s: Likewise.
* ld-arm/farcall-mixed-app.sym: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.
* ld-arm/farcall-mixed-lib.r: Likewise.

15 years ago * objdump.c (disassemble_section): If the computed next offset is
Nick Clifton [Thu, 5 Mar 2009 16:31:50 +0000 (16:31 +0000)]
    * objdump.c (disassemble_section): If the computed next offset is
        not beyond the current offset then just continue to the end.

15 years agogas:
Joseph Myers [Thu, 5 Mar 2009 15:27:59 +0000 (15:27 +0000)]
gas:
* read.c (s_fill, s_space, s_float_space, float_cons, stringer,
s_incbin): Call md_cons_align (1).

gas/testsuite:
* gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New.

15 years ago PR 9923
Alan Modra [Thu, 5 Mar 2009 01:04:56 +0000 (01:04 +0000)]
PR 9923
* peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.

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

15 years ago * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
Nick Clifton [Wed, 4 Mar 2009 16:15:43 +0000 (16:15 +0000)]
    * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
        based targets.
        (s_alpha_comm): Only define "temp" and "log_align" local variables
        for EVAX targets.