aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-07-20 * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.Hans-Peter Nilsson20-426/+1524
(ALL_MACHINES_CFILES): Add cpu-cris.c. (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo. (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c. (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules. * Makefile.in: Rebuild. * aclocal.m4: Rebuild. * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris. * archures.c (enum bfd_architecture): Add bfd_arch_cris. (bfd_cris_arch): Declare. (bfd_archures_list): Add bfd_cris_arch. * bfd-in2.h: Rebuild. * config.bfd: (cris-*-*): New target. * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors. * configure: Rebuild. * elf.c (prep_headers): Add bfd_arch_cris. * libbfd.h: Rebuild. * libaout.h (enum machine_type): Add M_CRIS. * reloc.c: Add CRIS relocations. * targets.c (bfd_target bfd_elf32_cris_vec, cris_aout_vec): Declare. (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec. * cpu-cris.c, aout-cris.c, elf32-cris.c: New files. * po/POTFILES.in, po/bfd.pot: Regenerate.
2000-07-202000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-17/+23
* emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): Print out ignored -z options.
2000-07-20 common.h (EM_CRIS): New machine number.Hans-Peter Nilsson3-0/+50
cris.h: New file.
2000-07-20 cris.h: New file.Hans-Peter Nilsson2-0/+302
2000-07-20 * dis-asm.h (print_insn_cris): Declare.Hans-Peter Nilsson2-0/+5
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu6-52/+201
* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. (PARSE_AND_LIST_PROLOGUE): New. (PARSE_AND_LIST_LONGOPTS): Likewise. (PARSE_AND_LIST_OPTIONS): Likewise. (PARSE_AND_LIST_ARGS_CASES): Likewise. * ldmain.c (main): Clear link_info.flags and link_info.flags_1. * lexsup.c (ld_options): Comment out 'z'. (parse_args): Likewise. * emultempl/elf32.em: Include "elf/common.h". (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z options. (gld_${EMULATION_NAME}_list_options): Likewise. * ld.texinfo: Add documentation for the recognized -z options.
2000-07-202000-07-19 H.J. Lu (hjl@gnu.org)H.J. Lu2-0/+10
* bfdlink.h (bfd_link_info): Add flags and flags_1.
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu13-1/+50
* elf32-arm.h (elf32_arm_size_dynamic_sections): Also set DF_TEXTREL if DT_TEXTREL is set. * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise. * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. * bfd/elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if DT_RPATH is set. Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+17
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call bfd_elf_set_dt_needed_soname ().
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu6-1/+91
* bfd-in.h (bfd_elf_set_dt_needed_soname): New. * bfd-in2.h: Rebuild. * elf-bfd.h (elf_obj_tdata): Add dt_soname. (elf_dt_soname): New. * elf.c (bfd_elf_set_dt_needed_soname): New. * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED entry if the shared object loaded by DT_NEEDED is used to resolve the reference in a regular object.
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+38
* readelf.c (get_dynamic_type): Change "AUXILARY" to "AUXILIARY". (process_dynamic_segment): Print out strings for DT_CONFIG, DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+8
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG, DT_DEPAUDIT and DT_AUDIT as strings.
2000-07-20Change output of `nm --help' to include a description of the purpose of theNick Clifton3-116/+177
program and a detailed description of the accepted options.
2000-07-20Fix formattingNick Clifton2-116/+149
2000-07-20* m16.igen (break): Call SignalException not sim_engine_halt.Andrew Cagney2-1/+5
2000-07-19 * thread.c (free_thread): New function.Nicholas Duffek2-15/+26
(init_thread_list): Always zero highest_thread_num. Call free_thread() instead of free(). (delete_thread): Move thread cleanup code to free_thread().
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+8
* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB to DF_1_NODEFLIB.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+5
* elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+5
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-11/+9
* common.h (DT_CHECKSUM): Set to 0x6ffffdf8. (DTF_1_CONFEXP): It is 0x00000002 as suspected.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+42
* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to DT_FEATURE. (process_dynamic_segment): Likewise. * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT, DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM. (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB, DF_1_NODUMP and DF_1_CONLFAT.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+40
* common.h (DT_FEATURE): Renamed from DT_FEATURE_1. (DT_CONFIG): New. From Solaris 8. (DT_DEPAUDIT): Likewise. (DT_AUDIT): Likewise. (DT_PLTPAD): Likewise. (DT_MOVETAB): Likewise. (DF_1_NODEPLIB): Likewise. (DF_1_NODUMP): Likewise. (DF_1_CONLFAT): Likewise. (DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8. (DTF_1_CONFEXP): Likewise.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+41
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW, DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ, DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ, DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1, DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT, DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT, DT_FLAGS_1, DT_USED and DT_CHECKSUM.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+7
* sb.c: Include <stdlib.h> if exists for abort ().
2000-07-192000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni6-662/+1273
Multiarch the sh target. * sh-tdep.c: (sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names, sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table): Remove. (XMALLOC): Define. (struct frame_extra_info): Define. (sh_register_raw_size, sh_register_virtual_size, sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc, sh_frame_saved_pc, sh_skip_prologue, sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs, sh_extract_struct_value_address, sh_use_struct_convention, sh_store_struct_return, sh_push_arguments, sh_push_return_address, sh_saved_pc_after_call, sh_generic_register_name, sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name, sh_sh_dsp_register_name, sh_sh3_dsp_register_name, sh_frame_args_address, sh_frame_locals_address, sh_coerce_float_to_double, sh_default_store_return_value, sh3e_sh4_store_return_value, sh_generic_show_regs, sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, sh_register_byte, sh_register_raw_size, sh_register_virtual_size, sh_sh3e_register_virtual_type, sh_default_register_virtual_type, sh_gdbarch_init): New functions. (sh_target_architecture_hook, sh_frame_find_saved_regs, sh_show_regs): Delete functions. (sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info, sh_pop_frame, sh_extract_return_value): Update * config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1. (struct gdbarch_tdep): Define. Remove all unnecessary defines. * remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1, for h8300 case. (want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature consistent. (e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use runtime check instead. (e7000_wait): Ditto. * sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR and SPC register numbers. (sh3_regnames, sh3e_regnames): Don't specify a size. * config/h8300/tm-h8300.h: Add comment.
2000-07-19#ifdef OBJ_SOM, not #ifdef SOMAlan Modra2-16/+23
2000-07-19Fix typos.Alan Modra1-26/+26
2000-07-19Fix a couple of HPPA SOM test failures.Alan Modra3-4/+15
Re-enable some tests for hppa-linux.
2000-07-19* solib.c (elf_locate_base, info_sharedlibrary_command): RenameAndrew Cagney2-2/+7
bfd_elf_get_arch_size to bfd_get_arch_size.
2000-07-19Fix typo.Christopher Faylor1-1/+1
2000-07-192000-07-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS.
2000-07-19* pe-dll.c (pe_dll_id_target): check object target name alsoDJ Delorie2-1/+6
2000-07-18Fix expected results to match current assembler output.Nick Clifton2-10/+15
2000-07-18Rename bfd_elf_get_arch_size to bfd_get_arch_sizeNick Clifton6-81/+127
Rename bfd_elf_get_sign_extend_vma to bfd_get_sign_extend_vma
2000-07-18Fix spelling typo.Nick Clifton2-1/+5
2000-07-182000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2-2/+8
* elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add paranthesis in if statement.
2000-07-18From Richard Henderson <rth@cygnus.com>:Andrew Cagney2-4/+12
* dwarf2read.c (dwarf2_empty_hash_tables): Renamed from dwarf2_empty_die_ref_table; zero dwarf2_cached_types as well. Update all callers.
2000-07-17Don't merge labels. Don't merge if the symbol isn't constant. Don't callNick Clifton2-10/+22
S_SET_EXTERNAL if the storage class is already set.
2000-07-17 * scripttempl/elf.sc (.init): Only do ${INIT_START} andHans-Peter Nilsson2-4/+10
${INIT_END} if relocating. (.fini): Likewise ${FINI_START} and ${FINI_END}.
2000-07-17Additions due to recent changesNick Clifton1-314/+315
2000-07-17Fix formatting.Nick Clifton2-98/+73
2000-07-17Fix formatting.Nick Clifton3-281/+260
2000-07-17Fix formatting.Nick Clifton3-265/+323
2000-07-17Fix formattingNick Clifton2-102/+78
2000-07-17modify error messageDaniel Berlin2-4/+9
2000-07-172000-07-17 Koundinya K <kk@ddeorg.soft.net>Ulf Carlsson2-150/+250
Enable the support for Traditional MIPS. * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand return ict_none appropriately for traditional mips targets. (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips. (STUB_MOVE): Conditionalize for traditonal mips. (STUB_LI16): Likewise. (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making room for RTPROC header. (_bfd_mips_elf_modify_segment_map): For a normal mips executable set the permission for the PT_DYNAMIC as read, write and execute. (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING for traditonal mips. (_bfd_mips_elf_create_dynamic_sections): Add the symbol _DYNAMIC_LINKING for traditonal mips. (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP in case of traditonal mips. (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT entry is required. For a function if PLT is not required then set the corresponding hash table entry to 0. (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for traditonal mips. (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a shared object set the value to 0. (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol _DYNAMIC_LINKING for traditonal mips. (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP for traditonal mips.
2000-07-17* src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New searchDJ Delorie2-7/+31
order for dynamic library '-lfoo' on pei386: libfoo.dll.a, foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility errors introduced by the old dynamic lib search order.
2000-07-17* pe-dll.c (process_def_file): auto-export data items alsoDJ Delorie2-3/+14
(pe_process_import_defs): also see if _imp_ form needed
2000-07-172000-07-17 matthew green <mrg@redhat.com>J.T. Conklin2-0/+7
* config/sparc/nm-nbsd.h (GDB_GREGSET_T, GDB_FPREGSET_T): Define.