OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agoAdd -h/-soname option.
Ian Lance Taylor [Fri, 4 Jan 2008 05:35:24 +0000 (05:35 +0000)]
Add -h/-soname option.

16 years agoDon't create the postprocessing buffer if it already exists.
Ian Lance Taylor [Fri, 4 Jan 2008 05:04:56 +0000 (05:04 +0000)]
Don't create the postprocessing buffer if it already exists.

16 years ago2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 4 Jan 2008 01:27:01 +0000 (01:27 +0000)]
2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
of SYSV386_COMPAT.

16 years agogas/
H.J. Lu [Fri, 4 Jan 2008 01:05:45 +0000 (01:05 +0000)]
gas/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
(cpu_flags_not): Likewise.
(cpu_flags_match): Updated to check 64bit and arch.
(set_code_flag): Remove cpu_arch_flags_not.
(set_16bit_gcc_code_flag): Likewise.
(set_cpu_arch): Likewise.
(md_begin): Likewise.
(parse_insn): Call cpu_flags_match to check 64bit and arch.
(match_template): Likewise.

gas/testsuite/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-9.d: New file.
* gas/i386/arch-9.s: Likewise.

* gas/i386/i386.exp: Run arch-9.

opcodes/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Remove CpuSSE4_1_Or_5 and
CpuSSE4_2_Or_ABM.
(cpu_flags): Likewise.

* i386-opc.h (CpuSSE4_1_Or_5): Removed.
(CpuSSE4_2_Or_ABM): Likewise.
(CpuLM): Updated.
(i386_cpu_flags): Remove cpusse4_1_or_5 and cpusse4_2_or_abm.

* i386-opc.tbl: Replace CpuSSE4_1_Or_5, CpuSSE4_2_Or_ABM and
Cpu686|CpuPadLock with CpuSSE4_1|CpuSSE5, CpuABM|CpuSSE4_2
and CpuPadLock, respectively.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years agodaily update
Alan Modra [Thu, 3 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * config/tc-i386.c (process_drex): Initialize modrm_reg and
Jakub Jelinek [Thu, 3 Jan 2008 20:19:29 +0000 (20:19 +0000)]
* config/tc-i386.c (process_drex): Initialize modrm_reg and
modrm_regmem to 0 instead of None.

16 years agogas/
H.J. Lu [Thu, 3 Jan 2008 20:09:38 +0000 (20:09 +0000)]
gas/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Use the xmmword field
instead of no_xsuf.

opcodes/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove No_xSuf.

* i386-opc.h (No_xSuf): Removed.
(CheckSize): Updated.

* i386-tbl.h: Regenerated.

16 years agogas/testsuite/
H.J. Lu [Thu, 3 Jan 2008 05:29:53 +0000 (05:29 +0000)]
gas/testsuite/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-5.d: New file.
* gas/i386/arch-5.s: Likewise.
* gas/i386/arch-6.d: Likewise.
* gas/i386/arch-6.s: Likewise.
* gas/i386/arch-7.d: Likewise.
* gas/i386/arch-7.s: Likewise.
* gas/i386/arch-8.d: Likewise.
* gas/i386/arch-8.s: Likewise.

* gas/i386/i386.exp: Run arch-5, arch-6, arch-7 and arch-8.

opcodes/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CpuSSE4_2_Or_ABM to
CPU_AMDFAM10_FLAGS, CPU_SSE4_2_FLAGS, CpuABM and
CPU_SSE5_FLAGS.
(cpu_flags): Add CpuSSE4_2_Or_ABM.

* i386-opc.h (CpuSSE4_2_Or_ABM): New.
(CpuLM): Updated.
(i386_cpu_flags): Add cpusse4_2_or_abm.

* i386-opc.tbl: Use CpuSSE4_2_Or_ABM instead of
CpuABM|CpuSSE4_2 on popcnt.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years agoAdd a missing ','.
H.J. Lu [Thu, 3 Jan 2008 05:27:55 +0000 (05:27 +0000)]
Add a missing ','.

16 years agogas/testsuite/
H.J. Lu [Thu, 3 Jan 2008 03:28:35 +0000 (03:28 +0000)]
gas/testsuite/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.s: Add tests for movq.
* gas/i386/x86_64.s: Likewise.

* gas/i386/i386.d Updated.
* gas/i386/x86_64.d: Likewise.

opcodes/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.h: Update comments.

16 years agoFix a typo.
H.J. Lu [Thu, 3 Jan 2008 00:02:26 +0000 (00:02 +0000)]
Fix a typo.

16 years ago2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 2 Jan 2008 23:55:45 +0000 (23:55 +0000)]
2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_suffix): Fix a typo.

16 years agoAdd cast to avoid signed/unsigned warning.
Ian Lance Taylor [Wed, 2 Jan 2008 23:55:37 +0000 (23:55 +0000)]
Add cast to avoid signed/unsigned warning.

16 years ago2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 2 Jan 2008 23:54:47 +0000 (23:54 +0000)]
2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Use Qword instead of QWord.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.

16 years agoReduce the number of system calls. Use readv instead of pread. Do
Ian Lance Taylor [Wed, 2 Jan 2008 23:48:49 +0000 (23:48 +0000)]
Reduce the number of system calls.  Use readv instead of pread.  Do
better handling of cached views.

16 years agodaily update
Alan Modra [Wed, 2 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Wed, 2 Jan 2008 21:43:34 +0000 (21:43 +0000)]
gas/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5534
* config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
Check memory size in Intel mode.
(process_suffix): Handle XMMWORD_MNEM_SUFFIX.
(intel_e09): Likewise.

* config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.

gas/testsuite/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5534
* gas/i386/intel.s: Use QWORD on movq instead of DWORD.

* gas/i386/inval.s: Add tests for movq.
* gas/i386/x86-64-inval.s: Likewise.

* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.

opcodes/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5534
* i386-gen.c (opcode_modifiers): Add No_xSuf, CheckSize,
Byte, Word, Dword, QWord and Xmmword.

* i386-opc.h (No_xSuf): New.
(CheckSize): Likewise.
(Byte): Likewise.
(Word): Likewise.
(Dword): Likewise.
(QWord): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(i386_opcode_modifier): Add No_xSuf, CheckSize, Byte, Word,
Dword, QWord and Xmmword.

* i386-opc.tbl: Add CheckSize|QWord to movq if IgnoreSize is
used.
* i386-tbl.h: Regenerated.

16 years agoMove 2007 ChangeLog entries to ChangeLog-2007.
H.J. Lu [Wed, 2 Jan 2008 21:41:02 +0000 (21:41 +0000)]
Move 2007 ChangeLog entries to ChangeLog-2007.

16 years ago * gas/mips/jalr.s: New test.
Catherine Moore [Wed, 2 Jan 2008 20:59:47 +0000 (20:59 +0000)]
* gas/mips/jalr.s: New test.
    * gas/mips/jalr.l: New test output.
    * gas/mips/mips.exp: Run new test.

16 years ago* m88k-dis.c (instructions): Fix fcvt.* instructions.
Mark Kettenis [Wed, 2 Jan 2008 00:37:44 +0000 (00:37 +0000)]
* m88k-dis.c (instructions): Fix fcvt.* instructions.
From Miod Vallat.

16 years agodaily update
Alan Modra [Tue, 1 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago Updated copyright notices for most files.
Daniel Jacobowitz [Tue, 1 Jan 2008 22:53:22 +0000 (22:53 +0000)]
Updated copyright notices for most files.

16 years agodaily update
Alan Modra [Mon, 31 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 31 Dec 2007 19:23:07 +0000 (19:23 +0000)]
2007-12-31  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5530
* elfxx-ia64.c (elfNN_ia64_relocate_section): Call
_bfd_elf_find_segment_containing_section with output_bfd,
instead of input_bfd.

16 years agoFix a typo in ChangeLog.
H.J. Lu [Mon, 31 Dec 2007 16:17:43 +0000 (16:17 +0000)]
Fix a typo in ChangeLog.

16 years agoExpect cvtsi2ssl instead of cvtsi2ss.
H.J. Lu [Mon, 31 Dec 2007 16:02:07 +0000 (16:02 +0000)]
Expect cvtsi2ssl instead of cvtsi2ss.

16 years agogas/testsuite/
H.J. Lu [Mon, 31 Dec 2007 15:42:22 +0000 (15:42 +0000)]
gas/testsuite/

2007-12-31  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/inval.s: Add test for cvtsi2ss/cvtsi2sd.
* gas/i386/simd.s: Likewise.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/inval.l: Updated.
* gas/i386/simd-intel.d: Likewise.
* gas/i386/simd-suffix.d: Likewise.
* gas/i386/simd.d: Likewise.
* gas/i386/sse2.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd-suffix.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

opcodes/

2007-12-31  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_table): Use "%LQ" on cvtpi2ps/cvtsi2sd.
(putop): Handle '%' and "LQ".

* i386-opc.tbl: Remove IgnoreSize from cvtpi2ps/cvtsi2sd.
* i386-tbl.h: Regenerated.

16 years ago* elf-m10300.c (mn10300_elf_relax_section): Use _bfd_merged_section_offset
Nick Clifton [Mon, 31 Dec 2007 11:29:31 +0000 (11:29 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Use _bfd_merged_section_offset
  to compute the offset of a symbol in a merged section.

16 years ago* ld-elf/flags1.d: Add xfails for ports for which the test will work.
Nick Clifton [Mon, 31 Dec 2007 11:29:01 +0000 (11:29 +0000)]
* ld-elf/flags1.d: Add xfails for ports for which the test will  work.

* ld-mn10300/i143317.s: New test - checks linker relaxation when  symbols
  are in a merged section.
* ld-mn10300/i143317.d: Expected disassembly.
* ld-mn10300/i143317.t: Linker map.
* ld-mn10300/mn10300.exp (mn10300_tests): Add the i143317 test.

16 years ago* elf.c (_bfd_elf_find_segment_containing_section): New function:
Nick Clifton [Mon, 31 Dec 2007 11:01:54 +0000 (11:01 +0000)]
* elf.c (_bfd_elf_find_segment_containing_section): New function:
  Scan the segment map looking for the segment containing a
  specified function.
* elf-bfd.h: Prototype the new function.
* elf-hppa.h (elf_hppa_osec_to_segment): Delete.
  (elf_hppa_record_segment_addrs): Use new function.
* elf32-bfin.c (_bfdfdpic_osec_to_segment): Use new function.
* elf32-frv.c (_frvfdpic_osec_to_segment): Use new function.
* elf32-hppa.c (hppa_record_segment_addr): Use new function.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Use new function.

16 years agodaily update
Alan Modra [Sun, 30 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sat, 29 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoRemove extra whitespace.
H.J. Lu [Sat, 29 Dec 2007 17:37:57 +0000 (17:37 +0000)]
Remove extra whitespace.

16 years ago2007-12-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 29 Dec 2007 14:15:20 +0000 (14:15 +0000)]
2007-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax,
-mindex-reg, -mnaked-reg and -mold-gcc.

16 years ago * gas/all/gas.exp: Skip relax test on hppa*-*-hpux*.
Dave Anglin [Sat, 29 Dec 2007 01:57:08 +0000 (01:57 +0000)]
* gas/all/gas.exp: Skip relax test on hppa*-*-hpux*.

16 years ago PR binutils/5146
Dave Anglin [Sat, 29 Dec 2007 01:36:40 +0000 (01:36 +0000)]
PR binutils/5146
* elf64-hppa.c: Declare alloca when __GNUC__ is defined.
* som.c: Likewise.

16 years ago * elf-hppa.h (elf_hppa_osec_to_segment): New function.
Dave Anglin [Fri, 28 Dec 2007 23:43:45 +0000 (23:43 +0000)]
* elf-hppa.h (elf_hppa_osec_to_segment): New function.
(elf_hppa_record_segment_addrs): Use elf_hppa_osec_to_segment.
Remove ATTRIBUTE_UNUSED from abfd argument.
* elf32-hppa.c (hppa_record_segment_addr): Likewise.

16 years agodaily update
Alan Modra [Fri, 28 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoAdd ',' at the end of cpu_flag_init.
H.J. Lu [Fri, 28 Dec 2007 19:42:53 +0000 (19:42 +0000)]
Add ',' at the end of cpu_flag_init.

16 years agogas/testsuite/
H.J. Lu [Fri, 28 Dec 2007 16:04:41 +0000 (16:04 +0000)]
gas/testsuite/

2007-12-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-1.d: New file.
* gas/i386/arch-1.s: Likewise.
* gas/i386/arch-2.d: Likewise.
* gas/i386/arch-2.s: Likewise.
* gas/i386/arch-3.d: Likewise.
* gas/i386/arch-3.s: Likewise.
* gas/i386/arch-4.d: Likewise.
* gas/i386/arch-4.s: Likewise.

* gas/i386/i386.exp: Run arch-1, arch-2, arch-3 and arch-4.

opcodes/

2007-12-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CpuSSE4_1_Or_5 to
CPU_SSE4_1_FLAGS, CPU_SSE4_2_FLAGS and CPU_SSE5_FLAGS.
(cpu_flags): Add CpuSSE4_1_Or_5.

* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

* i386-opc.h (CpuSSE4_1_Or_5): New.
(CpuLM): Updated.
(i386_cpu_flags): Add cpusse4_1_or_5.

* i386-opc.tbl: Use CpuSSE4_1_Or_5 instead of CpuSSE4_1|CpuSSE5
on ptest roundpd, roundps, roundsd and roundss.

16 years ago* elf32-hppa.c (hppa_record_segment_addr): Locate the segment
Nick Clifton [Fri, 28 Dec 2007 14:45:34 +0000 (14:45 +0000)]
* elf32-hppa.c (hppa_record_segment_addr): Locate the segment
  containing the section using the segment map, rather than guessing
  based upon the section's vma and file position.

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

16 years ago * config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
Dave Anglin [Thu, 27 Dec 2007 15:35:53 +0000 (15:35 +0000)]
* config/tc-hppa.h  (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
in parens.

16 years agodaily update
Alan Modra [Wed, 26 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Tue, 25 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Mon, 24 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago* genscripts.sh (LIB_PATH): Include both {target_alias} and
Nick Clifton [Mon, 24 Dec 2007 17:27:34 +0000 (17:27 +0000)]
* genscripts.sh (LIB_PATH): Include both {target_alias} and
  {TOOL_LIB} in the search paths for multilibbed targets.

16 years agobfd/
H.J. Lu [Mon, 24 Dec 2007 16:58:23 +0000 (16:58 +0000)]
bfd/

2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5488
* elf.c (IS_NOTE): New.
(IS_COREFILE_NOTE): Use IS_NOTE.
(IS_SECTION_IN_INPUT_SEGMENT): Use IS_NOTE instead of
IS_COREFILE_NOTE.

ld/testsuite/

2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5488
* ld-elf/note-2.d: New.
* ld-elf/note-2.s: Likewise.
* ld-elf/note-2.t: Likewise.

16 years ago2007-12-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 24 Dec 2007 16:55:39 +0000 (16:55 +0000)]
2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5449
* elf.c (rewrite_elf_program_header): Don't adjust p_paddr if
p_paddr is set to 0.
(copy_private_bfd_data): Call rewrite_elf_program_header if
p_paddr is set to 0.

* elfcode.h (elf_swap_phdr_out): Set p_paddr to 0 if needed.

* elfxx-ia64.c (ELF_MAXPAGESIZE): Don't redefine it for HPUX.

16 years agoUpdated Russian translation.
Nick Clifton [Mon, 24 Dec 2007 16:18:14 +0000 (16:18 +0000)]
Updated Russian translation.

16 years agoFix a typo in comment.
H.J. Lu [Mon, 24 Dec 2007 06:10:17 +0000 (06:10 +0000)]
Fix a typo in comment.

16 years agogas/
H.J. Lu [Mon, 24 Dec 2007 05:27:39 +0000 (05:27 +0000)]
gas/

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

* config/tc-i386.c (set_intel_mnemonic): New.
(intel_mnemonic): Likewise.
(old_gcc): Likewise.
(OPTION_MMNEMONIC): Likewise.
(OPTION_MSYNTAX): Likewise.
(OPTION_MINDEX_REG): Likewise.
(OPTION_MNAKED_REG): Likewise.
(OPTION_MOLD_GCC): Likewise.
(md_pseudo_table): Add .intel_mnemonic and .att_mnemonic.
(match_template): Don't allow AT&T/Intel mnemonic if Intel/AT&T
mnemonic is specified.  Don't allow old gcc support if old_gcc
is 0.
(md_longopts): Add -mmnemonic, -msyntax, -mindex-reg,
-mmnaked-reg and -mold-gcc.
(md_parse_option): Handle OPTION_MMNEMONIC, OPTION_MSYNTAX,
OPTION_MINDEX_REG, OPTION_MNAKED_REG and OPTION_MOLD_GCC.

* doc/c-i386.texi: Docoument -mmnemonic, -msyntax, --mnaked-reg
and AT&T mnemonic vs. Intel mnemonic.

gas/testsuite/

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

* gas/i386/compat-intel.d: Pass -mmnemonic=att to assembler.
* gas/i386/compat.d: Likewise.

* gas/i386/i386.exp: Pass -mmnemonic=att to assembler for
"float".  Pass -mold-gcc to assembler for  "general".

opcodes/

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

* i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and
IntelMnemonic.

* i386-opc.h (OldGcc): New.
(ATTMnemonic): Likewise.
(IntelMnemonic): Likewise.
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Add oldgcc, attmnemonic and
intelmnemonic.

* i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul,
fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and
IntelMnemonic.
* i386-tbl.h: Regeneratd.

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

16 years agodaily update
Alan Modra [Sat, 22 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agobinutils/
H.J. Lu [Sat, 22 Dec 2007 14:06:31 +0000 (14:06 +0000)]
binutils/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

* doc/binutils.texi: Document the new intel-mnemonic and
intel-mnemonic options for i386 disassembler.

gas/testsuite/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/compat-intel.d: New file.
* gas/i386/compat.d: Likewise.
* gas/i386/compat.s: Likewise.

* gas/i386/i386.exp: Run compat.

opcodes/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (intel_mnemonic): New.
(print_i386_disassembler_options): Display att-mnemonic and
intel-mnemonic options.
(print_insn): Handle att-mnemonic and intel-mnemonic.
(float_reg): Replace SYSV386_COMPAT with "!M" and "M".
(putop): Handle "!M" and "M".

16 years agoUse a simpler hash function.
Ian Lance Taylor [Sat, 22 Dec 2007 01:53:39 +0000 (01:53 +0000)]
Use a simpler hash function.

16 years agoCorrect contributor name on new tests, remove #if 0 code.
Ian Lance Taylor [Sat, 22 Dec 2007 00:50:43 +0000 (00:50 +0000)]
Correct contributor name on new tests, remove #if 0 code.

16 years agoFrom Cary Coutant: Fix handling of versioned symbols, add some tests.
Ian Lance Taylor [Fri, 21 Dec 2007 23:31:19 +0000 (23:31 +0000)]
From Cary Coutant: Fix handling of versioned symbols, add some tests.

16 years ago * elf32-xtensa.c (relax_section): Update DIFF relocations in the
Bob Wilson [Fri, 21 Dec 2007 23:11:28 +0000 (23:11 +0000)]
* elf32-xtensa.c (relax_section): Update DIFF relocations in the
same way as other relocations.

16 years agoCorrect handling of non-section symbol in merged section. Avoid some
Ian Lance Taylor [Fri, 21 Dec 2007 23:08:25 +0000 (23:08 +0000)]
Correct handling of non-section symbol in merged section.  Avoid some
64-bit signed/unsigned warnings.

16 years agodaily update
Alan Modra [Fri, 21 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoSpeed up relocations against local symbols in merged sections.
Ian Lance Taylor [Fri, 21 Dec 2007 21:19:45 +0000 (21:19 +0000)]
Speed up relocations against local symbols in merged sections.

16 years ago2007-12-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 21 Dec 2007 17:04:04 +0000 (17:04 +0000)]
2007-12-21  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (i386-gen.o): Also depend on
$(srcdir)/../include/opcode/i386.h.
* Makefile.in: Regenerated.

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

16 years agoFix buglet in last patch.
Ian Lance Taylor [Thu, 20 Dec 2007 21:26:17 +0000 (21:26 +0000)]
Fix buglet in last patch.

16 years agoConvert more instances of off_t to be 32-bit types.
Ian Lance Taylor [Thu, 20 Dec 2007 21:21:24 +0000 (21:21 +0000)]
Convert more instances of off_t to be 32-bit types.

16 years ago * config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
Bob Wilson [Thu, 20 Dec 2007 17:21:07 +0000 (17:21 +0000)]
* config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
expressions without suffixes.
(get_frag_property_flags): Preserve is_no_transform flag for frags
not marked as either instructions or literals.

16 years agoUpdate comments about output offsets and merged input sections.
Ian Lance Taylor [Thu, 20 Dec 2007 16:27:34 +0000 (16:27 +0000)]
Update comments about output offsets and merged input sections.

16 years ago * ld-elf/seg.d: Restrict to linux and vxworks.
Hans-Peter Nilsson [Thu, 20 Dec 2007 11:36:56 +0000 (11:36 +0000)]
* ld-elf/seg.d: Restrict to linux and vxworks.

16 years agoRemove one inline.
Ian Lance Taylor [Thu, 20 Dec 2007 01:32:10 +0000 (01:32 +0000)]
Remove one inline.

16 years agoMake functions on hot path inline. Remove a mistaken virtual
Ian Lance Taylor [Thu, 20 Dec 2007 01:29:04 +0000 (01:29 +0000)]
Make functions on hot path inline.  Remove a mistaken virtual
declaration.

16 years agodaily update
Alan Modra [Wed, 19 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 20:47:45 +0000 (20:47 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Update default copyright.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 19:12:23 +0000 (19:12 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update default copyright.

16 years ago2007-12-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 19 Dec 2007 15:54:06 +0000 (15:54 +0000)]
2007-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/seg.d: Adjusted for 64bit targets.

16 years ago * ld-elf/seg.t: New.
Nathan Sidwell [Wed, 19 Dec 2007 10:22:02 +0000 (10:22 +0000)]
* ld-elf/seg.t: New.
* ld-elf/seg.d: New.
* ld-elf/seg.s: New.

16 years agoMove Stringpool offsets into a chunked_vector indexed by keys.
Ian Lance Taylor [Wed, 19 Dec 2007 01:23:46 +0000 (01:23 +0000)]
Move Stringpool offsets into a chunked_vector indexed by keys.

16 years agoAvoid some warnings which showed up in 64-bit mode.
Ian Lance Taylor [Wed, 19 Dec 2007 01:18:41 +0000 (01:18 +0000)]
Avoid some warnings which showed up in 64-bit mode.

16 years agoUse string length when available when calling Stringpool. Compare
Ian Lance Taylor [Wed, 19 Dec 2007 00:29:28 +0000 (00:29 +0000)]
Use string length when available when calling Stringpool.  Compare
pointers first when looking up Stringpool entries.

16 years agodaily update
Alan Modra [Tue, 18 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoDon't write unattached after_input sections twice.
Ian Lance Taylor [Tue, 18 Dec 2007 21:45:28 +0000 (21:45 +0000)]
Don't write unattached after_input sections twice.

16 years agoPrint statistics about merge sections with --stats.
Ian Lance Taylor [Tue, 18 Dec 2007 21:24:10 +0000 (21:24 +0000)]
Print statistics about merge sections with --stats.

16 years ago * section.c (BFD_FAKE_SECTION): Update.
Daniel Jacobowitz [Tue, 18 Dec 2007 19:48:07 +0000 (19:48 +0000)]
* section.c (BFD_FAKE_SECTION): Update.
* bfd-in2.h: Regenerate.

16 years ago * bfd-in2.h: Regenerate.
Daniel Jacobowitz [Tue, 18 Dec 2007 19:38:26 +0000 (19:38 +0000)]
* bfd-in2.h: Regenerate.

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:37:34 +0000 (07:37 +0000)]
/tmp/foo.diff

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:34:56 +0000 (07:34 +0000)]
/tmp/foo.diff

16 years agoAdd section_size_type and section_offset_type, use them to replace a
Ian Lance Taylor [Tue, 18 Dec 2007 00:48:04 +0000 (00:48 +0000)]
Add section_size_type and section_offset_type, use them to replace a
lot of instances of off_t.

16 years agodaily update
Alan Modra [Mon, 17 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 17 Dec 2007 19:41:57 +0000 (19:41 +0000)]
2007-12-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (output_insn): Use ARRAY_SIZE.
(lex_got): Likewise.

16 years ago2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 17 Dec 2007 18:53:06 +0000 (18:53 +0000)]
2007-12-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (output_insn): Use FRAG_APPEND_1_CHAR
instead of frag_more/md_number_to_chars.
(md_short_jump_size): Removed.
(md_long_jump_size): Likewise.
(md_create_short_jump): Likewise.
(md_create_long_jump): Likewise.

16 years ago * config.bfd: Add arm-*-mingw32ce* target.
Pedro Alves [Mon, 17 Dec 2007 01:50:44 +0000 (01:50 +0000)]
* config.bfd: Add arm-*-mingw32ce* target.

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

16 years agodaily update
Alan Modra [Sat, 15 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agold/
Richard Sandiford [Sat, 15 Dec 2007 09:43:40 +0000 (09:43 +0000)]
ld/
* scripttempl/armbpabi.sc (.text): Don't KEEP (*(.text.*personality*)).
(.data): Don't KEEP (*(.gnu.linkonce.d.*personality*)).
* scripttempl/elf.sc: As for armbpabi.sc.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/mep.sc: Likewise.

16 years agobfd/
Richard Sandiford [Sat, 15 Dec 2007 09:42:02 +0000 (09:42 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Replace u.cie.merged with a union of
a merged field and a sec field.
(eh_frame_hdr_info): Remove offsets_adjusted.
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update accesses to
the CIE merged field.
(_bfd_elf_gc_mark_fdes): Likewise.
(_bfd_elf_discard_section_eh_frame): Likewise.  Set u.cie.u.sec
when clearing the removed flag.
(_bfd_elf_eh_frame_section_offset): Remove offsets_adjusted handling.
(_bfd_elf_write_section_eh_frame): Likewise.  Apply output_offsets
where appropriate.

16 years agobfd/
Richard Sandiford [Sat, 15 Dec 2007 09:41:15 +0000 (09:41 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Move add_fde_encoding and
per_encoding_relative to u.cie.  Add commentary.
* elf-eh-frame.c (cie): Remove make_relative.
(extra_augmentation_string_bytes): Update use of add_fde_encoding.
(extra_augmentation_data_bytes): Likewise.  Use an FDE's own
add_augmentation_size field, rather than referring to the CIE.
(_bfd_elf_parse_eh_frame): Don't set the struct cie
make_relative field; set the eh_cie_fde field directly.
Update setting of add_fde_encoding and per_encoding_relative.
Copy make_relative and add_augmentation_size from the CIE
to the FDE.
(_bfd_elf_discard_section_eh_frame): Use the FDE's own
make_relative field.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Update accesses to
add_fde_encoding and per_encoding_relative.  Use the FDE's
own make_relative and add_augmentation_size fields.

16 years agobfd/
Richard Sandiford [Sat, 15 Dec 2007 09:35:58 +0000 (09:35 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Remove need_lsda_relative.
Move make_lsda_relative to u.cie.
* elf-eh-frame.c (cie): Rename make_lsda_relative to
can_make_lsda_relative.
(_bfd_elf_parse_eh_frame): Don't set the old eh_cie_fde
make_lsda_relative field.  Update after cie renaming.
Set u.cie.make_lsda_relative if can_make_lsda_relative
and if we find a relocation against the LSDA.
(_bfd_elf_discard_section_eh_frame): Copy make_lsda_relative when
changing a CIE's group representative.
(_bfd_elf_eh_frame_section_offset): Don't set need_ldsa_relative here.
(_bfd_elf_write_section_eh_frame): Check u.cie.make_lsda_relative
rather than need_lsda_relative.

16 years agobfd/
Richard Sandiford [Sat, 15 Dec 2007 09:34:48 +0000 (09:34 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and
u.cie.gc_mark.
(bfd_elf_section_data): Add fde_list.
(elf_fde_list): New macro.
(elf_obj_tdata): Add eh_frame_section.
(elf_eh_frame_section): New macro.
(_bfd_elf_gc_mark_reloc): Remove last parameter.
(_bfd_elf_gc_mark_fdes): Declare.
* elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs
for each input section.
(mark_entry, _bfd_elf_gc_mark_fdes): New functions.
* elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter.
(_bfd_elf_gc_mark): Update call accordingly.  Mark the relocations
againts the section's FDEs.  Don't mark the bfd's elf_eh_frame_section.
(bfd_elf_gc_sections): Parse each input bfd's .eh_frame before
marking any input sections.  Remove the current EH handling.
* section.c (bfd_section): Remove gc_mark_from_eh.
* ecoff.c (bfd_debug_section): Update initializer accordingly.

16 years agobfd/
Richard Sandiford [Sat, 15 Dec 2007 09:33:51 +0000 (09:33 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Add u.cie.  Document how u.fde.cie_inf
changes when removed == 0.
(eh_frame_hdr_info): Add parsed_eh_frames.
(_bfd_elf_begin_eh_frame_parsing): Declare.
(_bfd_elf_parse_eh_frame): Declare.
(_bfd_elf_end_eh_frame_parsing): Declare.
* elf-eh-frame.c (_bfd_elf_begin_eh_frame_parsing): New function.
(_bfd_elf_parse_eh_frame): New function, split out from
_bfd_elf_discard_section_eh_frame.  Make a first pass through the
buffer to calculate the number of entries and CIEs.  Allocate memory
for them before the main loop.  Replace current extended cie
representation with a pair of pointers, one to the local eh_cie_fde
and one to the full struct cie.  Allocate a separate array of struct
cies if not merging.  Merge CIEs during the main loop and set up each
u.cie.merged field.  Point an FDE's cie_inf field directly at the
local CIE.  Initially assume that all entries should be removed.
(_bfd_elf_end_eh_frame_parsing): New function.
(_bfd_elf_discard_section_eh_frame): Assume that the section has
already been parsed.  Use a separate pass to mark entries that
need to be kept.  Use the u.cie.merged field to track a CIE's
group representative.
* elflink.c (bfd_elf_discard_info): Call _bfd_elf_parse_eh_frame
before _bfd_elf_discard_section_eh_frame.  Wrap loop with calls to
_bfd_elf_begin_eh_frame_parsing and _bfd_elf_end_eh_frame_parsing.

16 years agobfd/
Richard Sandiford [Sat, 15 Dec 2007 09:32:38 +0000 (09:32 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Put cie_inf in a union.  Add a reloc_index
field.  Use bitfields for fde_encoding, lsda_encoding and lsda_offset.
* elf-eh-frame.c (extra_augmentation_data_bytes): Adjust cie_inf
accesses after the above change.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_discard_section_eh_frame): Likewise.  Set up reloc_index.