aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-21daily updateAlan Modra1-1/+1
2010-11-21Add and use elfcomm.c/elfcomm.h.H.J. Lu10-1212/+902
2010-11-21 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12235 * elfcomm.c: New. * elfcomm.h: Likewise. * Makefile.am (HFILES): Add elfcomm.h. (CFILES): Add elfcomm.c. (ELFLIBS): New. (readelf_SOURCES): Add $(ELFLIBS). (elfedit_SOURCES): Likewise. (objdump_SOURCES): Likewise. * Makefile.in: Regenerated. * dwarf.c: Include "elfcomm.h". (byte_get): Removed. (byte_get_little_endian): Likewise. (byte_get_big_endian): Likewise. (byte_get_signed): Likewise. (error): Likewise. (warn): Likewise. * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT. (dwarf_size_type): Likewise. (byte_get): Removed. (byte_get_signed): Likewise. (byte_get_little_endian): Likewise. (byte_get_big_endian): Likewise. (error): Likewise. (warn): Likewise. * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h". Call error () instead of non_fatal (). (streq): Removed. (strneq): Likewise. (const_strneq): Likewise. (non_fatal): Likewise. (BYTE_GET): Likewise. (BYTE_PUT): Likewise. (byte_get): Likewise. (byte_put): Likewise. (byte_get_little_endian): Likewise. (byte_get_big_endian): Likewise. (byte_put_little_endian): Likewise. (byte_put_big_endian): Likewise. (adjust_relative_path): Likewise. (archive_info): Likewise. (setup_archive): Likewise. (release_archive): Likewise. (setup_nested_archive): Likewise. (get_archive_member_name): Likewise. (get_archive_member_name_at): Likewise. (make_qualified_name): Likewise. * objdump.c: Include "elfcomm.h". * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h". (BYTE_GET): Removed. (BYTE_GET_SIGNED): Removed. (streq): Likewise. (strneq): Likewise. (const_strneq): Likewise. (byte_put): Likewise. (byte_put_little_endian): Likewise. (byte_put_big_endian): Likewise. (adjust_relative_path): Likewise. (archive_info): Likewise. (setup_archive): Likewise. (release_archive): Likewise. (setup_nested_archive): Likewise. (get_archive_member_name): Likewise. (get_archive_member_name_at): Likewise. (make_qualified_name): Likewise.
2010-11-21Re-indent plugin code.H.J. Lu5-119/+129
2010-11-21 H.J. Lu <hongjiu.lu@intel.com> * ldfile.c: Re-indent plugin code. * ldlang.c: Likewise. * ldmain.c: Likewise. * plugin.c: Likewise.
2010-11-21merge from gccDJ Delorie5-39/+15
2010-11-21 * configure.ac: Only disable a language library if no language needsIan Lance Taylor4-6/+52
it. Don't let --disable-libgcj uncondtionally disable libffi. * configure: Rebuild. Also moved ChangeLog entry to correct file.
2010-11-21*** empty log message ***gdbadmin1-1/+1
2010-11-20daily updateAlan Modra1-1/+1
2010-11-20sync toplevel with gccPaolo Bonzini4-8/+28
2010-11-20PR other/46202: implement install-strip.Ralf Wildenhues10-4/+1674
/: PR other/46202 * configure.ac: Fix just-built in-tree STRIP name to be binutils/strip-new. * configure: Regenerate. * Makefile.def (install-strip-gcc, install-strip-binutils) (install-strip-opcodes, install-strip-ld, install-strip-itcl) (install-strip-sid): Mirror dependencies on non-strip variants of these targets on the respective -strip prerequisites. * Makefile.tpl (install-strip, install-strip-host) (install-strip-target): New targets. (install-strip-[+module+], install-strip-target-[+module+]): New targets. * Makefile.in: Regenerate. etc/: * Makefile.in (install-strip): New target. libiberty/: PR other/46202 * Makefile.in (install-strip): New phony target. (install): Also mark as phony.
2010-11-20Set alignment of common plugin symbol to 1 for For ELF targets.H.J. Lu2-0/+9
2010-11-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/12246 * plugin.c (asymbol_from_plugin_symbol): Set alignment of common symbol to 1 for For ELF targets.
2010-11-20Properly report loading plugin error.H.J. Lu2-1/+7
2010-11-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/12247 * lexsup.c (parse_args): Properly report loading plugin error.
2010-11-20binutils/testsuite/Richard Sandiford13-420/+192
* lib/binutils-common.exp (regexp_diff): New procedure. * lib/utils-lib.exp (regexp_diff): Delete. gas/testsuite/ * lib/gas-defs.exp (regexp_diff): Delete. (run_dump_test): Remove final "" argument in call to regexp_diff. (run_list_test): Likewise. (run_list_test_stdin): Likewise. * gas/all/gas.exp (test_cond): Likewise. * gas/elf/elf.exp (run_elf_list_test): Likewise. * gas/m68k/all.exp: Likewise. * gas/mep/complex-relocs.exp (regexp_test): Likewise. * gas/mt/relocs.exp (regexp_test): Likewise. * gas/symver/symver.exp (run_error_test): Likewise. ld/testsuite/ * lib/ld-lib.exp (regexp_diff, simple_diff): Delete.
2010-11-20binutils/testsuite/Richard Sandiford7-296/+190
* lib/binutils-common.exp: New file. * lib/utils-lib.exp (load_common_lib): New function. Load binutils-common.exp. (is_elf_format): Delete. gas/testsuite/ * lib/gas-defs.exp (load_common_lib): New function. Load binutils-common.exp. (is_elf_format, is_aout_format, is_pecoff_format): Delete. ld/testsuite/ * lib/ld-lib.exp (load_common_lib): New function. Load binutils-common.exp. (is_elf_format, is_elf64, is_aout_format, is_pecoff_format): Delete.
2010-11-20gdb/testsuite/Jan Kratochvil3-0/+125
* gdb.dwarf2/dw2-stack-boundary.exp: New file. * gdb.dwarf2/dw2-stack-boundary.S: New file.
2010-11-20gdb/testsuite/Jan Kratochvil3-0/+104
* gdb.dwarf2/dw2-ada-ffffffff.S: New file. * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2010-11-20*** empty log message ***gdbadmin1-1/+1
2010-11-19 * data-directory/Makefile.in (SYSCALLS_INSTALL_DIR):Keith Seitz2-2/+8
Remove extraneous '/' after $(DESTDIR). (PYTHON_INSTALL_DIR): Likewise.
2010-11-19daily updateAlan Modra1-1/+1
2010-11-19gdb/Jan Kratochvil2-2/+14
Fix stale memory references. * elfread.c (elf_symfile_read): Replace xmalloc by bfd_alloc, drop xfree, new comment.
2010-11-19Merge from gcc top-level.Ian Lance Taylor11-147/+1990
./: * configure.ac: Add target-libgo to target_libraries. Set and substitute GOC_FOR_BUILD and GOC_FOR_TARGET. * Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS. (HOST_EXPORTS): Add GOC. (BASE_TARGET_EXPORTS): Add GOC. (GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables. (GOCFLAGS_FOR_TARGET): New variable. (EXTRA_HOST_FLAGS): Add GOC. (EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS. * Makefile.def (target_modules): Add libgo. (flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET. (dependencies): Add dependency from configure-target-libgo to configure-target-libffi and all-target-libstdc++-v3. Add dependencies from all-target-libgo to all-target-libffi. (languages): Add go. * configure: Rebuild. * Makefile.in: Rebuild. * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other compiler/flag environment variables. * configure.ac: Check for lang_requires_boot_languages in config-lang.in files. * configure: Rebuild. PR fortran/32049 * Makefile.def: Add libquadmath; build it with language=fortran. * configure.ac: Add libquadmath. * Makefile.tpl: Handle multiple libs in check-[+language+]. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Fix spelling in option names. * configure: Regenerated. PR bootstrap/39622 * configure.ac (FLAGS_FOR_TARGET): Add include-fixed path. * configure: Regenerated. * config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to define the cloog backend to use. Furthermore, only pass the ppllibs to the configure checks, if necessary. * configure: Regenerate. * config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL. * configure: regenerate * config/cloog.m4: Fix typo. verison -> version. * configure: Regenerate. * config/cloog.m4: Pass ppl libraries to the CLooG version check. * configure: Regenerate. * configure.ac: Support official CLooG.org versions. * configure: Regenerate. * config/cloog.m4: New. * configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants. * configure: Regenerate. config/: * cloog.m4 (CLOOG_INIT_FLAGS): Fix spelling in option names. * bootstrap-lto: Use -flto. * mh-darwin: Renamed from mh-ppc-darwin.
2010-11-192010-11-19 Jan Kratochvil <jan.kratochvil@redhat.com>Tom Tromey2-12/+14
Tom Tromey <tromey@redhat.com> * Makefile.in (.y.c): Directly create $@ from YLWRAP. (.PHONY): Remove for .y outputs.
2010-11-192010-11-19 Will Drewry <wad@google.com>Tom Tromey2-2/+25
Tavis Ormandy <taviso@google.com> Jan Kratochvil <jan.kratochvil@redhat.com> * dwarf2read.c (decode_locdesc): Enforce location description stack boundaries.
2010-11-19 * plugin.c (is_visible_from_outside): New function.Dave Korn2-8/+59
(get_symbols): Use it.
2010-11-19 PR 2606Alan Modra3-0/+16
* configure.in: Disable emulations for PE targets. * configure: Regenerate.
2010-11-19*** empty log message ***gdbadmin1-1/+1
2010-11-182010-11-18 Doug Kwan <dougkwan@google.com>Doug Kwan2-5/+13
* expression.cc (BINARY_EXPRESSION): Initialize left_alignment and right_alignment to be zero. Store result alignment only if it is greater than existing alignment.
2010-11-18daily updateAlan Modra1-1/+1
2010-11-18 * gdb.server/ext-run.exp: Fix intermittent failures.Doug Evans2-1/+20
2010-11-18 * arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP"Pierre Muller2-1/+6
instruction is found.
2010-11-18 PR gas/12181Rainer Orth2-0/+13
* config/obj-elf.c (elf_adjust_symtab) [TE_SOLARIS]: Make sy weak hidden.
2010-11-18 PR binutils/11742Alan Modra2-13/+34
* readelf.c (get_archive_member_name): Formatting. Properly handle full size ar_name.
2010-11-18 * ld-elf/binutils.exp: Correct x86 gnu target match.Alan Modra8-68/+77
* ld-i386/i386.exp: Likewise. * ld-ifunc/binutils.exp: Likewise. * ld-ifunc/ifunc.exp: Likewise. * ld-discard/discard.exp: Remove unnecessary line continuations. * ld-elfvers/vers.exp: Likewise. Simplify linuxaout and linuxoldld test. * ld-elfweak/elfweak.exp: Likewise.
2010-11-18*** empty log message ***gdbadmin1-1/+1
2010-11-17daily updateAlan Modra1-1/+1
2010-11-17 * value.c (value_entirely_optimized_out): Check theTom Tromey2-1/+6
'check_any_valid' field.
2010-11-17start a gitignoreMike Frysinger2-0/+44
2010-11-172010-11-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-19/+26
* vms-lib.c (vms_write_index): Add comments. Partially revert previous patch. Free blocks later.
2010-11-17 * input-file.c (input_file_open): Check for empty input files.Nick Clifton2-2/+27
(input_file_get): Check for end of file before reading any more data. (input_file_give_next_buffer): Likewise.
2010-11-17 PR ld/12161Nick Clifton2-43/+6
* elf32-avr.c (elf32_avr_check_relocs): Delete. (elf_backend_check_relocs): Delete.
2010-11-17oops - acccidentally omitted from loongson 3a check-in.Nick Clifton1-0/+2
2010-11-17 * ar.c (print_contents): Don't internationalize strings without words.Alan Modra6-44/+54
* dwarf.c (process_extended_line_op): Likewise. (process_debug_info): Likwise. (display_debug_lines_raw): Likewise. (display_debug_lines_decoded): Likewise. (display_debug_abbrev): Likewise. * readelf.c (process_file_header): Likewise. (GET_OP): Likewise. (decode_arm_unwind): Likewise. (process_mips_specific): Likewise. * resrc.c (run_cmd): Likewise. (rcparse_warning): Likewise. * objdump.c (dump_headers): Don't print "Pg".
2010-11-17merge from gccDJ Delorie8-45/+105
2010-11-17 * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):Cary Coutant2-10/+19
Check for ".zdebug_line".
2010-11-17*** empty log message ***gdbadmin1-1/+1
2010-11-16* ld/testsuite/ld-gc/pr11218-2.c: DeclareAndreas Schwab2-0/+6
unresolved_detected_at_runtime_not_at_linktime.
2010-11-16 * ld-plugin/plugin.exp: Define printf and puts as main.Alan Modra2-1/+5
2010-11-16daily updateAlan Modra1-1/+1
2010-11-16gdb/Jan Kratochvil3-38/+42
* ada-lang.c (modify_general_field): Remove. (make_array_descriptor): Replace all modify_general_field calls by modify_field. * value.c (modify_field): Update comment. New variable bytesize. Normalize BITPOS. Initialize BYTESIZE, use it.
2010-11-16gdb/Jan Kratochvil2-1/+9
* dwarf2read.c (dw2_forget_cached_source_info): Clear the FULL_NAMES elements after xfree.
2010-11-16 * output.h (Output_segment::set_section_addresses): Pass increase_relroCary Coutant4-5/+32
by reference; adjust all callers. * output.cc (Output_segment::set_section_addresses): Adjust references to increase_relro. Add padding to *increase_relro when ORDER_RELRO_LAST list is empty. (Output_segment::set_offset): Assert if PT_GNU_RELRO segment does not end at page boundary.