H.J. Lu
ace7938838
bfd/
...
2008-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5522
* elflink.c (elf_link_input_bfd): Don't write out a section if
its output section is marked with SEC_NEVER_LOAD.
ld/testsuite/
2008-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5522
* ld-elf/noload-3.d: New file.
* ld-elf/noload-3.s: Likewise.
* ld-elf/noload-3.t: Likewise.
2008-01-07 16:45:35 +00:00
Vladimir Prus
a7c02bc8e1
Ignore change in name of dynamic linker during
...
execution, on Solaris. This also unbreaks pending breakpoints.
* solist.h (struct target_so_ops): New field same.
* solib-svr4.c (svr4_same): New.
(_initialize_svr4_solib): Register svr4_same.
* solib.c (update_solib_list): Use ops->same, if available.
2008-01-07 15:19:58 +00:00
Ian Lance Taylor
2dd3e587bd
Report linker script errors with line numbers. Ignore OUTPUT_FORMAT
...
with three arguments, and ignore OUTPUT_ARCH.
2008-01-07 05:19:02 +00:00
gdbadmin
d4e917ea7f
*** empty log message ***
2008-01-07 00:00:33 +00:00
Alan Modra
885e4b3d1f
daily update
2008-01-06 23:00:04 +00:00
Christopher Faylor
610dd7f9a6
* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when
...
using MS-DOS paths.
2008-01-06 06:59:14 +00:00
Ian Lance Taylor
d391083d3c
Add support for -e and for ENTRY in linker scripts.
2008-01-06 00:47:10 +00:00
gdbadmin
2969336b5e
*** empty log message ***
2008-01-06 00:00:33 +00:00
Alan Modra
8133291eb3
daily update
2008-01-05 23:00:05 +00:00
Pedro Alves
7a404eba27
gdb/
...
* NEWS: Mention --pid and --core command line behaviour changes.
gdb/doc/
* gdb.texinfo (File Options): Remove mention of the attempt to
open a core file with the -p option. Don't list -c as a valid
option to attach to a process.
2008-01-05 21:50:44 +00:00
H.J. Lu
e1d4d8936f
gas/
...
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
* config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
only.
(md_assemble): Remove Intel mode workaround.
(match_template): Check support for old gcc, AT&T mnemonic
and Intel Syntax.
(md_parse_option): Don't set intel_mnemonic to 0 for
OPTION_MOLD_GCC.
gas/testsuite/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intel.s: Add tests for fadd, faddp, fdiv, fdivp,
fdivr, fdivrp, fmul, fmulp, fsub, fsubp, fsubr and fsubrp.
* gas/i386/intel.d: Updated.
* gas/i386/intel.e: Likewise.
opcodes/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Rename IntelMnemonic to
ATTSyntax.
* i386-opc.h (IntelMnemonic): Renamed to ..
(ATTSyntax): This
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Remove intelmnemonic. Add attsyntax
and intelsyntax.
* i386-opc.tbl: Remove IntelMnemonic and update with ATTSyntax
on fsub, fubp, fsubr, fsubrp, div, fdivp, fdivr and fdivrp.
* i386-tbl.h: Regenerated.
2008-01-05 17:07:25 +00:00
Pedro Alves
a4d9b460bd
gdb/
...
* main.c (captured_main): Remove 'count' varible and the
ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
--pid options were issued simultaneously. If an explicit pid
option was passed, don't fallback to core file. Detect extra
arguments better in the presence of explicit pid or core
arguments.
gdb/doc/
* gdbint.texinfo (Host Conditionals): Remove mention of
ALIGN_STACK_ON_ENTRY.
2008-01-05 16:49:53 +00:00
Joel Brobecker
f9c112822a
* gdb.ada/packed_tagged/comp_bug.adb: New file.
...
* gdb.ada/packed_tagged.exp: New testcase.
2008-01-05 15:48:08 +00:00
Joel Brobecker
0c281816be
* ada-lang.c (ada_which_variant_applies): Correctly compute
...
the value of the discriminant when the variant record is packed.
2008-01-05 15:44:53 +00:00
Joel Brobecker
6ec2edbe70
* gdbint.texinfo (Start of New Year Procedure): Add item
...
describing how to update the source and documentation copyright
notices.
2008-01-05 15:12:56 +00:00
gdbadmin
dd208731ed
*** empty log message ***
2008-01-05 00:00:03 +00:00
Alan Modra
28d105a1bc
daily update
2008-01-04 23:00:05 +00:00
Joel Brobecker
0ecbca72c8
* gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
...
gdb.ada/homonym/homonym_main.adb: New files.
* gdb.ada/homonym.exp: New testcase.
2008-01-04 21:40:34 +00:00
Joel Brobecker
babe1480e8
* ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
...
that are used to differentiate homonyms.
2008-01-04 21:36:25 +00:00
Joel Brobecker
c18d3d891b
* gdb.ada/packed_array.exp: Add testing of references to
...
a packed array.
2008-01-04 20:47:16 +00:00
Joel Brobecker
727e3d2e5c
* ada-lang.c (decode_packed_array_type): Avoid a seg fault
...
when the type is an anonymous pointer type.
(ada_check_typedef): Avoid a seg fault when the type is null.
* ada-typeprint.c (print_array_type): Add support for pointer
to packed arrays.
2008-01-04 20:45:05 +00:00
Joel Brobecker
ecc7085baf
* gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
...
New files.
* gdb.ada/type_coercion.exp: New testcase.
2008-01-04 20:07:40 +00:00
Joel Brobecker
c474c9229e
* gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
...
gdb.ada/tagged/foo.adb: New file.
* gdb.ada/tagged.exp: New testcase.
2008-01-04 20:02:29 +00:00
Joel Brobecker
bb28a9dcd8
* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
2008-01-04 19:46:28 +00:00
Joel Brobecker
6799def481
* ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
...
EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
2008-01-04 19:01:30 +00:00
H.J. Lu
23117009d4
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-i386.h: Update copyright to 2008.
2008-01-04 18:19:12 +00:00
H.J. Lu
6f143e4d77
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-gen.c: Update copyright to 2008.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-01-04 18:10:08 +00:00
H.J. Lu
c6add5371c
gas/testsuite/
...
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/rexw.d: New.
* gas/i386/rexw.s: Likewise.
* gas/i386/x86-64-sse4_1-intel.d: Updated.
* gas/i386/x86-64-sse4_1.d: Likewise.
opcodes/
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Add NoRex64 to extractps, movmskpd, movmskps,
pextrb, pextrw, pinsrb, pinsrw and pmovmskb.
* i386-tbl.h: Regenerated.
2008-01-04 18:03:02 +00:00
Joel Brobecker
9005b927e2
* gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
...
gdb.ada/ptype_field/foo.adb: New files.
* gdb.ada/ptype_field.exp: New testcase.
2008-01-04 15:10:10 +00:00
Joel Brobecker
d3353bbdea
* ada-exp.y (chop_separator): New function.
...
(write_selectors): Rewrite to re-use chop_separator.
(ada_nget_field_index, get_symbol_field_type): New functions.
(write_var_or_type): Add support for "ptype TYPENAME.FIELD"
expressions.
2008-01-04 15:04:10 +00:00
Nick Clifton
b0e34bfe93
* config/tc-ppc.c (parse_cpu): Preserve the settings of the
...
PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
* gas/ppc/altivec_and_spe.s: New test - checks that ISA extension
command line options (-maltivec, -mspe) can be specified before
CPU selection command line options.
* gas/ppc/altivec_and_spe.d: Expected disassembly.
* gas/ppc/ppc.exp: Run the new test
2008-01-04 14:53:50 +00:00
Nick Clifton
ec4d452564
* dwarf.c (read_and_display_attr_value): Prefix values that are
...
displayed in hexadecimal with 0x.
For the DW_AT_import attribute display the abbreviation number and
tag of the imported DIE.
(process_debug_info): Warn about lengths that reserved by the
DWARF3 specification.
Provide more information when corrupted DIEs are detected.
Warn if DIE corruption makes the sibling level negative.
2008-01-04 09:53:41 +00:00
Ian Lance Taylor
fced7afdce
Add -h/-soname option.
2008-01-04 05:35:24 +00:00
Ian Lance Taylor
1bedcac52a
Don't create the postprocessing buffer if it already exists.
2008-01-04 05:04:56 +00:00
H.J. Lu
aacd03c3bb
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
of SYSV386_COMPAT.
2008-01-04 01:27:01 +00:00
H.J. Lu
3629bb00a8
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.
2008-01-04 01:05:45 +00:00
gdbadmin
2e5168804d
*** empty log message ***
2008-01-04 00:00:34 +00:00
Alan Modra
afc5b1a784
daily update
2008-01-03 23:00:06 +00:00
Thiago Jung Bauermann
82cf6c60c4
* symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
...
of SYMBOL_VALUE when working with function symbols.
2008-01-03 21:30:13 +00:00
Jakub Jelinek
5dd15031dd
* config/tc-i386.c (process_drex): Initialize modrm_reg and
...
modrm_regmem to 0 instead of None.
2008-01-03 20:19:29 +00:00
H.J. Lu
24995bd6e3
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.
2008-01-03 20:09:38 +00:00
Joel Brobecker
1a6aaad875
* gdb.ada/print_pc.exp: New testcase.
2008-01-03 19:22:20 +00:00
Joel Brobecker
0ef22f5306
* gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
...
gdb.ada/taft_type/p.adb: New files.
* gdb.ada/taft_type.exp: New testcase.
2008-01-03 19:19:22 +00:00
Joel Brobecker
b3dbf0087f
* ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
...
expressions. These expressions do not need to be rewriten.
2008-01-03 19:15:10 +00:00
Joel Brobecker
e9a0edba72
* gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
...
gdb.ada/taft_type/p.adb: New files.
* gdb.ada/taft_type.exp: New testcase.
2008-01-03 17:32:10 +00:00
Joel Brobecker
02eb380e72
* dwarf2read.c (read_enumeration_type): Flag type as stub if
...
the given die is a declaration.
2008-01-03 17:29:56 +00:00
Joel Brobecker
1689ecf896
* gdb.ada/array_bounds/bar.adb: New file.
...
* gdb.ada/array_bounds.exp: New testcase.
2008-01-03 14:19:52 +00:00
Joel Brobecker
abb68b3e0c
* ada-lang.c (ada_array_bound_from_type): Make non-static.
...
Handle properly the case when the index type is an enumerated type.
Do not return the subtype of the bounds type, just return the
bounds type directly - this is not needed and is more consistent
with what we do for arrays when no XA parallel type exists.
2008-01-03 14:07:10 +00:00
Joel Brobecker
a4d0b9c3e1
* gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
...
gdb.ada/arrayptr/foo.adb: New files.
* gdb.ada/arrayptr.exp: New testcase.
2008-01-03 13:15:43 +00:00
Joel Brobecker
f192137b09
* ada-lang.c (static_unwrap_type): Add forward declaration.
...
(template_to_static_fixed_type): Fields of dynamic types sometimes
also need to be unwrapped. Take this into account.
(ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
(ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
* ada-typeprint.c (ada_print_type): Get the typename from
the original type, not the base type.
2008-01-03 13:11:51 +00:00