Denis Chertykov
0d09fec6a5
* elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
...
for ip2k port.
2002-10-17 18:27:01 +00:00
Alan Modra
acf8aed4a6
* elfxx-target.h (USE_REL): Don't define as 1.
...
* elf32-arm.h (USE_REL): Provide a default define of 0.
Use #if rather than #ifdef when testing USE_REL.
* elf32-m32r.c: Likewise.
* elf32-arc.c (USE_REL): Define as 1.
* elf32-d10v.c (USE_REL): Likewise.
* elf32-m32r.c (USE_REL): Likewise.
* elf32-m68hc11.c (USE_REL): Likewise.
* elf32-m68hc12.c (USE_REL): Likewise.
* elf32-or32.c (USE_REL): Likewise.
* elfarm-nabi.c (USE_REL): Likewise.
2002-10-17 02:59:15 +00:00
Alan Modra
311797d555
* itbl-parse.y (entry): Provide empty action.
2002-10-17 01:29:36 +00:00
gdbadmin
1cb4e68cb8
*** empty log message ***
2002-10-17 00:00:32 +00:00
Alan Modra
037fd2c584
daily update
2002-10-17 00:00:04 +00:00
Adam Fedor
1aeae86e76
(parse_breakpoint_sals): Ignore ObjC method
...
names when matching breakpoints in current file.
2002-10-16 23:25:32 +00:00
Kevin Buettner
8b2dbe47f3
Address class support.
2002-10-16 20:50:22 +00:00
Jakub Jelinek
f52d1d6405
* config.bfd (s390-*-linux*): Add targ64_selvecs.
...
(s390x-*-linux*): Add targ_selvecs.
* config.table: Use mh-s390pic for s390x too.
* configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
(s390-*-linux*): Add elf64_s390 emulation if want64.
* emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
genscript.sh changes.
* emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
* emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
2002-10-16 19:54:54 +00:00
Klee Dienes
74451869f4
2002-10-16 Klee Dienes <kdienes@apple.com>
...
* stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
to get the last character of a char[] buffer, not
name[sizeof(vptr_name)-1].
2002-10-16 17:36:44 +00:00
DJ Delorie
9f84ab0dca
merge from gcc
2002-10-16 13:47:35 +00:00
Alan Modra
4001ad8ce4
* configure.in (BFDVER_H): Set and subst.
...
* dep-in.sed: Replace bfdver.h with $(BFDVER_H).
* Makefile.am: Run "make dep-am".
(BFDVER_H): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2002-10-16 13:27:04 +00:00
Alan Modra
2bc3c89ab3
* Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
...
elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo,
elf32-sh64-nbsd.lo, elf32-shqnx.lo. Add elf32-qnx.lo.
(BFD32_BACKENDS_CFILES): Likewise for corresponding C files.
(BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo.
(BFD64_BACKENDS_CFILES): Likewise for corresponding C files.
(SOURCE_HFILES): Add elf32-qnx.h.
(BUILD_HFILES): Add bfdver.h.
Run "make dep-am".
* Makefile.in: Regenerate.
* configure.in Update bfd vector dependencies.
* configure: Regenerate.
* elf32-i386-fbsd.c: Delete. Move code to elf32-i386.c.
* elf32-i386qnx.c: Likewise.
* elf32-ppcqnx.c: Delete. Move code to elf32-ppc.c.
* elf32-sh-nbsd.c: Delete. Move code to elf32-sh.c.
* elf32-sh-lin.c: Likewise.
* elf32-shqnx.c: Likewise.
* elf32-sh64-lin.c: Delete. Move code to elf32-sh64.c.
* elf32-sh64-nbsd.c: Likewise.
* elf64-sh64-lin.c: Delete. Move code to elf64-sh64.c.
* elf64-sh64-nbsd.c: Likewise.
* elfarmqnx-nabi.c: Delete. Move code to elfarm-nabi.c.
* elf32-arm.h (ELF_MAXPAGESIZE): Always define.
* elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests.
* elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests.
* elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define.
(elf_backend_is_contained_by_filepos): Likewise.
(elf_backend_copy_private_bfd_data_p): Likewise.
Globalize and move functions to..
* elf32-qnx.c: ..here. New file.
* elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests. Don't
emit target vectors when INCLUDE_SHMEDIA.
* elf32-sh64.c: Remove ELF_ARCH test. Move TARGET_* etc. defines to
end of file.
* elf64-sh64.c: Remove ELF_ARCH test.
* elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test.
* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
2002-10-16 08:39:38 +00:00
Alan Modra
366f2964af
* elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
...
loaded with --just-symbols.
2002-10-16 00:57:39 +00:00
Alan Modra
90c9df8594
* elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
...
* elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
2002-10-16 00:56:41 +00:00
Alan Modra
59ad387da9
daily update
2002-10-16 00:00:03 +00:00
gdbadmin
0addf23c25
*** empty log message ***
2002-10-16 00:00:02 +00:00
Richard Henderson
2238051fb3
* Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
...
(BFD64_BACKENDS_CFILES): Likewise.
* configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha.
* elf64-alpha-fbsd.c: Remove file, move code ...
* elf64-alpha.c: ... here.
* Makefile.in, configure: Rebuild.
2002-10-15 17:14:51 +00:00
Alan Modra
48417c1acc
* bucomm.c (list_supported_targets): Use bfd_target_list.
2002-10-15 11:34:01 +00:00
Alan Modra
49c1257607
* objcopy.c (copy_file): Report ambiguous bfd_object matches, and
...
other object errors in preference to bfd_core errors.
2002-10-15 05:10:48 +00:00
Adam Fedor
ff4cb3e841
New objc_specific struct.
...
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
(SYMBOL_DEMANGLED_NAME): Likewise.
2002-10-15 02:50:56 +00:00
Adam Fedor
da2cf7e093
(init_filename_language_table): Add ObjC file extension.
2002-10-15 02:42:32 +00:00
Alan Modra
3ca4bdc352
* config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
...
(MD_APPLY_SYM_VALUE): Define for PE too.
2002-10-15 02:20:53 +00:00
Adam Fedor
4a351cef15
utils.c (puts_filtered_tabular): New function.
...
(fprintf_symbol_filtered): Get ObjC demangled name.
defs.h (puts_filtered_tabular): Declared.
2002-10-15 02:16:51 +00:00
Richard Henderson
64e04ecdb7
* elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
...
VALUE, not ADDEND.
2002-10-15 01:07:52 +00:00
Alan Modra
03bdc40405
* ldlang.c (load_symbols): Revert last change.
2002-10-15 00:09:02 +00:00
Alan Modra
50158c1ce3
daily update
2002-10-15 00:00:04 +00:00
gdbadmin
e5df0b1fcb
*** empty log message ***
2002-10-15 00:00:03 +00:00
Kevin Buettner
9750e763c1
* c-lang.h (c_type_print_varspec_prefix): Delete.
...
* c-typeprint.c (c_type_print_varspec_prefix): Make static. Add
``need_post_space'' parameter. Adjust all callers.
2002-10-14 22:58:28 +00:00
Stephane Carrez
19dd1b4833
* ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
...
* ld-m68hc11/adj-jump.d: New test for linker relaxation.
* ld-m68hc11/adj-jump.s: Likewise.
* ld-m68hc11/adj-brset.s: Likewise.
* ld-m68hc11/adj-brset.d: Likewise.
* ld-m68hc11/relax-direct.s: Likewise.
* ld-m68hc11/relax-direct.d: Likewise.
* ld-m68hc11/relax-group.s: Likewise.
* ld-m68hc11/relax-group.d: Likewise.
* ld-m68hc11/bug-1403.d: Likewise.
* ld-m68hc11/bug-1403.s: Likewise.
2002-10-14 21:20:16 +00:00
Daniel Jacobowitz
eee771c194
* config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
...
* config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
* config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
* config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
2002-10-14 20:46:59 +00:00
Stephen Clarke
396a608385
* elf32-sh.c (elf_sh_link_hash_entry): Replace
...
datalabel_got_offset with union of datalabel_got
offset and refcount.
(sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount.
(allocate_dynrelocs): Delete unnecessary code for
STT_DATALABEL type. Create entry in got for
datalabel version of symbol if datalabel_got.refcount > 0.
(sh_elf_relocate_section): Use datalabel_got union.
(sh_elf_gc_sweep_hook): Pull common code to initialize
h and eh out of switch statement. Declare seen_stt_datalabel.
Initialize it. Decrement datalabel_got.refcount for
got relocs when seen_stt_datalabel is true.
Decrement local_got_refcounts entry for datalabel got relocs
of local symbols.
(sh_elf_copy_indirect_symbol): Copy datalabel_got field over.
(sh_elf_check_relocs): Declare seen_stt_datalabel.
Initialize it. When seen_stt_datalabel is true, increment
datalabel_got refcount rather than got.refcount.
(sh_elf_finish_dynamic_symbol): Create relocs to
initialize got entry for datalabel version of symbol.
2002-10-14 19:29:54 +00:00
Stephen Clarke
24d1feef42
ld-sh/ld-r-1.d: Disable for sh64*-*-linux*.
...
* ld-sh/sh64/sh64.exp: Likewise.
* ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*.
* ld-sh/sh64/abi32.sd: Adjust expected output to include
sh64*-*-linux* formats too.
* ld-sh/sh64/relax.exp: Add emul32 variable to hold target
emulation, and set it appropriately for sh*-*-linux*.
* ld-sh/sh64/relfail.exp: Add variables to hold target
emulation, output format, start symbol, and whether target
supports 64-bit ABI. Set appropriately for sh*-*-linux*.
2002-10-14 18:45:03 +00:00
Alan Modra
7c519c12a3
* ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
...
just_syms_flag.
(lang_reasonable_defaults): Don't compare against false.
(size_input_section): Likewise.
(lang_size_sections_1): Likewise.
(lang_do_assignments): Likewise.
(lang_add_output): Likewise.
2002-10-14 13:08:19 +00:00
Alan Modra
c6db2f0545
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* ldver.c: #include "bfdver.h".
2002-10-14 12:09:18 +00:00
Alan Modra
b95d15c6c5
* Makefile.am: Run "make dep-am".
...
(CPU_OBJ_VALID): sh64 coff is invalid.
* as.c: #include "bfdver.h".
* Makefile.in: Regenerate.
* config.in: Regenerate.
2002-10-14 12:08:47 +00:00
Alan Modra
6e1a7e9a11
* Makefile.am: Run "make dep-am".
...
* objdump.c: #include "bfdver.h".
* version.c: Likewise.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
2002-10-14 12:07:58 +00:00
Alan Modra
6d4eea05c7
* Makefile.in: Regenerate.
2002-10-14 12:06:23 +00:00
Alan Modra
6a0735efa4
* Makefile.am: Run "make dep-am".
...
(BFD_H_FILES): Remove version.h.
* bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move..
* version.h: ..to here.
* configure.in (bfd_version_date): Remove.
(AC_OUTPUT): Make bfdver.h from version.h.
* bfd.c: #include "bfdver.h".
* vms-hdr.c: Likewise.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
2002-10-14 12:06:04 +00:00
Alan Modra
ec266e19eb
* config/tc-v850.c (CHECK_): Remove token pasting operator.
2002-10-14 11:28:57 +00:00
Alan Modra
7c3e3b337e
* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
2002-10-14 10:55:39 +00:00
Alan Modra
ea6a213a6f
* cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE.
2002-10-14 10:55:14 +00:00
Richard Sandiford
8f6847cbf4
* configure.in (mips64vr-elf, mips64vrel-elf): New config.
...
* configure: Regenerate.
2002-10-14 06:59:06 +00:00
Alan Modra
686e4055ef
* archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086,
...
bfd_mach_i386_i386_intel_syntax, bfd_mach_x86_64,
bfd_mach_x86_64_intel_syntax bfd_mach_ppc, bfd_mach_ppc64,
bfd_mach_rs6k, bfd_mach_d10v, bfd_mach_sh, bfd_mach_v850,
bfd_mach_arc_5, bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8,
bfd_mach_m32r, bfd_mach_frv, bfd_mach_frvsimple,
bfd_mach_ia64_elf64, bfd_mach_ia64_elf32,
bfd_mach_ip2022, bfd_mach_ip2022ext,
bfd_mach_s390_31, bfd_mach_s390_64, bfd_mach_xstormy16): Renumber.
* bfd-in2.h: Regenerate.
2002-10-14 05:16:42 +00:00
Kaz Kojima
019dca2bd0
* config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative
...
endian vector to targ_selvecs.
2002-10-14 02:12:36 +00:00
Adam Fedor
46c82446e1
source.c (print_source_lines): Update comments.
2002-10-14 02:12:04 +00:00
Adam Fedor
d069f99d46
valops.c (value_of_local): New function.
...
(value_of_this): Use it.
value.h (value_of_local): Declared.
2002-10-14 02:02:42 +00:00
Adam Fedor
53c551b7ca
parse.c: (length_of_subexp, prefixify_subexp): Handle
...
OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF.
2002-10-14 01:50:44 +00:00
gdbadmin
f9072f4138
*** empty log message ***
2002-10-14 00:01:02 +00:00
Alan Modra
e6f7ab6d94
daily update
2002-10-14 00:00:05 +00:00
Alexandre Oliva
10181a0dce
* config/tc-mips.c (s_gpdword): New function.
...
(mips_pseudo_table): Add .gpdword.
(mips_need_elf_addend_fixup): never for NEWABI.
(md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
GPREL32 as done.
(s_cpadd): Generate .cpadd on NEWABI.
2002-10-13 21:22:49 +00:00