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
Alexandre Oliva
bce03d3da8
* elfxx-mips.c (mips_elf_calculate_relocation): Take
...
save_addend argument. Don't apply the 32-bit mask to a
GPREL32 value if it's to be used in another relocation. Don't
use forced-check computation of local_p to decide whether to
add gp0 to GPREL16 value. Don't use only the lowest 16 bits
of the addend of a non-in-place GPREL16 relocation.
(_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to
mips_elf_calculate_relocation().
2002-10-13 21:22:31 +00:00
Stephane Carrez
e1026ffb69
* scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
...
.finiN section.
* scripttempl/elfm68hc12.sc: Likewise.
2002-10-13 09:29:35 +00:00
Stephane Carrez
ac8c616a59
* m68hc11-dis.c (print_insn): Treat bitmask and branch operands
...
at the end.
2002-10-13 09:01:54 +00:00
gdbadmin
98db497e71
*** empty log message ***
2002-10-13 00:00:33 +00:00
Alan Modra
0b48e3df50
daily update
2002-10-13 00:00:04 +00:00
Adam Fedor
eb392fbf33
language.c (binop_result_type): Add language_objc to case.
...
(integral_type): Likewise.
(character_type): Likewise.
(string_type): Likewise.
(boolean_type): Likewise.
(structured_type): Likewise.
(binop_type_check): Likewise.
2002-10-12 16:03:30 +00:00
H.J. Lu
f9a3a01aef
2002-10-12 H.J. Lu (hjl@gnu.org)
...
* ld-discard/extern.d: Remove $srcdir/$subdir/.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
* ld-linkonce/zeroehl32.d: Likewise.
* ld-selective/keepdot.d: Likewise.
* ld-selective/keepdot0.d: Likewise.
2002-10-12 15:40:13 +00:00
Stephane Carrez
9b691193ef
* elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs
...
with symbols in other sections if we relaxed something; the sections
output offsets must be re-computed before.
2002-10-12 14:00:55 +00:00
Stephane Carrez
1f4c5b4746
* elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbols
...
handling to use Elf_Internal_Sym.
(m68hc11_elf_relax_delete_bytes): Likewise.
2002-10-12 13:35:25 +00:00
Alan Modra
49181a6af7
* config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
2002-10-12 10:23:17 +00:00
Alexandre Oliva
63d0b39325
* gas/mips/mips.exp: Don't xfail relax.
...
* gas/mips/relax.s: Increase coverage.
* gas/mips/relax.d: Add expected output. Use relax.l for as stderr.
* gas/mips/relax.l: New file.
2002-10-12 05:26:56 +00:00
Alexandre Oliva
4a6a3df43d
* config/tc-mips.h (mips_relax_frag): Take segment as argument.
...
(md_relax_frag): Adjust macro.
* config/tc-mips.c (mips_relax_branch): New variable.
(RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
(RELAX_MIPS16_P): Adjust.
(append_insn): Emit branch to non-constant in a frag_var if
branch-relaxation is desirable and possible.
(OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
(OPTION_ELF_BASE): Adjust.
(md_parse_option): Handle new options.
(md_apply_fix3): Update comment on EMBEDDED_PIC conditional
branch relaxation.
(relaxed_branch_length): New function.
(md_estimate_size_before_relax): Handle branch frags.
(mips_relax_frag): Likewise.
(md_convert_frag): Handle branch frags. Warn if branch is
relaxed.
2002-10-12 05:23:33 +00:00