Alan Modra
a4528eebc0
* config/obj-coff.c (c_dot_file_symbol): Add "app" param.
...
(coff_adjust_symtab): Adjust call.
(crawl_symbols): Likewise.
* config/obj-coff.h (c_dot_file_symbol): Add "app" param.
(obj_app_file): Adjust.
2004-11-19 12:20:25 +00:00
Alan Modra
de52dba4ab
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
...
* elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl.
* nlmcode.h (nlm_write_object_contents): Warning fix.
2004-11-19 11:58:02 +00:00
Nick Clifton
9cd6d51a56
PR 518
...
Update the descriptions of the ORIGIN and LENGTH fields in the MEMORY command,
to explicitly state that symbols cannot be used in their expressions.
2004-11-19 09:38:04 +00:00
Nick Clifton
3ec5763260
Add ORIGIN and LENGTH linker script operators.
2004-11-19 09:31:55 +00:00
Bob Wilson
288f74fae9
* elf32-xtensa.c (ebb_propose_action): Fix argument order.
2004-11-19 00:28:58 +00:00
gdbadmin
c457f63246
*** empty log message ***
2004-11-19 00:00:31 +00:00
Alan Modra
36ed297bac
daily update
2004-11-18 23:00:06 +00:00
Mark Kettenis
ceddaf06ac
* dbxread.c (process_one_symbol): Do not adjust address of first
...
N_SLINE stab for a function for code generated by non-GCC
compilers.
2004-11-18 22:37:22 +00:00
Kevin Buettner
915a2d21dd
* solib-null.c: New file.
2004-11-18 17:23:05 +00:00
Nick Clifton
444bf5f39e
Enable bfd_assembler by default for the MAXQ port.
...
Adjust the testsuite expected disassemblies to take this into account.
2004-11-18 16:20:11 +00:00
Richard Earnshaw
15f5e61fb4
In last change: macros not rules.
2004-11-18 10:56:28 +00:00
Richard Earnshaw
08cd376098
* Make-common.in (sim-*_h): Add rules for all sim headers. Also
...
add sub-dependencies for other sim files that they include.
(sim_main_headers): Use sim-*_h rules.
(sim-load.o): Depend on sim-basics_h, not sim_main_headers.
2004-11-18 10:21:39 +00:00
Andrew Cagney
92790ee734
2004-11-17 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Drop MIPS and remote.
2004-11-18 00:16:33 +00:00
gdbadmin
90f90d2cef
*** empty log message ***
2004-11-18 00:00:03 +00:00
Alan Modra
4a709ceef9
daily update
2004-11-17 23:00:07 +00:00
Daniel Jacobowitz
b7693d0213
bfd/
...
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define.
(elf32_arm_plt_thumb_stub): New.
(struct elf32_arm_link_hash_entry): Add plt_thumb_refcount
and plt_got_offset.
(elf32_arm_link_hash_traverse): Fix typo.
(elf32_arm_link_hash_table): Add obfd.
(elf32_arm_link_hash_newfunc): Initialize new fields.
(elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount.
(elf32_arm_link_hash_table_create): Initialize obfd.
(record_arm_to_thumb_glue): Mark the glue as a local ARM function.
(record_thumb_to_arm_glue): Mark the glue as a local Thumb function.
(bfd_elf32_arm_get_bfd_for_interworking): Verify that the
interworking BFD is not dynamic.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do
not emit glue for PLT references.
(elf32_arm_final_link_relocate): Handle Thumb functions. Do not
emit glue for PLT references. Support the Thumb PLT prefix.
(elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and
plt_thumb_refcount.
(elf32_arm_check_relocs): Likewise.
(elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and
plt_thumb_refcount.
(allocate_dynrelocs): Handle Thumb PLT references.
(elf32_arm_finish_dynamic_symbol): Likewise.
(elf32_arm_symbol_processing): New function.
(elf_backend_symbol_processing): Define.
opcodes/
* arm-dis.c (WORD_ADDRESS): Define.
(print_insn): Use it. Correct big-endian end-of-section handling.
gas/testsuite/
* gas/arm/mapping.d: Expect F markers for Thumb code.
* gas/arm/unwind.d: Update big-endian pattern.
ld/
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
a dynamic object for stubs.
ld/testsuite/
* ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s,
ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r,
ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld,
ld-arm/arm-lib.ld: New files.
* ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d,
ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r,
ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d,
ld-arm/arm-static-app.r: Update for big-endian.
* ld-arm/arm-elf.exp: Run the new tests.
2004-11-17 17:50:28 +00:00
Nick Clifton
e2cb164148
Run the relax test.
2004-11-17 15:31:46 +00:00
gdbadmin
4f151830a9
*** empty log message ***
2004-11-17 00:00:02 +00:00
Alan Modra
5a0a6f7a13
daily update
2004-11-16 23:00:07 +00:00
Hans-Peter Nilsson
27509da04b
Fix consistenco; it's triplets, not triples
2004-11-16 16:22:09 +00:00
Hans-Peter Nilsson
310ca70ce2
* lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".
2004-11-16 16:20:32 +00:00
Andreas Schwab
99b5727687
* Makefile.in (defines.h): Depend on tmp-defines.
...
(hw.c hw.h): Depend on tmp-hw.
(pk.h): Depend on tmp-pk.
2004-11-16 10:21:19 +00:00
Richard Sandiford
353057a53c
* elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
...
add_fde_encoding. Remove need_relative.
* elf-eh-frame.c (extra_augmentation_string_bytes)
(extra_augmentation_data_bytes, size_of_output_cie_fde): New functions.
(_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding
in cases where the CIE has no existing 'R' augmentation. Use
size_of_output_cie_fde when assigning offsets. Use the final offset
as the new section size.
(_bfd_elf_eh_frame_section_offset): Remove need_relative handling.
Account for any extra augmentation bytes in the returned offset.
(_bfd_elf_write_section_eh_frame): Rework so that the entries are
moved before being modified. Pad growing entries with DW_CFA_nops.
Add 'z' and 'R' augmentations as directed by add_augmentation_size
and add_fde_encoding.
2004-11-16 10:16:30 +00:00
Mark Mitchell
b32d3aa2a0
* elf32-arm.c (elf32_arm_relocate_section): Use
...
arm_real_reloc_type.
2004-11-16 10:08:00 +00:00
Richard Sandiford
5d41f0b6e5
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
...
for discard relocations; don't add an R_MIPS_NONE to the main body
of .rel.dyn.
2004-11-16 09:54:10 +00:00
Hans-Peter Nilsson
1d72487d99
* sim-config.c (sim_config): Recognize when a bfd has unspecified
...
endian information.
2004-11-16 07:16:57 +00:00
Hans-Peter Nilsson
5eba45c188
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
...
specifications concatenate, not override.
2004-11-16 07:06:17 +00:00
Hans-Peter Nilsson
1afbf1866f
* Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
...
$(remote_sim_h) too.
(sim_main_headers): Add sim-utils.h.
2004-11-16 07:02:26 +00:00
DJ Delorie
57d1eb1a07
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
...
* install-sh, compile: Import from automake.
* config.guess, config.sub: Import from savannnah.
2004-11-16 01:18:39 +00:00
gdbadmin
c98fd1d524
*** empty log message ***
2004-11-16 00:00:32 +00:00
Paul Brook
fc0e6df64d
bfd/
...
* elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype.
* elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument.
(_bfd_elf_slurp_version_tables): Add extra argument. Create extra
default version definition for unversioned symbols.
* elfcode.h (elf_slurp_symbol_table): Pass extra argument.
* elflink.c (elf_link_add_object_symbols): Pass extra argument to
_bfd_elf_slurp_version_tables. Set default version for unversioned
imported symbols.
include/
* bfdlink.h (bfd_link_info): Add default_imported_symver.
ld/
* ld.texinfo: Document --default-imported-symver.
* ldmain.c (main): Set link_info.default_imported_symver.
* lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
(ld_options): Add --default-imported-symver.
(parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
2004-11-15 23:21:27 +00:00
Alan Modra
2e8d14f482
daily update
2004-11-15 23:00:07 +00:00
Andrew Cagney
0c16dd26a8
2004-11-15 Andrew Cagney <cagney@gnu.org>
...
* findvar.c (value_of_register): Set the frame ID.
* value.c (value_primitive_field): Copy the frame ID.
* valops.c (value_assign): Simplify lval_register case, there's
always a frame.
2004-11-15 22:17:59 +00:00
Nick Clifton
4bd1d37b6f
Added quotes around macro arguments so that they will work with newer versions
...
of guile.
2004-11-15 14:30:12 +00:00
Paul Brook
b23e50e23e
* elflink.c (elf_link_add_object_symbols): Don't assume version
...
indices are consecutive.
2004-11-15 12:39:01 +00:00
Richard Sandiford
f4a6705cf8
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
...
composite relocations against the personality data.
2004-11-15 09:09:13 +00:00
gdbadmin
62d5693236
*** empty log message ***
2004-11-15 00:00:01 +00:00
Alan Modra
c87cb54921
daily update
2004-11-14 23:00:04 +00:00
Daniel Jacobowitz
2fdf551c88
* Makefile.in (mips-linux-tdep.o): Update dependencies.
...
* mips-linux-tdep.c: Include "regcache.h".
(fill_fpregset, mips64_fill_fpregset): Use regcache_raw_collect.
2004-11-14 19:29:46 +00:00
Daniel Jacobowitz
98754800c6
* Makefile.in (linux-thread-db.o): Fix typo in last change.
2004-11-14 18:53:32 +00:00
Daniel Jacobowitz
ed89d17542
* linux-thread-db.c: New file, renamed from thread-db.c.
...
* thread-db.c: Remove.
* Makefile.in (linux-thread-db.o): Rename from thread-db.o rule.
* config/alpha/alpha-linux.mh (NATDEPFILES): Rename thread-db.o
to linux-thread-db.o.
* config/arm/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/sparc/linux.mh (NATDEPFILES): Likewise.
* config/sparc/linux64.mh (NATDEPFILES): Likewise.
2004-11-14 18:47:52 +00:00
Daniel Jacobowitz
f073ae8c82
* gdb.threads/threadapply.exp: Correct "macro details" test.
2004-11-14 18:45:17 +00:00
Andrew Cagney
f97fe8ff79
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* config/i386/i386lynx.mh: Delete file.
* config/i386/i386lynx.mt: Delete file.
* Makefile.in (ALLDEPFILES, i386ly-tdep.o): Remove i386ly-tdep.c.
* i386ly-tdep.c: Delete.
2004-11-14 03:57:04 +00:00
Andrew Cagney
5873946b90
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* config/tm-lynx.h: Delete, inline contents ...
* config/rs6000/tm-rs6000ly.h: ... here.
2004-11-14 03:09:26 +00:00
Andrew Cagney
a69637bd40
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* config/tm-sysv4.h: Delete file, inlining contents.
* config/ia64/tm-aix.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-linux.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-nto.h (SKIP_TRAMPOLINE_CODE): Define.
2004-11-14 02:56:34 +00:00
Andrew Cagney
8851ec7ac2
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* regcache.h (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
* regcache.c (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
(deprecated_read_register_byte, _initialize_regcache)
(deprecated_write_register_bytes, build_regcache): Update.
* config/powerpc/ppc-sim.mt (TDEPFILES): Remove ppc-bdm.o and
remote-sds.o.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Ditto.
* config/mips/embed.mt (TDEPFILES): Remove remote-mips.o.
2004-11-14 01:11:07 +00:00
Andrew Cagney
9445aa303f
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* NEWS: List h8300*-*-*, mcore-*-*, mn10300-*-*, ns32k-*-*, and
v850-*-* under removed.
* configure.host: Delete ns32k-*-netbsd*.
* configure.tgt: Delete h8300-*-*, mcore*-*-*, mn10300-*-*,
ns32k-*-netbsd*, and v850*-*-*.
* MAINTAINERS: Mark h8300, mcore, mn10300, ns32k, v850 as
"Deleted"
* config/h8300/tm-h8300.h, config/h8300/h8300.mt: Delete.
* h8300-tdep.c, config/mcore/mcore.mt, mcore-rom.c: Delete.
* mcore-tdep.c, config/mn10300/mn10300.mt: Delete.
* mn10300-tdep.c, config/ns32k/nbsdaout.mh: Delete.
* config/ns32k/nbsdaout.mt, config/ns32k/nm-nbsd.h: Delete.
* config/ns32k/nm-nbsdaout.h, config/ns32k/tm-ns32k.h: Delete.
* ns32knbsd-nat.c, ns32knbsd-tdep.c, ns32k-tdep.c: Delete.
* ns32k-tdep.h, config/v850/v850.mt, v850ice.c: Delete.
* v850-tdep.c: Delete.
2004-11-14 00:10:55 +00:00
gdbadmin
e3ab723477
*** empty log message ***
2004-11-14 00:00:33 +00:00
Joel Brobecker
f6e1bffc2b
* irix5-nat.c (fetch_core_registers): Replace use of
...
deprecated_registers by equivalent code.
2004-11-13 23:49:31 +00:00
Joel Brobecker
44ed547b2d
* irix5-nat.c (fill_gregset): Replace use of deprecated_registers
...
with equivalent code.
(fill_fpregset): Likewise.
2004-11-13 23:40:01 +00:00