Alan Modra
f0e607602e
* ld-plugin/plugin.exp (libs): Remove $LIBS.
2010-10-28 08:16:34 +00:00
Andreas Krebbel
be7a250d1a
2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
...
* config/tc-s390.c (md_begin): Only add to hash table if cpu and
mode mask fit.
2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* s390-opc.txt: cfxr, cfdr and cfer z900 -> g5.
2010-10-28 07:37:45 +00:00
Alan Modra
24898b7032
* ldlang.h (ldlang_add_undef): Add cmdline param.
...
* ldlang.c (undef_from_cmdline): New var.
(ldlang_add_undef): Add cmdline param. Set undef_from_cmdline.
(lang_end): Really require -e or -u from command line on
relocatable --gc-sections.
* ldemul.c (after_parse_default): Adjust ldlang_add_undef call.
* ldgram.y (extern_name_list_body): Likewise.
* lexsup.c (parse_args): Likewise.
* emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
2010-10-28 06:45:33 +00:00
Alan Modra
47f929815c
* ld-elf/sec-to-seg.exp (B_test_same_seg): Clear for i960,
...
microblaze, moxie, and mt.
2010-10-28 06:27:55 +00:00
Alan Modra
e290d3abf7
* ld-elf/flags1.s: Use arm compatible .type syntax.
...
* ld-elf/flags1.d: Remove arm and xscale xfails, add i960, ip2k,
moxie, mt.
2010-10-28 06:21:49 +00:00
Alan Modra
5ff3e4bea5
* gas/elf/elf.exp (groupautob): Don't run on xtensa.
...
* gas/elf/groupautoa.d: Change test name.
* gas/elf/groupautob.d: Change test name.
2010-10-28 06:12:16 +00:00
Alan Modra
137b6b5f5e
* readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
...
(is_32bit_pcrel_reloc): Support microblaze.
2010-10-28 06:00:13 +00:00
Alan Modra
c2ce945a08
* config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
2010-10-28 05:34:55 +00:00
Hui Zhu
0a2a54b8b0
2010-10-28 Hui Zhu <teawater@gmail.com>
...
* tracepoint.c (trace_save): Change utp->actions to
utp->step_actions.
2010-10-28 03:38:36 +00:00
gdbadmin
9842990da6
*** empty log message ***
2010-10-28 00:00:02 +00:00
Alan Modra
b2a9719d3d
daily update
2010-10-27 23:00:05 +00:00
Andreas Krebbel
a83bba121c
2010-10-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
...
* ld-s390/tlsbin.dd: bc 0,0 -> nop 0 and bcr 0,%r0 -> nopr %r0.
2010-10-27 15:02:52 +00:00
Andreas Krebbel
af47cd43cc
2010-10-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
...
* gas/all/gas.exp: Don't run byte test on s390.
2010-10-27 15:01:32 +00:00
gdbadmin
0ffc4adf95
*** empty log message ***
2010-10-27 00:00:32 +00:00
Alan Modra
e89fb40106
daily update
2010-10-26 23:00:04 +00:00
Alan Modra
5a5936adef
* gas/i386/x86-64-relax-1.s: Use .balign. not .align.
...
* gas/i386/x86-64-relax-1.d: Remove label match, match pe output.
2010-10-26 22:38:57 +00:00
Alan Modra
927837fd55
* gas/i386/relax-1.s: Use .p2align, not .align.
...
* gas/i386/relax-2.s: Likewise.
* gas/i386/relax-1.d: Remove label match.
* gas/i386/relax-2.d: Likewise. Correct test name.
2010-10-26 22:18:38 +00:00
DJ Delorie
85f1f7cf9b
merge from gcc
2010-10-26 19:18:21 +00:00
Joel Brobecker
284a3db383
fix typo in _FILE_OFFSET_BITS comment
...
This fixes a typo that MichaelS noticed in a patch I submitted and
forgot to fix.
gdb/ChangeLog:
* (_FILE_OFFSET_BITS): Fix typo in comment.
2010-10-26 18:08:04 +00:00
Joel Brobecker
aed1781d40
Fix build failures with python support on sparc-solaris
...
There were two types of errors, mostly compiler warnings:
1. _FILE_OFFSET_BITS being redefined in pyconfig.h;
This is a problem we're familiar with, having seen similar
issues on GNU/Linux systems. I used a similar solution.
2. GCC 4.5 complains that calls to PyEval_InitThreads and
PyEval_ReleaseLock have no effect. This is because our Python
is built without thread support, leading us to use the dummy
#define in python-internal.h which just gets replaced by `0'.
Since this function returns void (checked versions 2.4 and 2.7),
I simply removed the 0.
gdb/ChangeLog:
python/python-internal.h (_FILE_OFFSET_BITS): Undefine.
(PyEval_InitThreads): Remove duplicate. Define as nothing.
(PyEval_ReleaseLock): Define as nothing.
2010-10-26 18:06:34 +00:00
Joel Brobecker
1e3fad37be
replace strcmp by FILENAME_CMP for filename comparison
...
gdb/ChangeLog:
* dwarf2read.c (psymtab_include_file_name): Replace call to strcmp
by call to FILENAME_CMP.
2010-10-26 17:59:50 +00:00
Dave Korn
a67f917e4c
* i386/relax-1.d: Generalize regexes a bit.
...
* i386/relax-2.d: Likewise.
2010-10-26 17:36:05 +00:00
Joel Brobecker
558b1900b0
avoid assignment inside if condition (dictionary.c)
...
This change gets rid of an ARI warning which was recently introduced
by one of our changes.
gdb/ChangeLog:
* dictionary.c (dict_hash): Move assignment out of if condition.
2010-10-26 14:50:13 +00:00
Nick Clifton
a41df09498
* po/ja.po: Updated Japanese transaltion.
2010-10-26 10:56:54 +00:00
Alan Modra
6309d59106
* config/obj-coff.c (coff_format_ops): Fix typo.
2010-10-26 03:44:39 +00:00
gdbadmin
3213b810a8
*** empty log message ***
2010-10-26 00:00:03 +00:00
Alan Modra
af727f4e66
daily update
2010-10-25 23:00:05 +00:00
Richard Sandiford
3b4f793136
gas/
...
* config/tc-mips.c (macro2): Delete.
2010-10-25 21:15:14 +00:00
Chao-ying Fu
2538d00916
2010-10-25 Chao-ying Fu <fu@mips.com>
...
* gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s: Add madd, maddu, msub,
msubu, mult, multu.
2010-10-25 18:11:42 +00:00
Chao-ying Fu
d958d1a369
2010-10-25 Chao-ying Fu <fu@mips.com>
...
* mips-opc.c (madd, maddu, msub, msubu, mult, multu): Change D33 to D32.
2010-10-25 18:09:10 +00:00
Daniel Jacobowitz
e4067dbb2a
bfd/
...
* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Always call
_bfd_clear_contents. Pass it the input section.
* libbfd-in.h (_bfd_clear_contents): Add input_section argument.
* libbfd.h: Regenerate.
* reloc.c (_bfd_clear_contents): Take input_section argument.
Use non-zero for .debug_ranges.
(bfd_generic_get_relocated_section_conten): Update _bfd_clear_contents
call.
* elf32-arm.c (elf32_arm_relocate_section): Use
RELOC_AGAINST_DISCARDED_SECTION.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.c (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-bfin.c (bfin_relocate_section): Likewise.
(bfinfdpic_relocate_section): Likewise.
* elf32-cr16.c (elf32_cr16_relocate_section): Likewise.
* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-crx.c (elf32_crx_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
* elf32-lm32.c (lm32_elf_relocate_section): Likewise.
* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mep.c (mep_elf_relocate_section): Likewise.
* elf32-moxie.c (moxie_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-mt.c (mt_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-rx.c (rx_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise.
* elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-spu.c (spu_elf_relocate_section): Likewise.
* elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
(elf64_alpha_relocate_section): Likewise.
* elf64-hppa.c (elf64_hppa_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
ld/testsuite/
* ld-discard/zero-range.d, ld-discard/zero-range.s: New files.
2010-10-25 15:54:16 +00:00
Nathan Sidwell
c0621d88b0
bfd/
...
* elf32-tic6x.c: Add attribution.
gas/
* config/tc-tic6x.c: Add attribution.
opcodes/
* tic6x-dis.c: Add attribution.
2010-10-25 15:33:54 +00:00
Alan Modra
645ea3ea62
* obj.h (struct format_ops): Add adjust_symtab.
...
* config/obj-multi.h (obj_adjust_symtab): Define.
* config/obj-aout.c (aout_format_ops): Init new field.
* config/obj-coff.c (coff_format_ops): Likewise.
* config/obj-ecoff.c (ecoff_format_ops): Likewise.
* config/obj-elf.c (elf_format_ops): Likewise.
2010-10-25 12:38:42 +00:00
H.J. Lu
7898a2b16e
Add a new testcase for PR gas/12049.
...
2010-10-25 H.J. Lu <hongjiu.lu@intel.com>
PR gas/12049
* gas/i386/i386.exp: Run relax-1 and relax-2 for all 32bit
targets. Run x86-64-relax-1.
* gas/i386/x86-64-relax-1.d: New.
* gas/i386/x86-64-relax-1.s: Likewise.
2010-10-25 09:17:12 +00:00
Alan Modra
2a2294071c
* elf32-arm.c (find_stub_size_and_template): Avoid uninitialized
...
var warning at -O3.
2010-10-25 08:23:24 +00:00
Alan Modra
59a9808d56
* opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal.
...
* libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here.
* libbfd.h: Regenerate
* bfd-in2.h: Regenerate.
2010-10-25 07:02:19 +00:00
Alan Modra
bc110b6e40
* plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id.
...
Formatting.
2010-10-25 06:22:50 +00:00
Alan Modra
fc1cfaa5f1
* opncls.c (_bfd_id_counter): Rename to bfd_id_counter.
...
(bfd_reserved_id_counter, bfd_use_reserved_id): New vars.
(_bfd_new_bfd): Use negative id when bfd_use_reserved_id.
(bfd_create): Doc fix.
* bfd-in2.h: Regenerate.
2010-10-25 06:14:30 +00:00
Alan Modra
e5940dffc5
PR gas/12049
...
* write.c (relax_frag): Don't allow forward branches to temporarily
becomde backward branches.
2010-10-25 03:03:18 +00:00
gdbadmin
4073872ae3
*** empty log message ***
2010-10-25 00:00:03 +00:00
Alan Modra
2a7431e25e
daily update
2010-10-24 23:00:05 +00:00
Maciej W. Rozycki
542982e39a
* gas/mips/mips.exp: Simplify enabling of MIPS16 testing.
2010-10-24 10:54:31 +00:00
Maciej W. Rozycki
08ddc2802f
* gas/mips/at-1.d: Handle ECOFF relocations.
...
* gas/mips/eret-1.d: Handle ECOFF.
* gas/mips/eret-2.d: Likewise.
* gas/mips/eret-3.d: Likewise.
* gas/mips/mips.exp: Only run "aent" for ELF.
2010-10-24 10:43:40 +00:00
Maciej W. Rozycki
17f828b35d
* gas/mips/ld.s: Adjust to let SD, L.D, S.D, LDC1 and SDC1
...
macros to be tested, according to the "tsd", "tl_d", "ts_d",
"tldc1" and "tsdc1" symbols.
* gas/mips/sd.d: New test.
* gas/mips/ecoff@sd.d: Likewise, ECOFF version.
* gas/mips/mips1@ecoff@sd.d: Likewise, MIPS I/ECOFF version.
* gas/mips/r3000@ecoff@sd.d: Likewise, R3000/ECOFF version.
* gas/mips/r3900@ecoff@sd.d: Likewise, R3900/ECOFF version.
* gas/mips/mips2@ecoff@sd.d: Likewise, MIPS II/ECOFF version.
* gas/mips/mips32@ecoff@sd.d: Likewise, MIPS32/ECOFF version.
* gas/mips/mips32r2@ecoff@sd.d: Likewise, MIPS32r2/ECOFF
version.
* gas/mips/sd-forward.d: New test.
* gas/mips/ecoff@sd-forward.d: Likewise, ECOFF version.
* gas/mips/mips1@ecoff@sd-forward.d: Likewise, MIPS I/ECOFF
version.
* gas/mips/r3000@ecoff@sd-forward.d: Likewise, R3000/ECOFF
version.
* gas/mips/r3900@ecoff@sd-forward.d: Likewise, R3900/ECOFF
version.
* gas/mips/mips2@ecoff@sd-forward.d: Likewise, MIPS II/ECOFF
version.
* gas/mips/mips32@ecoff@sd-forward.d: Likewise, MIPS32/ECOFF
version.
* gas/mips/mips32r2@ecoff@sd-forward.d: Likewise, MIPS32r2/ECOFF
version.
* gas/mips/l_d.d: New test.
* gas/mips/mips1@l_d.d: Likewise, MIPS I version.
* gas/mips/r3000@l_d.d: Likewise, R3000 version.
* gas/mips/r3900@l_d.d: Likewise, R3900 version.
* gas/mips/l_d-forward.d: New test.
* gas/mips/mips1@l_d-forward.d: Likewise, MIPS I version.
* gas/mips/r3000@l_d-forward.d: Likewise, R3000 version.
* gas/mips/r3900@l_d-forward.d: Likewise, R3900 version.
* gas/mips/s_d.d: New test.
* gas/mips/mips1@s_d.d: Likewise, MIPS I version.
* gas/mips/r3000@s_d.d: Likewise, R3000 version.
* gas/mips/r3900@s_d.d: Likewise, R3900 version.
* gas/mips/s_d-forward.d: New test.
* gas/mips/mips1@s_d-forward.d: Likewise, MIPS I version.
* gas/mips/r3000@s_d-forward.d: Likewise, R3000 version.
* gas/mips/r3900@s_d-forward.d: Likewise, R3900 version.
* gas/mips/ldc1.d: New test.
* gas/mips/ldc1-forward.d: Likewise.
* gas/mips/sdc1.d: Likewise.
* gas/mips/sdc1-forward.d: Likewise.
* gas/mips/sd-n32.d: Likewise.
* gas/mips/sd-n64.d: Likewise.
* gas/mips/sd-f-n32.d: Likewise.
* gas/mips/sd-f-n64.d: Likewise.
* gas/mips/l_d-n32.d: Likewise.
* gas/mips/l_d-n64.d: Likewise.
* gas/mips/l_d-f-n32.d: Likewise.
* gas/mips/l_d-f-n64.d: Likewise.
* gas/mips/s_d-n32.d: Likewise.
* gas/mips/s_d-n64.d: Likewise.
* gas/mips/s_d-f-n32.d: Likewise.
* gas/mips/s_d-f-n64.d: Likewise.
* gas/mips/ldc1-n32.d: Likewise.
* gas/mips/ldc1-n64.d: Likewise.
* gas/mips/ldc1-f-n32.d: Likewise.
* gas/mips/ldc1-f-n64.d: Likewise.
* gas/mips/sdc1-n32.d: Likewise.
* gas/mips/sdc1-n64.d: Likewise.
* gas/mips/sdc1-f-n32.d: Likewise.
* gas/mips/sdc1-f-n64.d: Likewise.
* gas/mips/mips.exp: Run the new tests.
2010-10-24 10:33:10 +00:00
Maciej W. Rozycki
484cf5580d
* gas/mips/ld.s: Adjust to let data objects be only
...
defined/declared (as appropriate) at the end of assembly, based
on the presence or not of the "forward" symbol.
* gas/mips/ld-forward.d: New test.
* gas/mips/mips1@ld-forward.d: Likewise. MIPS I version.
* gas/mips/r3000@ld-forward.d: Likewise, R3000 version.
* gas/mips/ecoff@ld-forward.d: Likewise, ECOFF version.
* gas/mips/r3900@ecoff@ld-forward.d: Likewise, R3900/ECOFF
version.
* gas/mips/mips2@ecoff@ld-forward.d: Likewise, MIPS II/ECOFF
version.
* gas/mips/mips32@ecoff@ld-forward.d: Likewise, MIPS32/ECOFF
version.
* gas/mips/mips32r2@ecoff@ld-forward.d: Likewise, MIPS32r2/ECOFF
version.
* gas/mips/ld-n32-forward.d: New test.
* gas/mips/ld-n64-forward.d: Likewise.
* gas/mips/mips.exp: Run the new tests.
2010-10-24 10:19:02 +00:00
Maciej W. Rozycki
233c7e41a6
* gas/mips/ld-n32.d: New test.
...
* gas/mips/ld-n64.d: Likewise.
* gas/mips/mips.exp: Run the new tests.
2010-10-24 10:08:56 +00:00
Maciej W. Rozycki
f3e3843c71
* gas/mips/ld.d: Rename to...
...
* gas/mips/mips1@ld.d: ... this.
* gas/mips/ld-ilocks.d: Rename to...
* gas/mips/ld.d: ... this.
* gas/mips/r3000@ld.d: New test, R3000 version.
* gas/mips/ecoff@ld.d: Likewise, ECOFF version.
* gas/mips/r3900@ecoff@ld.d: Likewise, R3900/ECOFF version.
* gas/mips/mips2@ecoff@ld.d: Likewise, MIPS II/ECOFF version.
* gas/mips/mips32@ecoff@ld.d: Likewise, MIPS32/ECOFF version.
* gas/mips/mips32r2@ecoff@ld.d: Likewise, MIPS32r2/ECOFF version.
* gas/mips/mips.exp: Remove "ld-ilocks" and run "ld" over all
architectures matching "mips1".
2010-10-24 10:06:25 +00:00
Maciej W. Rozycki
8b7955ca9b
* gas/mips/mips.exp (run_dump_test_arch): Check for the presence
...
of a file-format-specific test too.
(run_dump_test_arches): Pull elf, ecoff and aout variables for
use by the above.
2010-10-24 09:59:20 +00:00
Maciej W. Rozycki
37bfb8fca2
* gas/mips/ld.s: Remove "l.d", "s.d" and "sd" instructions.
...
* gas/mips/ld.d: Adjust accordingly.
* gas/mips/ld-ilocks.d: Likewise
2010-10-24 07:34:10 +00:00
Maciej W. Rozycki
060dc9e013
* gas/mips/ld.s: Remove ".set mips1".
...
* gas/mips/ld.d: Remove "-march=r4000" and "-mmips:4000" from
gas/objdump options.
* gas/mips/ld-ilocks.d: Add "-32" to gas options.
* gas/mips/mips.exp: Run the two cases with run_dump_test_arches.
2010-10-24 07:31:40 +00:00