H.J. Lu
ecca98713a
bfd/
...
2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1467
* elf-bfd.h (_bfd_elf_match_sections_by_type): New.
(_bfd_generic_match_sections_by_type): New. Defined.
* elf.c (_bfd_elf_match_sections_by_type): New.
* libbfd-in.h (_bfd_generic_match_sections_by_type): New.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libbfd.c (_bfd_generic_match_sections_by_type): New.
* targets.c (BFD_JUMP_TABLE_LINK): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(bfd_target): Add _bfd_match_sections_by_type.
ld/
2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1467
* emultempl/elf32.em: Include "elf-bfd.h".
(gld${EMULATION_NAME}_place_orphan): Check section type and
don't use section name for ELF input sections.
* ld.texinfo: Document orphan section processing.
* ldlang.c (lang_output_section_find_by_flags): Match section
types by calling bfd_match_sections_by_type.
2005-10-15 14:57:55 +00:00
Alan Modra
ff0929e51c
daily update
2005-10-15 00:00:05 +00:00
gdbadmin
781274babc
*** empty log message ***
2005-10-15 00:00:04 +00:00
Paul Gilliam
3bf49e1b24
2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>
...
* rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
vector registers.
2005-10-14 20:17:11 +00:00
Nick Clifton
ab7c9a26e5
m32r.opc (parse_slo16): Do not assume a 32-bit host word size.
2005-10-14 08:33:27 +00:00
Nick Clifton
7047dd1ea8
* doc/as.texinfo (Section): Add missing ']' to .section example.
2005-10-14 08:24:48 +00:00
gdbadmin
e1c819caf8
*** empty log message ***
2005-10-14 00:00:33 +00:00
Alan Modra
ce80b210f3
daily update
2005-10-14 00:00:05 +00:00
Mark Mitchell
86043bbbd5
* ld.texino: Describe double-quoted string syntax for version
...
nodes.
* ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
* ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
Adjust calls to lang_new_vers_pattern to pass literal_p argument.
* ldlang.c (lang_vers_match): Fix indentation. Do not glob-match
version nodes without a pattern.
(lang_new_vers_pattern): Add literal_p parameter.
(lang_do_version_exports_section): Pass it.
* ld-elfvers/vers.exp: Add vers31.
* ld-elfvers/vers31.c: New file.
* ld-elfvers/vers31.dsym: Likewise.
* ld-elfvers/vers31.map: Likewise.
* ld-elfvers/vers31.ver: Likewise.
2005-10-13 17:29:57 +00:00
Andreas Schwab
16451949d7
* Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h).
...
* linux-thread-db.c (enable_thread_event): Extend pointer value as
specified by target.
(thread_db_get_thread_local_address): Likewise.
2005-10-13 09:31:59 +00:00
Dave Anglin
4d443107ba
* gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha
...
instructions from system.s.
* gas/hppa/basic/system.s (lha): Remove.
* hppa.h (pa_opcodes): Remove lha entries.
2005-10-13 02:26:34 +00:00
Dave Anglin
559c577b2b
PR binutils/941
...
* config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an
unknown opcode is found.
2005-10-13 01:06:01 +00:00
Mark Mitchell
3e8a519c72
* NEWS: Mention @file.
...
* NEWS: Mention @file.
2005-10-13 00:57:43 +00:00
gdbadmin
ec5a9b416f
*** empty log message ***
2005-10-13 00:00:37 +00:00
Alan Modra
4454c32763
daily update
2005-10-13 00:00:07 +00:00
Jim Blandy
987a910636
2005-10-12 Jim Blandy <jimb@redhat.com>
...
* gdb.base/structs.exp (any): New function.
(test_struct_returns): Don't make any assumptions at all about
what value the function returns when GDB can't set the return
value.
2005-10-12 17:56:41 +00:00
Nick Clifton
dc191a8f00
* config/tc-avr.c: Convert to ISO C90 format. Fix formatting and generally
...
tidy up the code.
* config/tc-avr.h: Likewise.
2005-10-12 10:56:46 +00:00
Nick Clifton
3ed30f54fc
Remove spurious checking of a potential, but untested patch.
2005-10-12 08:55:55 +00:00
Jan Beulich
60d11e5593
gas/
...
2005-10-12 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate.
(dot_pred_rel): Likewise.
(parse_operand): Likewise.
(ia64_unrecognized_line): Likewise.
(md_operand): Likewise.
gas/testsuite/
2005-10-12 Jan Beulich <jbeulich@novell.com>
* gas/ia64/forward.[sd]: New.
* gas/ia64/ia64.exp: Run new test.
2005-10-12 07:51:08 +00:00
Danny Smith
3d888abf5b
2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
...
* binutils-all/windres/escapex-2.rc: New file.
* binutils-all/windres/escapex-2.rsd: Generate.
2005-10-12 00:19:26 +00:00
Danny Smith
0851f04365
2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
...
* rclex.l (handle quotes): Stop parsing hex notation escaped
chars after the first two digits,
2005-10-12 00:16:12 +00:00
Alan Modra
9e691ad0b4
daily update
2005-10-12 00:00:05 +00:00
gdbadmin
017e7a90ee
*** empty log message ***
2005-10-12 00:00:02 +00:00
Nick Clifton
ec94898730
PR binutils/1437
...
* cxxfilt.c (flags): Remove DMGL_TYPES;
(long_options): Rename --no-types to --types.
(usage): Likewise.
(demangle_it): Add a comment describing why _ and $ prefixes are skipped.
Use printf rather than puts to emit the demangled output in order to avoid
emitting a new line character.
(main): Have the -t flag enable type demangling.
Emit a newline after every demangled command line argument.
Copy whitespace from stdin to stdout.
* doc/binutils.texi (c++filt): Document the change to the -t switch.
Document why demangling names on the command line is slightly different
to demangling names read from the standard input.
2005-10-11 16:33:16 +00:00
Nick Clifton
9497f5ac6b
This adjusts equate handling by
...
- allowing true forward references (which will always assume the referenced
symbols have at the point of use) through the new .eqv pseudo-op and the
new == operator
- disallowing changing .equiv-generated equates (so that the protection this
provides is both forward and backward)
- snapshotting equates when their value gets changed so that previous uses
don't get affected by the new value.
- allowing expressions in places where absolute expressions (or register
names) are needed which were not completely resolvable at the point of
their definition but which are fully resolvable at the point of use
In addition it fixes PR/288.
2005-10-11 11:16:17 +00:00
Mark Mitchell
1334d4d50c
* doc/Makefile.am (config.texi): Set top_srcdir.
...
* doc/Makefile.in: Regenerated.
* doc/binutils.texi: Use at-file.texi from libiberty.
2005-10-11 04:49:16 +00:00
Alan Modra
7dd98ef00d
daily update
2005-10-11 00:00:05 +00:00
gdbadmin
170aa2243b
*** empty log message ***
2005-10-11 00:00:03 +00:00
H.J. Lu
1949de15f0
2005-10-10 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/1436
* readelf.c (ABSADDR): New.
(dump_ia64_unwind): Use ABSADDR to get the unwind info address.
2005-10-10 18:42:11 +00:00
Ian Lance Taylor
fa4ec3f59f
* Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
...
* Makefile.in: Regenerate.
2005-10-10 17:24:06 +00:00
Nick Clifton
8b515579d6
* resbin.c (res_to_bin_accelerator): Place the terminating NUL at the correct
...
location in the bindata structure.
2005-10-10 15:54:42 +00:00
Nick Clifton
723a84724a
* expr.c (operator): Allow "!=" as a synonym for "<>".
...
* doc/as.texinfo (Infix Op): Mention "!=".
2005-10-10 15:32:44 +00:00
Nick Clifton
9c092ace49
* doc/binutils.texi (objdump): Fix typo: -reg-name-std should be -reg-names-std.
2005-10-10 08:41:25 +00:00
Nick Clifton
df3b293657
* gas/sh/reg-prefix.s: Use mov.l instruction in preference to movli.l.
...
* gas/sh/reg-prefix.d: Force little endian assembly.
2005-10-10 08:12:53 +00:00
Joel Brobecker
2336bb5846
* gdb.ada/arrayidx/p.adb: New file.
...
* gdb.ada/arrayidx.exp: New testcase
2005-10-10 01:14:36 +00:00
Joel Brobecker
1495de3fd3
* gdb.ada/array_return/pck.ads: New file.
...
* gdb.ada/array_return/pck.adb: New file.
* gdb.ada/array_return/p.adb: New file.
* gdb.ada/array_return.exp: New testcase.
2005-10-10 01:11:51 +00:00
Joel Brobecker
0e4377e151
* i386-tdep.c (i386_reg_struct_return_p): Allow array types as well.
...
(i386_return_value): Add handling for functions that return array
types.
2005-10-10 01:08:07 +00:00
Joel Brobecker
fd1b946ec5
* ada-valprint.c (print_optional_low_bound): Handle properly
...
cases where the array index type is a TYPE_CODE_RANGE.
2005-10-10 01:05:32 +00:00
Joel Brobecker
168de233a7
* valprint.c (val_print_array_elements): Check array size before
...
computing its low bound. If zero, then use a default bound of zero.
2005-10-10 01:03:59 +00:00
gdbadmin
ad5da28ce6
*** empty log message ***
2005-10-10 00:00:33 +00:00
Alan Modra
aade0c975e
daily update
2005-10-10 00:00:05 +00:00
Kazu Hirata
bd70a46f1c
* configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
...
target-libffi, target-qthreads, target-libjava, and
targetlibobjc.
* configure: Regenerate.
2005-10-09 16:35:55 +00:00
Alan Modra
d9d34a62bd
daily update
2005-10-09 00:00:04 +00:00
gdbadmin
2bb8451fc0
*** empty log message ***
2005-10-09 00:00:03 +00:00
Dave Anglin
f0a3b40fae
* config/tc-hppa.c (strict): Don't initialize. Update comment.
...
(pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
found. Simplify handling of "ma" and "mb" completers.
* hppa.h (FLAG_STRICT): Revise comment.
(pa_opcode): Revise ordering rules. Add/move strict pa10 variants
before corresponding pa11 opcodes. Add strict pa10 register-immediate
entries for "fdc".
2005-10-08 19:01:29 +00:00
Paul Brook
ee065d83ee
2005-10-08 Paul Brook <paul@codesourcery.com>
...
bfd/
* elf32-arm.c: Move #include "elf/arm.h" after libbfd.h.
(NUM_KNOWN_ATTRIBUTES): Define.
(aeabi_attribute, aeabi_attribute_list): Define.
(elf32_arm_obj_tdata): Add known_eabi_attributes and
other_eabi_attributes.
(uleb128_size, is_default_attr, eabi_attr_size,
elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int,
elf32_arm_add_eabi_attr_compat, copy_eabi_attributes,
elf32_arm_merge_eabi_attributes): New functions.
(elf32_arm_copy_private_bfd_data): Copy EABI object attributes.
(elf32_arm_fake_sections): Handle .ARM.attributes.
(elf32_arm_parse_attributes): New function.
(elf32_arm_section_from_shdr): Use it.
(bfd_elf32_bfd_final_link): Define.
gas/
* config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
(arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
New variables.
(arm_cpu_option_table): Add canonical_name.
(arm_cpus): Populate canonical_name field.
(s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
aeabi_set_public_attributes, arm_md_end): New functions.
(md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
(md_assemble): Set thumb_arch_used and arm_arch_used.
(md_begin): Set defaut cpu if CPU_DEFAULT not defined.
* config/tc-arm.h (md_end): Define.
* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
gas/testsuite/
* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.
include/elf/
* arm.h: Add prototypes for BFD object attribute routines.
ld/testsuite/
* ld-arm/arm-rel31.d: Ignore Arm object attribute sections.
* ld-arm/arm-target1-abs.d: Ditto.
* ld-arm/arm-target1-rel.d: Ditto.
* ld-arm/arm-target2-abs.d: Ditto.
* ld-arm/arm-target2-got-rel.d: Ditto.
* ld-arm/arm-target2-rel.d: Ditto.
2005-10-08 17:07:19 +00:00
Richard Earnshaw
19590ef7f6
2005-10-08 James Lemke <jim@wasabisystems.com>
...
* arm-dis.c (coprocessor_opcodes): Fix mask for various Maverick CDP
operations.
2005-10-08 14:52:07 +00:00
Alan Modra
646d45ea7c
daily update
2005-10-08 00:00:06 +00:00
gdbadmin
dd29689293
*** empty log message ***
2005-10-08 00:00:05 +00:00
Mark Mitchell
5209596cca
* at-file.texi: Fix typo.
2005-10-07 14:20:47 +00:00