summaryrefslogtreecommitdiffstats
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* 2000-08-05 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-08-052-7/+677
| | | | | | | | | | | * elf32-i860 (elf32_i860_howto_table): New structure. (lookup_howto): New function. (elf32_i860_reloc_type_lookup): New function. (elf32_i860_info_to_howto_rela): New function. (elf_code_to_howto_index): New structure. (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela. (bfd_elf32_bfd_reloc_type_lookup): Re-define as elf32_i860_reloc_type_lookup.
* * som.c (struct fixup_format): Constify `format'.Jeff Law2000-08-042-285/+296
| | | | | | | | | | | | | | (som_hppa_howto_table): Use SOM_HOWTO macro. (try_prev_fixup, hppa_som_reloc): Decorate unused parameter. (som_bfd_reloc_type_lookup): Likewise. (compare_subspaces): Remove unused `count1', `count2'. (som_begin_writing): Remove unused `total_reloc_size'. (som_bfd_derive_misc_symbol_info): Decorate unused parameter. (som_print_symbol, som_bfd_is_local_label_name): Likewise. (som_set_reloc_info): Constify `cp'. Remove unused `addend'. (som_find_nearest_line): Decorate unused parameter(s). (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise. (som_bfd_link_split_section): Likewise.
* If the destination of a BLX instruction is aligned on a half word boundary,Nick Clifton2000-08-041-6/+15
| | | | set the H bit.
* Restore reverted code. Fix bug in reverted code which was eliminating tooNick Clifton2000-08-034-196/+335
| | | | many segments.
* 2000-08-03 H.J. Lu <hjl@gnu.org>H.J. Lu2000-08-034-184/+78
| | | | | | | | * section.c: Back out the change made by Nick Clifton <nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic binaries. * bfd-in2.h: Likewise. * elf.c: Likewise.
* * elf32-sh.c (sh_elf_reloc_loop): Warning removal.Alexandre Oliva2000-08-032-3/+7
|
* 2000-07-31 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-08-014-0/+138
| | | | | * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860. * bfd-in2.h, libbfd.h: Regenerate.
* Minor formatting fixes.Nick Clifton2000-07-318-248/+259
|
* Improve section to segment mapping code.Nick Clifton2000-07-314-70/+206
|
* 200007-22 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-07-281-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | * cpu-i860.c: Added comments. * elf32-i860.c (TARGET_LITTLE_SYM): Defined to bfd_elf32_i860_little_vec. (TARGET_LITTLE_NAME): Defined to "elf32-i860-little". (ELF_MAXPAGESIZE): Changed to 4096. * targets.c (bfd_elf32_i860_little_vec): Declaration of new target. (bfd_target_vector): Added bfd_elf32_i860_little_vec. * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added config for little endian elf32 i860. (targ_defvec): Define for the new config above as "bfd_elf32_i860_little_vec". (targ_selvecs): Define for the new config above as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec" * configure.in (bfd_elf32_i860_little_vec): Added recognition of new target vec. * configure: Regenerated.
* 2000-07-22 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-07-286-258/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/opcode/i860.h (btne, bte, bla): Changed these opcodes to use sbroff ('r') instead of split16 ('s'). (J, K, L, M): New operand types for 16-bit aligned fields. (ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to use I, J, K, L, M instead of just I. (T, U): New operand types for split 16-bit aligned fields. (st.x): Changed these opcodes to use S, T, U instead of just S. (andh, andnoth, orh, xorh): Deleted 3-register forms as they do not exist on the i860. (pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860. (pfeq.ss, pfeq.dd): New opcodes. (st.s): Fixed incorrect mask bits. (fmlow): Fixed incorrect mask bits. (fzchkl, pfzchkl): Fixed incorrect mask bits. (faddz, pfaddz): Fixed incorrect mask bits. (form, pform): Fixed incorrect mask bits. (pfld.l): Fixed incorrect mask bits. (fst.q): Fixed incorrect mask bits. (all floating point opcodes): Fixed incorrect mask bits for handling of dual bit. * include/elf/i860.h: New file. (elf_i860_reloc_type): Defined ELF32 i860 relocations. * bfd/cpu-i860.c: Added comments. * bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to bfd_elf32_i860_little_vec. (TARGET_LITTLE_NAME): Defined to "elf32-i860-little". (ELF_MAXPAGESIZE): Changed to 4096. * bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of new target. (bfd_target_vector): Added bfd_elf32_i860_little_vec. * bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added config for little endian elf32 i860. (targ_defvec): Define for the new config above as "bfd_elf32_i860_little_vec". (targ_selvecs): Define for the new config above as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec" * bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition of new target vec. * bfd/configure: Regenerated. * opcodes/i860-dis.c: New file. (print_insn_i860): New function. (print_br_address): New function. (sign_extend): New function. (BITWISE_OP): New macro. (I860_REG_PREFIX): New macro. (grnames, frnames, crnames): New structures. * opcodes/disassemble.c (ARCH_i860): Define. (disassembler): Add check for bfd_arch_i860 to set disassemble function to print_insn_i860. * include/dis-asm.h (print_insn_i860): Add prototype. * opcodes/Makefile.in (CFILES): Added i860-dis.c. (ALL_MACHINES): Added i860-dis.lo. (i860-dis.lo): New dependences. * opcodes/configure.in: New bits for bfd_i860_arch. * opcodes/configure: Regenerated.
* 2000-07-27 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-282-11/+32
| | | | | | | | | * elflink.h (elf_merge_symbol): Take one more argument, dt_needed, to indicate if the symbol comes from a DT_NEEDED entry. Don't overide the existing weak definition if dt_needed is true. (elf_link_add_object_symbols): Pass dt_needed to elf_merge_symbol ().
* Zero the allocated contents of reloc sections.Nick Clifton2000-07-272-2/+9
|
* * configure.host (*-*-aix*): AIX has 'long long' always.Geoffrey Keating2000-07-252-0/+6
|
* * coff-rs6000.c (xcoff_write_one_armap_big): New procedure.Geoffrey Keating2000-07-252-16/+106
| | | | | | (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps. (xcoff_write_archive_contents_big): Don't update the offset of the symbol table, xcoff_write_armap will do it.
* Regenerate auto-generated filesNick Clifton2000-07-248-400/+399
|
* 2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2000-07-232-3/+8
| | | | | * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead of dynobj for SGI_COMPAT checks.
* oops - omitted from previous deltaNick Clifton2000-07-211-0/+4
|
* Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.Nick Clifton2000-07-212-1/+98
|
* Detect and report corrupt relocsNick Clifton2000-07-212-0/+12
|
* 2000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-212-1/+7
| | | | | | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check info->new_dtags when setting DT_FLAGS_1. It will only be set by the new linker options. It shouldn't break anything.
* 2000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-212-1/+6
| | | | | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 only if info->new_dtags is true.
* 2000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-202-3/+9
| | | | | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
* Fix typo in CRIS entryHans-Peter Nilsson2000-07-201-2/+1
|
* * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.Hans-Peter Nilsson2000-07-2020-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-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-2013-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-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-206-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-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-202-3/+8
| | | | | * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG, DT_DEPAUDIT and DT_AUDIT as strings.
* Fix formattingNick Clifton2000-07-202-116/+149
|
* 2000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-192-3/+5
| | | | * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
* 2000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-192-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.
* Rename bfd_elf_get_arch_size to bfd_get_arch_sizeNick Clifton2000-07-186-81/+127
| | | | Rename bfd_elf_get_sign_extend_vma to bfd_get_sign_extend_vma
* 2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2000-07-182-2/+8
| | | | | * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add paranthesis in if statement.
* 2000-07-17 Koundinya K <kk@ddeorg.soft.net>Ulf Carlsson2000-07-172-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-15 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-152-0/+6
| | | | * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.
* * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writingDJ Delorie2000-07-122-5/+30
| | | | out a structure that is BFD_IN_MEMORY.
* Use section id in get_dyn_name.Alan Modra2000-07-123-17/+31
|
* Add function bfd_elf_get_sign_extend_vma.Andrew Cagney2000-07-114-0/+27
|
* The MIPS thinks that addresses are signed. Sign extend MIPS ECOFFAndrew Cagney2000-07-114-20/+39
| | | | addresses.
* * elfcode.h (elf_object_p): Use bfd_set_start_address and notAndrew Cagney2000-07-112-5/+20
| | | | | | bfd_get_start_address. (elf_swap_ehdr_in): Sign extend e_entry when applicable. (elf_swap_ehdr_out): Ditto.
* Add set of bfd_mach_ cases for compatibility with older binutilsNick Clifton2000-07-104-63/+94
|
* Ryan Bradetich's warning fixes.Alan Modra2000-07-103-20/+26
|
* Avoid negative section sequence ids.Alan Modra2000-07-102-3/+8
|
* 2000-07-09 Koundinya K <kk@ddeorg.soft.net>Ulf Carlsson2000-07-092-0/+49
| | | | | | | * elf32-mips.c (sort_dynamic_relocs): New Function. (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs via qsort to sort the dynamic relocations in increasing r_symndx value.
* Restore hppa-elf32 to working order.Alan Modra2000-07-0913-1312/+1407
|
* Add sequence id field to asection.Alan Modra2000-07-088-644/+671
| | | | Tidy comments and replace deprecated CONST with const.
* Don't add a space before `/*' when processing comments.Alan Modra2000-07-082-3/+8
|
* * archive.c (_bfd_write_archive_contents): Add an informativeDJ Delorie2000-07-072-0/+10
| | | | comment.
* Fix formattingNick Clifton2000-07-062-31/+26
|
* add MAINTAINERS filesDJ Delorie2000-07-052-0/+5
|
OpenPOWER on IntegriCloud