Commit Graph

54389 Commits

Author SHA1 Message Date
Alan Modra a9a4c53ecc include/
* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
bfd/
	* simple.c (bfd_simple_get_relocated_section_content): Init
	input_bfds_tail.
ld/
	* ldlang.c (ldlang_add_file): Use input_bfds_tail.
	* ldmain.c (main): Init input_bfds_tail.  Sort link_info
	initialization.
2007-05-31 15:04:52 +00:00
Paul Brook 91568d083a 2007-05-31 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (insns): Allow strex on M profile cores.
2007-05-31 14:50:16 +00:00
Paolo Bonzini 7ad9660b3c 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
* ltgcc.m4: Update from GCC.
2007-05-31 06:40:36 +00:00
Alan Modra 8fd3aac734 daily update 2007-05-31 00:00:05 +00:00
gdbadmin 47488002ee *** empty log message *** 2007-05-31 00:00:03 +00:00
Alan Modra 42bb2e3317 bfd/
* elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections
	created by objcopy --only-keep-debug.
	(_bfd_elf_init_private_section_data): Only change elf_section_type
	if it is SHT_NULL.
binutils/
	* objcopy.c (copy_object): Revert 2007-05-11 change.  Don't
	avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
	(setup_section): Don't modify flags, and don't avoid calling
	bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
	* readelf.c (process_program_headers): Ignore .dynamic of type
	SHT_NOBITS.
2007-05-30 14:29:27 +00:00
Alan Modra 02bf8d82b5 * elf.c (assign_file_positions_for_load_sections): Correct sh_type
to SHT_NOBITS earlier.  Base actions in rest of function on sh_type
	and sh_flags instead of bfd section flags.  Delete voff and code
	keeping nobits segments aligned.
2007-05-30 13:38:50 +00:00
Alan Modra 4e57dfd62a daily update 2007-05-30 00:00:06 +00:00
gdbadmin 5075c9a243 *** empty log message *** 2007-05-30 00:00:02 +00:00
Jim Blandy bf06d120ca * gdb.texinfo (Overview): Doc fix. 2007-05-29 22:04:47 +00:00
Jakub Jelinek c699f08779 gas/
2007-05-29  David S. Miller  <davem@davemloft.net>
	    Jakub Jelinek  <jakub@redhat.com>

	PR gas/4558
	* config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
	for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.

gas/testsuite/
2007-05-29  Jakub Jelinek  <jakub@redhat.com>

	PR gas/4558
	* gas/sparc/sparc.exp: Add v9branch{1,2,3,4,5} tests.
	* gas/sparc/v9branch1.d: New test.
	* gas/sparc/v9branch1.s: New.
	* gas/sparc/v9branch2.d: New test.
	* gas/sparc/v9branch2.s: New.
	* gas/sparc/v9branch3.d: New test.
	* gas/sparc/v9branch3.s: New.
	* gas/sparc/v9branch4.d: New test.
	* gas/sparc/v9branch4.s: New.
	* gas/sparc/v9branch5.d: New test.
	* gas/sparc/v9branch5.s: New.
2007-05-29 13:18:59 +00:00
Alan Modra 3ba20bde7e binutils/
* embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
	pic or pie and image needs relocs.
ld/
	* emultempl/spuelf.em (base_name): New function, split out from..
	(embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
	invocation if we deduce a shared lib or position independent
	executable build by looking at ctrbegin* linker input files.
2007-05-29 13:10:10 +00:00
Alan Modra a7e4b3fed3 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
types and sizes.
	* emultempl/spu_ovl.o: Regenerate.
2007-05-29 12:54:29 +00:00
Alan Modra 945370aa44 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros. 2007-05-29 02:10:09 +00:00
Alan Modra 98027b1061 * config/tc-ppc.c: Convert to ISO C.
* config/tc-ppc.c: Likewise.
2007-05-29 01:57:08 +00:00
Alan Modra a32b816ed5 * write.h (EXEC_MACHINE_TYPE): Delete.
(string_byte_count, section_alignment): Delete.
2007-05-29 01:10:02 +00:00
Alan Modra 846a3c3a49 daily update 2007-05-29 00:00:06 +00:00
gdbadmin 0414014770 *** empty log message *** 2007-05-29 00:00:02 +00:00
Nathan Sidwell 1740b7b1d5 * app.c (do_scrub_chars): Cope with \ at end of buffer.x 2007-05-28 19:32:58 +00:00
Joel Brobecker 8905984da1 * solib-aix5.c: Delete.
* Makefile.in (solib-aix5.o): Delete rule.
2007-05-28 16:55:30 +00:00
Paolo Bonzini 9bf28f0fda 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
* confsubdir.m4: Move here from newlib.
2007-05-28 06:35:11 +00:00
gdbadmin 965d9473aa *** empty log message *** 2007-05-28 00:00:32 +00:00
Alan Modra e92a48353d daily update 2007-05-28 00:00:05 +00:00
gdbadmin 8d36d72d68 *** empty log message *** 2007-05-27 00:00:33 +00:00
Alan Modra afa923e792 daily update 2007-05-27 00:00:05 +00:00
Alan Modra a1867a27d0 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
top 32 bits of 64 bit value if so doing results in passing
	range check.  Rewrite sign extension fudges similarly.  Enable
	fudges for powerpc64 too.  Report user value if range check
	fails rather than fudged value.  Negate PPC_OPERAND_NEGATIVE
	range rather than value, also to report user value on failure.
2007-05-26 14:49:39 +00:00
gdbadmin 602af7ef9e *** empty log message *** 2007-05-26 00:00:08 +00:00
Alan Modra be69418222 daily update 2007-05-26 00:00:07 +00:00
Paul Brook efd81785d9 2007-03-25 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (T2_SUBS_PC_LR): Define.
	(do_t_add_sub): Correctly encode subs pc, lr, #const.
	(do_t_mov_cmp): Correctly encode movs pc, lr.

	gas/testsulte/
	* gas/arm/thumb32.s: Add tests for subs pc, lr.
	* gas/arm/thumb32.d: Change error-output: to stderr:.
	Update expected output.
2007-05-25 23:13:24 +00:00
Eric Christopher 4e591bc17f 2007-05-25 Eric Christopher <echristo@apple.com>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame):
        Check that sym_sec isn't NULL before accessing.
2007-05-25 23:06:11 +00:00
Eric Christopher 0e7ef45cfb 2007-05-25 Andreas Tobler <a.tobler@schweiz.org>
* ltmain.sh: Fix Darwin verstring, remove ${wl}.
2007-05-25 19:56:24 +00:00
Alan Modra 53d33df97a daily update 2007-05-25 00:00:05 +00:00
gdbadmin 579c0b48f6 *** empty log message *** 2007-05-25 00:00:03 +00:00
Steve Ellcey d7040cdb28 * regenerated files from updating libtool. 2007-05-24 18:12:51 +00:00
Steve Ellcey 37ad95141b * ltmain.sh: Update from GCC.
* libtool.m4: Update from GCC.
	* ltsugar.m4: New. Update from GCC.
	* ltversion.m4: New. Update from GCC.
	* ltoptions.m4: New. Update from GCC.
	* ltconfig: Remove.
	* ltcf-c.sh: Remove.
	* ltcf-cxx.sh: Remove.
	* ltcf-gcj.sh: Remove.
	* src-release: Update with new libtool file list.
	* newlib/*/configure.in: invoke _LD_DECL_SED.
	* newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
	* Regenerate subdirectories
2007-05-24 17:33:42 +00:00
H.J. Lu 50b4b126b1 2007-05-24 H.J. Lu <hongjiu.lu@intel.com>
* gprof.texi: Remove orphaned "@end ignore".
2007-05-24 16:31:57 +00:00
Nick Clifton fc108f8fea * rcparse.y: Join strings for elements having no side-effects in "rc"-grammar.
* testsuite/binutils-all/windres/version_cat.rc: New.
* testsuite/binutils-all/windres/version_cat.rsd: New.
2007-05-24 11:01:07 +00:00
Nathan Sidwell 8545d1a9dd * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
contain commas in EXP env.
	* ldgram.y (extern_name_list): Push to EXP env, move body to ...
	(extern_name_list_body): ... here.
	(script_file, ifile_list): Reformat.
	(statement): Add ASSERT.
testsuite:
	* ld-scripts/assert.t: Add additional cases.
	* ld-scripts/extern.t, ld-scripts/extern.s,
	ld-scripts/extern.exp: New.
2007-05-24 09:24:09 +00:00
gdbadmin 01be46b59d *** empty log message *** 2007-05-24 00:00:33 +00:00
Alan Modra 6f60ca4eac daily update 2007-05-24 00:00:07 +00:00
Paolo Bonzini a1570a8d2a 2007-05-23 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
	* mh-ppc-darwin: Temporarily disable.
2007-05-23 14:27:05 +00:00
Daniel Jacobowitz 2226f861d2 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
(gdbserver_run): Kill any running gdbserver.
	* lib/mi-support.exp (mi_gdb_target_load): Likewise.
2007-05-23 12:41:14 +00:00
Daniel Jacobowitz ab14ee8d0c * breakpoint.h (enum bpstat_what_main_action): Remove
BPSTAT_WHAT_THROUGH_SIGTRAMP.
	* infrun.c (process_event_stop_test): Do not check for it.
2007-05-23 11:39:17 +00:00
Nick Clifton 4a594fce16 Updated windres tool 2007-05-23 08:48:29 +00:00
Alan Modra 950c3b7d2c daily update 2007-05-23 00:00:10 +00:00
gdbadmin bfe2cf7d9f *** empty log message *** 2007-05-23 00:00:05 +00:00
Bob Wilson 4c8d1ad4a7 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
and index entries about automatic alignment of ENTRY instructions.
2007-05-22 17:59:17 +00:00
Paul Brook 91a5743d01 2007-05-22 Paul Brook <paul@codesourcery.com>
ld/testsuite/
	* ld-arm/arm-pic-veneer.d: Update expected output.
	* ld-arm/arm-call.d: Ditto.

	bfd/
	* elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset
	with sec and sec_shndx.
	(elf32_arm_ouput_plt_map_sym): Use them.
	(elf32_arm_output_arch_local_syms): Output mapping symbols for
	interworking glue.
2007-05-22 17:17:53 +00:00
Paul Brook e39ff52a3b 2007-05-22 Paul Brook <paul@codesourcery.com>
bunutils/
	* objdump.c (find_symbol_for_address): Merge section and target
	specific filtering code.

	ld/testsuite/
	* ld-arm-mixed-lib.d: Update expected output.
	* ld-arm/arm-app.d: Ditto.
	* ld-arm/mixed-app.d: Ditto.
	* ld-arm/arm-lib-plt32.d: Ditto.
	* ld-arm/arm-app-abs32.d: Ditto.
	* ld-arm/mixed-app-v5.d: Ditto.
	* ld-arm/armthumb-lib.d: Ditto.
	* ld-arm/arm-lib.d: Ditto.

	gas/testsuite/
	* gas/arm/backslash-at.d: Update expected output.
2007-05-22 15:05:12 +00:00
Maciej W. Rozycki 23776285b7 gdb/:
* ser-unix.c (show_serial_hwflow): New function.
(hardwire_raw): Add hardware flow control support.
(_initialize_ser_hardwire): Add "set/show remoteflow".
* Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
* NEWS: Document the new command.

gdb/doc/:
* gdb.texinfo (Remote Configuration): Document "set/show
remoteflow".
2007-05-22 10:57:12 +00:00