OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agomerge from gcc
DJ Delorie [Fri, 17 Aug 2007 19:31:01 +0000 (19:31 +0000)]
merge from gcc

16 years ago PR gas/4079
Alan Modra [Fri, 17 Aug 2007 14:12:43 +0000 (14:12 +0000)]
PR gas/4079
* config/tc-i386.c (x86_cons): Complain about invalid @got etc.
expressions.
(i386_immediate): Detect and complain about more cases of
invalid immediate expressions.  Return failure rather than
converting them to zero.
(i386_displacement): Likewise.

16 years ago * emultempl/alphaelf.em: Format option help.
Alan Modra [Fri, 17 Aug 2007 13:50:48 +0000 (13:50 +0000)]
* emultempl/alphaelf.em: Format option help.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.

16 years ago * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
Alan Modra [Fri, 17 Aug 2007 13:23:08 +0000 (13:23 +0000)]
* ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
* lexsup.c (ld_options): Don't use tabs in help text.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
* emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.

16 years agold/testsuite/
Richard Sandiford [Fri, 17 Aug 2007 13:22:44 +0000 (13:22 +0000)]
ld/testsuite/
* lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
to appear in assembler and linker options.
* ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].

16 years ago2007-08-17 Richard Sandiford <richard@codesourcery.com>
Richard Sandiford [Fri, 17 Aug 2007 13:15:24 +0000 (13:15 +0000)]
2007-08-17  Richard Sandiford  <richard@codesourcery.com>
    Nigel Stephens  <nigel@mips.com>

* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.

16 years ago * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
Alan Modra [Fri, 17 Aug 2007 01:04:52 +0000 (01:04 +0000)]
* po/Make-in: Add --msgid-bugs-address to xgettext invocation.

16 years ago* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Alexandre Oliva [Fri, 17 Aug 2007 00:03:44 +0000 (00:03 +0000)]
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass.  Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.

16 years agodaily update
Alan Modra [Fri, 17 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 18:49:42 +0000 (18:49 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c: Revert last change.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Revert last change.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Revert last change.

16 years ago * ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
Alan Modra [Thu, 16 Aug 2007 13:51:27 +0000 (13:51 +0000)]
* ld-srec/srec.exp: Always pass "-G 0".  Remove all powerpc
xfails.

16 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 13:38:09 +0000 (13:38 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.

16 years agodaily update
Alan Modra [Thu, 16 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago PR 4923
Alan Modra [Wed, 15 Aug 2007 06:03:11 +0000 (06:03 +0000)]
PR 4923
* emultempl/elf32.em (after_open): Return immediately when
        non-ELF output.

16 years agodaily update
Alan Modra [Wed, 15 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agobfd/
H.J. Lu [Tue, 14 Aug 2007 19:48:21 +0000 (19:48 +0000)]
bfd/

2007-08-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4918
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
on ___tls_get_addr for GD->LE/LD->LE transitions when not
building shared library.

* elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
when not building shared library.

ld/testsuite/

2007-08-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4918
* ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
* ld-x86-64/x86-64.exp (x86_64tests): Likewise.

* ld-i386/tlsgd1.dd: New file.
* ld-i386/tlsgd1.s: Likewise.
* ld-i386/tlsld1.dd: Likewise.
* ld-i386/tlsld1.s: Likewise.
* ld-x86-64/tlsgd1.dd: Likewise.
* ld-x86-64/tlsgd1.s: Likewise.
* ld-x86-64/tlsld1.dd: Likewise.
* ld-x86-64/tlsld1.s: Likewise.

16 years ago * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
Andreas Schwab [Tue, 14 Aug 2007 10:44:12 +0000 (10:44 +0000)]
* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
unrepresentable.

16 years ago2007-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Tue, 14 Aug 2007 08:04:47 +0000 (08:04 +0000)]
2007-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now
initialized only on the first PT_LOAD.  New variable LOADBASE_SET.
Removed PF_R checking for IA-64 vDSOs as redundant now.
Code advisory: Roland McGrath

16 years agodaily update
Alan Modra [Tue, 14 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agobfd/
Richard Sandiford [Mon, 13 Aug 2007 21:16:39 +0000 (21:16 +0000)]
bfd/
* elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
(mips_elf_record_global_got_symbol): Increment local_gotno for
each forced-local symbol.
(_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
mips_elf_record_global_got_symbol for VxWorks too.
(_bfd_mips_elf_always_size_sections): Set computed_got_sizes
to true after computing the GOT size.
(_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
got.offset == 1.  Only adjust global_gotno if computed_got_sizes.
For VxWorks, add a local entry when hiding a symbol that needs a
plt but has not been marked as needing a global got entry.
(_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
false.

ld/testsuite/
* ld-mips-elf/vxworks-forced-local-1.d,
* ld-mips-elf/vxworks-forced-local-1.s,
* ld-mips-elf/vxworks-forced-local-1.ver: New test.
* ld-mips-elf/mips-elf.exp: Run it.
* ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
local GOT entry.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/vxworks1-lib.dd: Likewise.
* ld-mips-elf/vxworks1-lib.rd: Likewise.

16 years ago* standards.texi: Import 22 July 2007 version.
Nick Clifton [Mon, 13 Aug 2007 09:45:22 +0000 (09:45 +0000)]
* standards.texi: Import 22 July 2007 version.
* fdl.texi: Import version 1.2.
* make-stds.texi: Import 2006 version.

16 years ago * NEWS: Add a marker for the 2.18 features.
Daniel Jacobowitz [Mon, 13 Aug 2007 01:56:12 +0000 (01:56 +0000)]
* NEWS: Add a marker for the 2.18 features.

16 years ago * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
Daniel Jacobowitz [Mon, 13 Aug 2007 01:53:01 +0000 (01:53 +0000)]
* doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
$(top_srcdir)/../../bfd/doc.
* doc/Makefile.in: Regenerate.

16 years ago * coffgen.c (coff_get_normalized_symtab): Correct cast.
Daniel Jacobowitz [Mon, 13 Aug 2007 01:45:11 +0000 (01:45 +0000)]
* coffgen.c (coff_get_normalized_symtab): Correct cast.

16 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
Ben Elliston [Mon, 13 Aug 2007 01:32:36 +0000 (01:32 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
--silent if $silent.
* configure: Regenerate.

16 years ago * elf.c (elf_modify_segment_map): Add remove_empty_load param.
Alan Modra [Mon, 13 Aug 2007 00:44:20 +0000 (00:44 +0000)]
* elf.c (elf_modify_segment_map): Add remove_empty_load param.
Don't remove empty PT_LOAD header if false.
(_bfd_elf_map_sections_to_segments): If user phdrs, pass false
to elf_modify_segment_map.
(assign_file_positions_for_load_sections): Pass false to
elf_modify_segment_map.

16 years agobfd/
Alan Modra [Mon, 13 Aug 2007 00:20:59 +0000 (00:20 +0000)]
bfd/
* elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define.
Update stub comments.
(build_plt_stub): Build two variants, one without "addis".
(ppc_build_one_stub): Build stubs without "addis" if possible.
(ppc_size_one_stub): Size new stubs.
ld/testsuite/
* ld-powerpc/relbrlt.s (.text.pad2): Adjust space.
* ld-powerpc/relbrlt.d: Update.
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.g: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.g: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.g: Update.

16 years agodaily update
Alan Modra [Mon, 13 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.
Daniel Jacobowitz [Sun, 12 Aug 2007 19:05:42 +0000 (19:05 +0000)]
* src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.

16 years ago * configure.in (ALL_LINGUAS): Add fi.
Daniel Jacobowitz [Sun, 12 Aug 2007 18:59:46 +0000 (18:59 +0000)]
* configure.in (ALL_LINGUAS): Add fi.
* po/fi.po: New file.
* configure: Regenerated.

16 years agodaily update
Alan Modra [Sun, 12 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agobfd/
Richard Sandiford [Sat, 11 Aug 2007 17:31:23 +0000 (17:31 +0000)]
bfd/
* config.bfd (sh-*-vxworks): Define targ_underscore to "yes".

16 years agodaily update
Alan Modra [Sat, 11 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agoAdd M R Swami Reddy as CR16/CRX support maintainer.
Nick Clifton [Fri, 10 Aug 2007 13:25:31 +0000 (13:25 +0000)]
Add M R Swami Reddy as CR16/CRX support maintainer.

16 years agoAdd a marker for the 2.18 features.
Nick Clifton [Fri, 10 Aug 2007 13:21:40 +0000 (13:21 +0000)]
Add a marker for the 2.18 features.

16 years agoUpdated Finnish, Irish and Vietnamese translations
Nick Clifton [Fri, 10 Aug 2007 13:16:32 +0000 (13:16 +0000)]
Updated Finnish, Irish and Vietnamese translations

16 years agoMention PR ld/4877.
H.J. Lu [Fri, 10 Aug 2007 12:41:33 +0000 (12:41 +0000)]
Mention PR ld/4877.

16 years ago2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 10 Aug 2007 12:36:21 +0000 (12:36 +0000)]
2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

16 years ago2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 10 Aug 2007 12:25:30 +0000 (12:25 +0000)]
2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4875
* elf-hints-local.h: Include bfd_stdint.h.  Use uint32_t
instead of u_int32_t.

* sha1.h: Include bfd_stdint.h instead of <stdint.h>.

16 years agopatch: Correct documentation of windmc.
Kai Tietz [Fri, 10 Aug 2007 07:12:37 +0000 (07:12 +0000)]
patch: Correct documentation of windmc.

16 years agodaily update
Alan Modra [Fri, 10 Aug 2007 00:00:07 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-09 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 9 Aug 2007 23:14:55 +0000 (23:14 +0000)]
2007-08-09  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (aout_get_external_symbols): Return if count is zero.

16 years ago2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 9 Aug 2007 23:13:41 +0000 (23:13 +0000)]
2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4909
* elf.c (print_segment_map): New function.
(assign_file_positions_for_load_sections): Call print_segment_map
when a section can't be allocated in segment.

16 years ago2007-08-09 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 9 Aug 2007 15:11:07 +0000 (15:11 +0000)]
2007-08-09  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.

gas/testsuite/
* gas/arm/relax_load_align.d: new test.
* gas/arm/relax_load_align.s: new test.

16 years ago * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.
Jan Kratochvil [Thu, 9 Aug 2007 14:22:03 +0000 (14:22 +0000)]
* opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.

16 years agogas/
H.J. Lu [Thu, 9 Aug 2007 13:50:51 +0000 (13:50 +0000)]
gas/

2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.

gas/testsuite/

2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run sse4_1-intel, sse4_2-intel,
x86-64-sse4_1-intel and x86-64-sse4_2-intel.

* gas/i386/sse4_1-intel.d: New file.
* gas/i386/sse4_2-intel.d: Likewise.
* gas/i386/x86-64-sse4_1-intel.d: Likewise.
* gas/i386/x86-64-sse4_2-intel.d: Likewise.

* gas/i386/sse4_1.s: Add tests for Intel syntax.
* gas/i386/sse4_2.s: Likewise.
* gas/i386/x86-64-sse4_1.s: Likewise.
* gas/i386/x86-64-sse4_2.s: Likewise.

* gas/i386/sse4_1.d: Updated.
* gas/i386/sse4_2.d: Likewise.
* gas/i386/x86-64-sse4_1.d: Likewise.
* gas/i386/x86-64-sse4_2.d: Likewise.

opcodes/

2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
* i386-tbl.h: Regenerated.

16 years ago * windres/windres.exp: Return unsupported rather than fail if
Alan Modra [Thu, 9 Aug 2007 11:43:03 +0000 (11:43 +0000)]
* windres/windres.exp: Return unsupported rather than fail if
windows.h not found.

16 years agobinutils/testsuite/
Alan Modra [Thu, 9 Aug 2007 11:25:58 +0000 (11:25 +0000)]
binutils/testsuite/
* binutils-all/copy-2.d (not-target): Match *-*-*aout.
* binutils-all/copy-3.d (not-target): Likewise.
* binutils-all/objcopy.exp (objcopy_test): Remove extraneous
setup_xfail.
gas/testsuite/
* gas/all/weakref1u.d (not-target): Match *-*-*aout.

16 years ago PR 4515
Alan Modra [Thu, 9 Aug 2007 11:02:24 +0000 (11:02 +0000)]
PR 4515
* genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
* ldint.texinfo: Likewise.
* emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
* emulparams/armaoutl.sh: Likewise.
* emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
* emulparams/bfin.sh: Likewise
* emulparams/crisaout.sh: Likewise
* emulparams/elf32_sparc.sh: Likewise
* emulparams/elf32am33lin.sh: Likewise
* emulparams/elf32b4300.sh: Likewise
* emulparams/elf32bmip.sh: Likewise
* emulparams/elf32mcore.sh: Likewise
* emulparams/elf32xtensa.sh: Likewise
* emulparams/elf64_s390.sh: Likewise
* emulparams/elf64_sparc.sh: Likewise
* emulparams/elf64alpha.sh: Likewise
* emulparams/elf_i386.sh: Likewise
* emulparams/elf_i386_be.sh: Likewise
* emulparams/elf_i386_chaos.sh: Likewise
* emulparams/elf_i386_ldso.sh: Likewise
* emulparams/elf_i386_vxworks.sh: Likewise
* emulparams/elf_s390.sh: Likewise
* emulparams/elf_x86_64.sh: Likewise
* emulparams/i386aout.sh: Likewise
* emulparams/i386moss.sh: Likewise
* emulparams/i386msdos.sh: Likewise
* emulparams/i386nto.sh: Likewise
* emulparams/i386nw.sh: Likewise
* emulparams/m68kaout.sh: Likewise
* emulparams/m68kelf.sh: Likewise
* emulparams/ppcnw.sh: Likewise
* emulparams/sun4.sh: Likewise
* emulparams/tic80coff.sh: Likewise
* emulparams/vaxnbsd.sh: Likewise
* emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
(TEXT_START_ADDR): Set for -n, -N.
* emulparams/coff_sparc.sh: Likewise
* emulparams/elf32vax.sh: Likewise
* emulparams/i386bsd.sh: Likewise
* emulparams/i386go32.sh: Likewise
* emulparams/i386linux.sh: Likewise
* emulparams/i386lynx.sh: Likewise
* emulparams/i386mach.sh: Likewise
* emulparams/m68k4knbsd.sh: Likewise
* emulparams/m68klinux.sh: Likewise
* emulparams/m68knbsd.sh: Likewise
* emulparams/ns32knbsd.sh: Likewise
* emulparams/pc532macha.sh: Likewise
* emulparams/ppclynx.sh: Likewise
* emulparams/scoreelf.sh: Likewise
* emulparams/sparcaout.sh: Likewise
* emulparams/sparclinux.sh: Likewise
* emulparams/sun3.sh: Likewise
* emulparams/vsta.sh: Likewise

16 years agodaily update
Alan Modra [Thu, 9 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Wed, 8 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agoFix year in ChangeLog entry.
H.J. Lu [Tue, 7 Aug 2007 16:06:41 +0000 (16:06 +0000)]
Fix year in ChangeLog entry.

16 years agoFix year in ChangeLog entries.
H.J. Lu [Tue, 7 Aug 2007 16:05:45 +0000 (16:05 +0000)]
Fix year in ChangeLog entries.

16 years ago* po/bfd.pot: Updated template.
Nick Clifton [Tue, 7 Aug 2007 11:01:42 +0000 (11:01 +0000)]
* po/bfd.pot: Updated template.
* po/BLD-POTFILES.in: Regenerate.

16 years agoUpdate German translation
Nick Clifton [Tue, 7 Aug 2007 10:25:23 +0000 (10:25 +0000)]
Update German translation

16 years ago* configure.tgt: Add bfin-*rtems*.
Nick Clifton [Tue, 7 Aug 2007 09:32:06 +0000 (09:32 +0000)]
* configure.tgt: Add bfin-*rtems*.

16 years agodaily update
Alan Modra [Tue, 7 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * elf.c: (_bfd_elf_make_section_from_phdr): Properly handle
Alan Modra [Mon, 6 Aug 2007 22:53:27 +0000 (22:53 +0000)]
* elf.c: (_bfd_elf_make_section_from_phdr): Properly handle
bss segments.

16 years agofile zh_TW.gmo was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:39 +0000 (21:05 +0000)]
file zh_TW.gmo was initially added on branch binutils-2_18-branch.

16 years agofile ga.gmo was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:39 +0000 (21:05 +0000)]
file ga.gmo was initially added on branch binutils-2_18-branch.

16 years agofile ms.gmo was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:38 +0000 (21:05 +0000)]
file ms.gmo was initially added on branch binutils-2_18-branch.

16 years agofile uk.gmo was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:20 +0000 (21:05 +0000)]
file uk.gmo was initially added on branch binutils-2_18-branch.

16 years agofile windmc.1 was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:20 +0000 (21:05 +0000)]
file windmc.1 was initially added on branch binutils-2_18-branch.

16 years agofile mcparse.h was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:19 +0000 (21:05 +0000)]
file mcparse.h was initially added on branch binutils-2_18-branch.

16 years agofile mcparse.c was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:19 +0000 (21:05 +0000)]
file mcparse.c was initially added on branch binutils-2_18-branch.

16 years agofile bfdver.texi was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Mon, 6 Aug 2007 21:05:18 +0000 (21:05 +0000)]
file bfdver.texi was initially added on branch binutils-2_18-branch.

16 years ago * Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.
Daniel Jacobowitz [Mon, 6 Aug 2007 20:53:29 +0000 (20:53 +0000)]
* Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.
* Makefile.in: Regenerated.

16 years ago * configure.in: Update version to 2.18.50.
Daniel Jacobowitz [Mon, 6 Aug 2007 20:13:48 +0000 (20:13 +0000)]
* configure.in: Update version to 2.18.50.
* configure: Regenerated.

16 years ago2007-08-06 Paul Brook <paul@codesourcery.com>
Daniel Jacobowitz [Mon, 6 Aug 2007 18:47:21 +0000 (18:47 +0000)]
2007-08-06  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_link_hash_entry): Add
plt_maybe_thumb_refcount.
(elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount.
(elf32_arm_copy_indirect_symbol): Ditto.
(elf32_arm_adjust_dynamic_symbol): Ditto.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24.
(arm_add_to_rel): Ditto.
(elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with
R_ARM_THM_CALL.  Handle R_ARM_THM_JUMP19 against a PLT stub.
(elf32_arm_gc_sweep_hook): Call check_use_blx.  Update plt counts
for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19.
(elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24
and R_ARM_THM_JUMP19.
(allocate_dynrelocs): Use plt_maybe_thumb_refcount.
(elf32_arm_finish_dynamic_symbol): Ditto.
(elf32_arm_output_plt_map): Ditto.

16 years ago * elf.c (rewrite_elf_program_header): Handle sections not sorted
Daniel Jacobowitz [Mon, 6 Aug 2007 18:35:18 +0000 (18:35 +0000)]
* elf.c (rewrite_elf_program_header): Handle sections not sorted
by address.
(copy_elf_program_header): Likewise.

16 years ago* ld-pe/pe.exp: Special diff file for x86_64-mingw target.
Nick Clifton [Mon, 6 Aug 2007 14:41:51 +0000 (14:41 +0000)]
* ld-pe/pe.exp: Special diff file for x86_64-mingw target.
* ld-pe/secrel_64.d: New.

16 years ago* emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
Nick Clifton [Mon, 6 Aug 2007 14:32:08 +0000 (14:32 +0000)]
* emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
  (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of shared objects.
* pe-dll.c: (autofilter_symbollist_i386): Define set for amd64 mingw target.

16 years agodaily update
Alan Modra [Mon, 6 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 5 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 4 Aug 2007 16:31:00 +0000 (16:31 +0000)]
2007-08-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (xvec_get_elf_backend_data): Add const.

* elfcode.h (elf_object_p): Use xvec_get_elf_backend_data.
* elfcore.h (elf_core_file_p): Likewise.

16 years ago PR 4888
Alan Modra [Sat, 4 Aug 2007 08:26:38 +0000 (08:26 +0000)]
PR 4888
* objcopy.c (setup_section): Do modify section flags for ELF
STRIP_NONDEBUG (reverting part of 2007-05-30 change).  Prevent
header rewrite by twiddling input section flags instead.
Simplify code setting SHT_NOBITS.

17 years agodaily update
Alan Modra [Sat, 4 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Fri, 3 Aug 2007 19:49:44 +0000 (19:49 +0000)]
merge from gcc

17 years agoFix resource dependency problems for xmpy.
Jim Wilson [Fri, 3 Aug 2007 18:54:22 +0000 (18:54 +0000)]
Fix resource dependency problems for xmpy.

17 years ago * ld-srec/srec.exp: XFAIL for powerpc*-*-*.
Daniel Jacobowitz [Fri, 3 Aug 2007 12:53:47 +0000 (12:53 +0000)]
* ld-srec/srec.exp: XFAIL for powerpc*-*-*.

17 years agodaily update
Alan Modra [Fri, 3 Aug 2007 00:00:04 +0000 (00:00 +0000)]
daily update

17 years agobfd/
H.J. Lu [Thu, 2 Aug 2007 16:02:01 +0000 (16:02 +0000)]
bfd/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* coffcode.h (ALIGN_SET): Removed.
(ELIFALIGN_SET): Likewise.
(coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES,
IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES,
IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES,
IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES.

include/coff/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
IMAGE_SCN_ALIGN_POWER_CONST.
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
(IMAGE_SCN_ALIGN_64BYTES): Likewise.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 2 Aug 2007 00:40:02 +0000 (00:40 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* i386-dis.c (print_insn): Guard against NULL.

17 years agodaily update
Alan Modra [Thu, 2 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 20:06:05 +0000 (20:06 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* vms-tir.c (new_section): Fix cut and paste error.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:58:40 +0000 (19:58 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (aout_link_add_symbols): Return if count is zero.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:55:10 +0000 (19:55 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so
pointer must be non-null.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:43:08 +0000 (19:43 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* cp-demangle.c (d_print_comp): Guard against null.

17 years ago * ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
Adam Nemet [Wed, 1 Aug 2007 17:41:30 +0000 (17:41 +0000)]
* ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests.
* ld-mips-elf/mips-elf.exp: Invoke them.

17 years agoga.po: Updated Irish translation.
Nick Clifton [Wed, 1 Aug 2007 17:00:08 +0000 (17:00 +0000)]
ga.po: Updated Irish translation.

17 years ago* coffcode.h (coff_sort_func_alent): New function.
Nick Clifton [Wed, 1 Aug 2007 16:55:54 +0000 (16:55 +0000)]
* coffcode.h (coff_sort_func_alent): New function.
  (coff_slurp_line_table): Sort line table if not already sorted.

17 years agoCorrect ChangeLog entries.
H.J. Lu [Wed, 1 Aug 2007 15:27:55 +0000 (15:27 +0000)]
Correct ChangeLog entries.

17 years agoAdd a newline.
H.J. Lu [Wed, 1 Aug 2007 15:19:35 +0000 (15:19 +0000)]
Add a newline.

17 years ago * elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
Jakub Jelinek [Wed, 1 Aug 2007 08:57:23 +0000 (08:57 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
GCC 3.4.x warning.

17 years ago * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
Alan Modra [Wed, 1 Aug 2007 07:50:16 +0000 (07:50 +0000)]
* aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
r_type.
(swap_std_reloc_in): Likewise.
(aout_link_input_section_std): Likewise.  Return with an error
on unexpected relocation type.
(aout_link_input_section_ext): Likewise.

17 years ago PR4694
Alan Modra [Wed, 1 Aug 2007 07:43:36 +0000 (07:43 +0000)]
PR4694
* aoutx.h (final_link): Write a zero in first word of
stringtab if no symbols rather than corrupting last byte
of text/data.

17 years agodaily update
Alan Modra [Wed, 1 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * elf.c (get_program_header_size): Adjacent loadable .note*
Jakub Jelinek [Tue, 31 Jul 2007 08:15:44 +0000 (08:15 +0000)]
* elf.c (get_program_header_size): Adjacent loadable .note*
sections need just one PT_NOTE segment.
(_bfd_elf_map_sections_to_segments): Likewise.

17 years ago2007-07-30 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 03:53:24 +0000 (03:53 +0000)]
2007-07-30  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_read_internal_relocs): Revert change of
2007-07-26.  Buffer still in use, can't be freed.

17 years agodaily update
Alan Modra [Tue, 31 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update