OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agodaily update
Alan Modra [Mon, 27 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

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

16 years agoinclude/elf/
Alan Modra [Sat, 25 Aug 2007 13:20:41 +0000 (13:20 +0000)]
include/elf/
* common.h (NT_SPU): Define.
bfd/
* elf.c (elfcore_grok_spu_note): New function.
(elf_parse_notes): Call it.
binutils/
* readelf.c (process_note): Recognize SPU core file notes.

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

16 years ago2007-08-24 Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Fri, 24 Aug 2007 21:49:55 +0000 (21:49 +0000)]
2007-08-24  Joseph Myers  <joseph@codesourcery.com>
            Paul Brook  <paul@codesourcery.com>

* remap.c: New.
* as.h (remap_debug_filename, add_debug_prefix_map): Declare.
* as.c (show_usage): Document --debug-prefix-map option.
(parse_args): Handle --debug-prefix-map.
* dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
* stabs.c (stabs_generate_asm_file): Remap debug paths.
* Makefile.am (GAS_CFILES): Add remap.c
(GENERIC_OBJS): Add remap.o.
Regenerate dependencies.
* Makefile.in: Regenerate.
* doc/as.texinfo (--debug-prefix-map): Document.

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

* elf64-x86-64.c (elf64_x86_64_relocate_section): Adjust
indentation.

16 years ago * elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T
Pedro Alves [Fri, 24 Aug 2007 21:29:19 +0000 (21:29 +0000)]
* elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T
guard.  Make it host independent.
(elfcore_grok_note): Remove HAVE_WIN32_PSTATUS_T guard around
NT_WIN32PSTATUS.

16 years ago2007-08-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Aug 2007 19:39:19 +0000 (19:39 +0000)]
2007-08-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/i386.exp (i386tests): Add a test for TLS IE->LE
transition.
Run tlsie2, tlsie3, tlsie4 and tlsie5.

* ld-i386/tlsie1.dd: New file.
* ld-i386/tlsie1.s: Likewise.
* ld-i386/tlsie2.d: Likewise.
* ld-i386/tlsie2.s: Likewise.
* ld-i386/tlsie3.d: Likewise.
* ld-i386/tlsie3.s: Likewise.
* ld-i386/tlsie4.d: Likewise.
* ld-i386/tlsie4.s: Likewise.
* ld-i386/tlsie5.d: Likewise.
* ld-i386/tlsie5.s: Likewise.
* ld-x86-64/tlsgd2.d: Likewise.
* ld-x86-64/tlsgd2.s: Likewise.
* ld-x86-64/tlsgd3.d: Likewise.
* ld-x86-64/tlsgd3.s: Likewise.
* ld-x86-64/tlsie1.dd: Likewise.
* ld-x86-64/tlsie1.s: Likewise.
* ld-x86-64/tlsie2.d: Likewise.
* ld-x86-64/tlsie2.s: Likewise.
* ld-x86-64/tlsie3.d: Likewise.
* ld-x86-64/tlsie3.s: Likewise.

* ld-x86-64/x86-64.exp (x86_64tests): Add a test for TLS LD->LE
transition.
Run tlsgd2, tlsgd3, tlsie2 and tlsie3.

16 years ago2007-08-24 Aurelien Jarno <aurel32@debian.org>
Daniel Jacobowitz [Fri, 24 Aug 2007 16:59:16 +0000 (16:59 +0000)]
2007-08-24  Aurelien Jarno  <aurel32@debian.org>

* config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
before printing them.

16 years agomerge from gcc
DJ Delorie [Fri, 24 Aug 2007 16:08:40 +0000 (16:08 +0000)]
merge from gcc

16 years ago * configure.in: Install embedspu on powerpc*-*-eabi* also.
Daniel Jacobowitz [Fri, 24 Aug 2007 15:37:37 +0000 (15:37 +0000)]
* configure.in: Install embedspu on powerpc*-*-eabi* also.
* configure: Regenerated.

16 years agoFixed formatting of the ChangeLog BUILD_ID entry.
Jan Kratochvil [Fri, 24 Aug 2007 15:13:46 +0000 (15:13 +0000)]
Fixed formatting of the ChangeLog BUILD_ID entry.

16 years ago2007-08-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Fri, 24 Aug 2007 15:11:13 +0000 (15:11 +0000)]
2007-08-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): New BUILD_ID_SIZE, BUILD_ID.
* elf.c (elfcore_read_notes): Split to ...
(elf_read_notes) ... here ...
(elf_parse_notes): ... and here.  Check `bfd_get_format (abfd)' with
the former subfunctions called only for BFD_CORE.
Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU".
(_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs.
(bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES.
(elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions.
Code advisory: Roland McGrath

16 years agoTranslation updates.
Daniel Jacobowitz [Fri, 24 Aug 2007 14:05:35 +0000 (14:05 +0000)]
Translation updates.

16 years ago * elf64-mips.c (elf_backend_sign_extend_vma): Define.
Daniel Jacobowitz [Fri, 24 Aug 2007 13:46:32 +0000 (13:46 +0000)]
* elf64-mips.c (elf_backend_sign_extend_vma): Define.

16 years ago * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
Alan Modra [Fri, 24 Aug 2007 04:31:24 +0000 (04:31 +0000)]
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.

16 years ago * config/tc-i386.c (lex_got): Don't scan past a comma.
Alan Modra [Fri, 24 Aug 2007 04:18:37 +0000 (04:18 +0000)]
* config/tc-i386.c (lex_got): Don't scan past a comma.

16 years agobinutils/
Ben Elliston [Fri, 24 Aug 2007 00:56:30 +0000 (00:56 +0000)]
binutils/
* doc/binutils.texi (objdump): Document -Mppcps.

gas/
* config/tc-ppc.c (parse_cpu): Handle "750cl".
(pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
(md_show_usage): Document -m750cl.
(md_assemble): Handle two delimiters in succession (eg. `),').
* doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
* testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
* testsuite/gas/ppc/ppc750ps.s: New file.
* testsuite/gas/ppc/ppc750ps.d: Likewise.

include/opcode/
* ppc.h (PPC_OPCODE_PPCPS): New.

opcodes/
* ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
(XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
(PPCPS): Likewise.
(powerpc_opcodes): Add all pair singles instructions.
* ppc-dis.c (powerpc_dialect): Handle "ppcps".
(print_ppc_disassembler_options): Document -Mppcps.

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

16 years ago Switch the license of all .h files to GPLv3.
Joel Brobecker [Thu, 23 Aug 2007 18:17:33 +0000 (18:17 +0000)]
    Switch the license of all .h files to GPLv3.

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

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

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

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

* elf32-i386.c: Include "bfd_stdint.h".
(elf_i386_rtype_to_howto): New function.
(elf_i386_info_to_howto_rel): Use it.
(x86_64_opcode16): New union type.
(elf_i386_check_tls_transition): New function.
(elf_i386_tls_transition): Updated to check transition and
issue an error if a transition isn't supported.
(elf_i386_check_relocs): Return FALSE if
elf_i386_tls_transition returns FALSE.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_relocate_section): Likewise. Remove BFD_ASSERT
on TLS transitions.

* elf64-x86-64.c: Include "bfd_stdint.h".
(x86_64_opcode16): New union type.
(x86_64_opcode32): Likewise.
(elf64_x86_64_check_tls_transition): New function.
(elf64_x86_64_tls_transition): Updated to check transition and
issue an error if a transition isn't supported.
(elf64_x86_64_check_relocs): Return FALSE if
elf64_x86_64_tls_transition returns FALSE.
(elf64_x86_64_gc_sweep_hook): Likewise.
(elf64_x86_64_relocate_section): Likewise. Remove BFD_ASSERT
on TLS transitions.

ld/testsuite/

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

* ld-i386/tlsbinpic.s: Add a new GD -> IE test.

* ld-i386/tlsgd1.s: Add a new GD -> LE test.

* ld-i386/tlsbin.dd: Updated.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsgd1.dd: Likewise.

16 years ago * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
Ben Elliston [Thu, 23 Aug 2007 02:05:58 +0000 (02:05 +0000)]
* doc/c-arm.texi (ARM Directives): Move brackets out of @vars.

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

16 years agoRecognize and ignore the --eh-frame-hdr option.
Ian Lance Taylor [Wed, 22 Aug 2007 17:07:36 +0000 (17:07 +0000)]
Recognize and ignore the --eh-frame-hdr option.

16 years ago2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 22 Aug 2007 16:01:12 +0000 (16:01 +0000)]
2007-08-22  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c: Convert to ISO C90 prototypes.
(elfNN_hpux_backend_section_from_bfd_section): Make it static.

16 years ago2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 22 Aug 2007 13:44:37 +0000 (13:44 +0000)]
2007-08-22  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c: Remove trailing whitespace.
* elfxx-ia64.c: Likewise.

16 years agoAdd support for -E/--export-dynamic. Also clean up --help output a bit.
Ian Lance Taylor [Wed, 22 Aug 2007 05:06:38 +0000 (05:06 +0000)]
Add support for -E/--export-dynamic.  Also clean up --help output a bit.

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

16 years agoImplement --whole-archive.
Ian Lance Taylor [Tue, 21 Aug 2007 23:37:56 +0000 (23:37 +0000)]
Implement --whole-archive.

16 years agoMake relative references in linker scripts absolute and update a
chatham [Tue, 21 Aug 2007 21:29:12 +0000 (21:29 +0000)]
Make relative references in linker scripts absolute and update a
comment about relocate() being called.

16 years agoForce PT_LOAD segments to be aligned to the page size.
Ian Lance Taylor [Tue, 21 Aug 2007 21:03:50 +0000 (21:03 +0000)]
Force PT_LOAD segments to be aligned to the page size.

16 years agoAdd support for -rpath.
Ian Lance Taylor [Tue, 21 Aug 2007 20:37:32 +0000 (20:37 +0000)]
Add support for -rpath.

16 years ago2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 21 Aug 2007 15:54:30 +0000 (15:54 +0000)]
2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-mkopc.c (struct s390_cond_ext_format): New global struct.
(s390_cond_ext_format): New global variable.
(expandConditionalJump): New function.
(main): Invoke expandConditionalJump for mnemonics containing '*'.
* s390-opc.txt: Replace mnemonics with conditional
mask extensions with instructions using the newly introduced '*' tag.

16 years ago2007-08-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 21 Aug 2007 13:52:54 +0000 (13:52 +0000)]
2007-08-21  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Accept a pointer
to ELF hash entry instead of an integer for local test.
(elf_i386_check_relocs): Updated.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_relocate_section): Likewise.

* elf64-x86-64.c  (elf64_x86_64_tls_transition): Accept a
pointer to ELF hash entry instead of an integer for local
test.
(elf64_x86_64_check_relocs): Updated.
(elf64_x86_64_gc_sweep_hook): Likewise.
(elf64_x86_64_relocate_section): Likewise.

16 years agoBring over from the GCC tree:
Ben Elliston [Tue, 21 Aug 2007 04:15:07 +0000 (04:15 +0000)]
Bring over from the GCC tree:

2007-08-21  Richard Guenther  <rguenther@suse.de>

  * configure.ac: Add types checking to stage1 checking flags.
* configure: Regenerate.

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

16 years ago2007-08-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 20 Aug 2007 19:13:04 +0000 (19:13 +0000)]
2007-08-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Break long line.
* elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise.

16 years agoRevision of previous delta using bfd_vma cast instead of 1L.
Nick Clifton [Mon, 20 Aug 2007 13:23:41 +0000 (13:23 +0000)]
Revision of previous delta using bfd_vma cast instead of 1L.

16 years ago2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Mon, 20 Aug 2007 13:05:26 +0000 (13:05 +0000)]
2007-08-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE]
(ELF_MINPAGESIZE): Fixed its size guess.  Sanity checked its size.
(ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.

16 years ago* elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
Nick Clifton [Mon, 20 Aug 2007 08:26:35 +0000 (08:26 +0000)]
* elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
  into an offset mask in order to avoid a gcc error message.

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

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

16 years ago2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers [Sat, 18 Aug 2007 15:19:10 +0000 (15:19 +0000)]
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).

16 years ago * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
Alan Modra [Sat, 18 Aug 2007 01:36:57 +0000 (01:36 +0000)]
* ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.

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

16 years ago * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Jakub Jelinek [Fri, 17 Aug 2007 22:00:11 +0000 (22:00 +0000)]
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Change sparc64-*-linux-* to sparc64*-*-linux-*.

* configure.host: Handle sparcv*-*-linux-* the same as
sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

* ld-sparc/tlssunnopic32.dd: Fix up #target.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.

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.