Kazu Hirata
86b1cc60c0
2000-10-09 Kazu Hirata <kazu@hxi.com>
* pe-dll.c: Fix formatting.
26 years ago
Kazu Hirata
d643799dab
2000-10-08 Kazu Hirata <kazu@hxi.com>
* pe-dll.c: Fix formatting.
26 years ago
Hans-Peter Nilsson
d63083ef85
* ld-selective/selective.exp: Rearrange to be table-driven.
26 years ago
Ben Elliston
a8d894af63
* usability improvements
2000-10-08 Ben Elliston <bje@redhat.com>
* cgen-utils.c (cgen_rtx_error): New function.
2000-10-07 Ben Elliston <bje@redhat.com>
* cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
conditions for sim_core_read_buffer().
26 years ago
Ben Elliston
454313e5ed
Whitespace tweak: replace leading spaces with a hard tab.
26 years ago
Alan Modra
dc1fc56bde
(md_apply_fix): Remove bad assert added 2000-09-26.
26 years ago
Alan Modra
dc149a6d17
* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too
26 years ago
Alan Modra
fc8c40a057
Cure a number of segfaults caused by /DISCARD/ of dynamic sections.
26 years ago
Alan Modra
44852b190c
Make elf section symbols global for link-once sections.
26 years ago
Kevin Buettner
d742f2c220
Protoization.
26 years ago
DJ Delorie
3e4554a206
* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
* coffcode.h (coff_set_alignment_hook): read extended reloc count
(coff_write_relocs): write extended reloc count
(coff_write_object_contents): account for extended relocs
26 years ago
Dave Brolley
fb27a91c6c
2000-10-06 Dave Brolley <brolley@redhat.com>
* sem.c: Regenerated.
* sem-switch.c: Regenerated.
* semx-switch.c: Regenerated.
26 years ago
Dave Brolley
ce852dd37c
2000-10-06 Dave Brolley <brolley@redhat.com>
* sem.c: Regenerated.
* sem-switch.c: Regenerated.
26 years ago
Dave Brolley
f40c3ea3c7
2000-10-06 Dave Brolley <brolley@redhat.com>
* fr30-desc.h: Regenerate.
* m32r-desc.h: Regenerate.
* m32r-ibld.c: Regenerate.
26 years ago
Jim Wilson
fa152c4930
Preserve machine dependent section header flags when reading ELF object file.
* elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
field.
* elf.c (_bfd_elf_make_section_from_shdr): Call the
elf_backend_section_flags function.
* elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
code.
(elf64_ia64_section_flags): New function containing flag conversion
code.
(elf_backend_section_flags): Define to elf64_ia64_section_flags.
* elfxx-target.h (elf_backend_section_flags): Define.
(elfNN_bed): Initialize elf_backend_section_flags field.
26 years ago
Jim Wilson
afa680f89a
Minor DV table update, minor DV checking bug fix.
* config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
* ia64-ic.tbl: Update from Intel.
* ia64-asmtab.c: Regenerate.
26 years ago
Kazu Hirata
08da4cac4a
2000-10-05 Kazu Hirata <kazu@hxi.com>
* ldlang.c: Fix formatting.
26 years ago
Alan Modra
ce8a8b2f62
Correct handling of non-global syms in linkonce sections.
Tidy a few comments.
26 years ago
Kevin Buettner
077276e87b
Add a limit parameter for scanning the prologue.
26 years ago
Kazu Hirata
d1e28e240d
2000-10-04 Kazu Hirata <kazu@hxi.com>
* ia64-gen.c: Convert C++-style comments to C-style comments.
* tic54x-dis.c: Likewise.
26 years ago
Alan Modra
56d27c17b8
Excise C++ style comments.
26 years ago
Kevin Buettner
69dc947abb
Protoization.
26 years ago
DJ Delorie
c2a94a7afd
* pe-dll.c (fill_edata): initialize entire block
(make_one): fill in correct section.
26 years ago
Kazu Hirata
8c95a62eae
2000-10-03 Kazu Hirata <kazu@hxi.com>
* ldexp.c: Fix formatting.
26 years ago
DJ Delorie
486e80e2d5
* emultempl/pe.em (gld_*_after_open): detect case where there two
import libraries for same dll; rename one to ensure proper link
order.
* pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
typo
(generate_edata): fix typo
26 years ago
Alan Modra
65420b22d1
Remove some hppa-elf fudges.
26 years ago
Alan Modra
36605136d4
Correct call to _bfd_elf32_gc_record_vtable.
26 years ago
Ulf Carlsson
4b6609a057
2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
From Ralf Baechle <ralf@gnu.org>
* elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
produces binaries with got[1] = 0x80000001 to differenciate them
for the dynamic linker from the broken binaries produced by old
versions.
26 years ago
Kevin Buettner
e082ddcac6
Protoization.
26 years ago
Alexandre Oliva
d64552c589
* ltconfig, ltmain.sh, libtool.m4: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt
all affected `configure' scripts.
26 years ago
Kevin Buettner
8ae45c112d
Make definitions of supply_gregset, fill_gregset, supply_fpregset,
and fill_fpregset match declarations in gregset.h.
26 years ago
Kevin Buettner
d0849a9a5a
Protoization.
26 years ago
Alan Modra
f572a39d15
Support for Unixware 7.1.x pxstatus_t and lwpxstatus_t.
26 years ago
Hans-Peter Nilsson
24dd9f7582
* scripttempl/crisaout.sc (ENTRY): Now __start.
(.text): Add default setting for __start.
Remove CONSTRUCTORS handling.
(/DISCARD/): Add .gnu.warning.*.
* emulparams/crislinux.sh (ENTRY): Now __start.
(TEXT_START_SYMBOLS): New; provide __Stext and __start default.
* emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
(ENTRY): Now __start.
(INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
(EXECUTABLE_SYMBOLS): Add default setting for __start.
26 years ago
Hans-Peter Nilsson
2e968471c5
Oops. Forgot to commit ChangeLog
26 years ago
Hans-Peter Nilsson
37260204fd
* gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s,
gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
gas/cris/us-err-1.s, gas/cris/us-err-2.s, gas/cris/us-err-3.s: New.
* gas/cris/cris.exp: Loop run_dump_test over files matching rd-*.d.
26 years ago
Hans-Peter Nilsson
b4db717d67
Correct date of checkin
26 years ago
Hans-Peter Nilsson
78966507d6
Changes to add dollar prefix to registers for files where user symbols
don't have a leading underscore. Fix formatting.
* cris-dis.c (REGISTER_PREFIX_CHAR): New.
(format_reg): Add parameter with_reg_prefix. All callers changed.
(print_with_operands): Ditto.
(print_insn_cris_generic): Renamed from print_insn_cris, add
parameter with_reg_prefix.
(print_insn_cris_with_register_prefix,
print_insn_cris_without_register_prefix, cris_get_disassembler):
New.
* disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
26 years ago
Hans-Peter Nilsson
fc7372e2a7
* dis-asm.h: Declare cris_get_disassembler, not print_insn_cris.
Fix typo in comment.
26 years ago
Hans-Peter Nilsson
7b15d66830
Changes to handle varying register prefix and user symbol prefix.
* config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
(s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
(demand_register_prefix): New variable.
(md_pseudo_table): New pseudo ".syntax".
(md_longopts): New options --no-underscore and --underscore.
(cris_target_format): Return elf32-us-cris or elf32-cris depending
on symbols_have_leading_underscore.
(get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
(get_spec_reg): Ditto.
(cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
Fix formatting.
(md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
--help.
<case OPTION_NO_US, case OPTION_US>: New.
(md_show_usage): Be brief and reformat to match continuation of
--help.
* po/gas.pot: Regenerate.
26 years ago
Hans-Peter Nilsson
4da816844a
Define two bfd_targets for absence and presence of leading
underscore on symbols. Make sure to only link same kind.
* elf32-cris.c (cris_elf_object_p,
cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
cris_elf_merge_private_bfd_data): New.
(elf_backend_object_p, elf_backend_final_write_processing,
bfd_elf32_bfd_print_private_bfd_data,
bfd_elf32_bfd_merge_private_bfd_data): Define.
<Target vector definition>: Include elf32-target.h twice with
different macro settings:
(TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
bfd_elf32_us_cris_vec.
(TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
(elf_symbol_leading_char): First as 0, then '_'.
(INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
* config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
* configure: Regenerate.
* targets.c: Declare bfd_elf32_us_cris_vec.
* po/bfd.pot: Regenerate.
26 years ago
Hans-Peter Nilsson
f680e9734e
* cris.h (EF_CRIS_UNDERSCORE): New.
26 years ago
Alan Modra
9a5aca8c9c
(arm_add_to_rel): Fix R_ARM_THM_PC22 relocations.
26 years ago
Kazu Hirata
5cc18311d9
2000-09-29 Kazu Hirata <kazu@hxi.com>
* deffile.h: Fix formatting.
* ld.h: Likewise.
* ldctor.h: Likewise.
* ldemul.h: Likewise.
* ldexp.h: Likewise.
* ldfile.h: Likewise.
* ldlang.h: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.
26 years ago
Alan Modra
512a2384fe
* elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
26 years ago
Kazu Hirata
4de2d33d1b
2000-09-29 Kazu Hirata <kazu@hxi.com>
* ldcref.c: Fix formatting.
* ldctor.c: Likewise.
* ldemul.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
26 years ago
Alan Modra
ef6acf5b5f
That'll teach me not to type little patches in by hand. Get
the parentheses right.
26 years ago
Alan Modra
6c99a5c30b
(elf_fake_sections): Do not mark the section SHT_NOBITS if
is has the SEC_HAS_CONTENTS flag set.
26 years ago
Hans-Peter Nilsson
bd0110a3cb
* ld-selective/5.cc: New test.
* ld-selective/selective.exp: Run it as xfailed.
* ld-selective/4.cc: Correct spelling of "lose".
26 years ago
Hans-Peter Nilsson
b16885a132
* aout-cris.c (N_TXTADDR): Define.
26 years ago