aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2000-07-24Regenerate auto-generated filesNick Clifton8-400/+399
2000-07-232000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2-3/+8
* elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead of dynobj for SGI_COMPAT checks.
2000-07-21oops - omitted from previous deltaNick Clifton1-0/+4
2000-07-21Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.Nick Clifton2-1/+98
2000-07-21Detect and report corrupt relocsNick Clifton2-0/+12
2000-07-212000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-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-212000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 only if info->new_dtags is true.
2000-07-202000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+9
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
2000-07-20Fix typo in CRIS entryHans-Peter Nilsson1-2/+1
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-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. 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-3/+8
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG, DT_DEPAUDIT and DT_AUDIT as strings.
2000-07-20Fix formattingNick Clifton2-116/+149
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-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-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-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-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-152000-07-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+6
* aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.
2000-07-12* libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writingDJ Delorie2-5/+30
out a structure that is BFD_IN_MEMORY.
2000-07-12Use section id in get_dyn_name.Alan Modra3-17/+31
2000-07-11Add function bfd_elf_get_sign_extend_vma.Andrew Cagney4-0/+27
2000-07-11The MIPS thinks that addresses are signed. Sign extend MIPS ECOFFAndrew Cagney4-20/+39
addresses.
2000-07-11* elfcode.h (elf_object_p): Use bfd_set_start_address and notAndrew Cagney2-5/+20
bfd_get_start_address. (elf_swap_ehdr_in): Sign extend e_entry when applicable. (elf_swap_ehdr_out): Ditto.
2000-07-10Add set of bfd_mach_ cases for compatibility with older binutilsNick Clifton4-63/+94
2000-07-10Ryan Bradetich's warning fixes.Alan Modra3-20/+26
2000-07-10Avoid negative section sequence ids.Alan Modra2-3/+8
2000-07-092000-07-09 Koundinya K <kk@ddeorg.soft.net>Ulf Carlsson2-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.
2000-07-09Restore hppa-elf32 to working order.Alan Modra13-1312/+1407
2000-07-08Add sequence id field to asection.Alan Modra8-644/+671
Tidy comments and replace deprecated CONST with const.
2000-07-08Don't add a space before `/*' when processing comments.Alan Modra2-3/+8
2000-07-07* archive.c (_bfd_write_archive_contents): Add an informativeDJ Delorie2-0/+10
comment.
2000-07-06Fix formattingNick Clifton2-31/+26
2000-07-05add MAINTAINERS filesDJ Delorie2-0/+5
2000-07-04* coff-arm.c (coff_arm_relocate_section): Do not ignore the symbolAlexandre Oliva2-0/+12
value of PC-relative offsets.
2000-07-04Fix hash section entry size to match ELF standard. Override for alpha-linux.Jim Wilson3-1/+40
* elf64-alpha.c (alpha_elf_size_info): New. (elf_backend_size_info): Define to alpha_elf_size_info. * elfcode.h (elf_size_info): Change hash bucket size to 4.
2000-07-042000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson1-0/+5
* elf32-mips.c: Include elf32-target.h again for the traditional MIPS targets.
2000-07-032000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson1-0/+17
* elf32-mips.c: Include elf32-target.h again for the traditional MIPS targets.
2000-07-03Tidy up formatting.Nick Clifton2-8/+17
Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
2000-07-03Fix typo in previous deltaNick Clifton1-2/+2
2000-07-03Turn a weak symbol into an external symbol for a non-shared, non-relocatableNick Clifton2-15/+36
link.
2000-07-03Fix formatting of reloc16.cNick Clifton7-289/+276
Regernate generated files.
2000-07-022000-07-01 Koundinya K <kk@ddeorg.soft.net>Ulf Carlsson6-14/+38
* config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4* to add a new target for traditional mips i.e bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec. * configure.in: Likewise. * configure: Rebuild. * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in bfd_target_vector. (bfd_elf32_tradlittlemips_vec): Likewise. * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test to see that elfNN_bed does not get redefined even if the target file is included twice for a chip. See elf32-mips.c.
2000-07-01Fix 2000-06-22. grep after running dep.sedAlan Modra3-8/+16
2000-06-30* peicode.h (coff_swap_filehdr_in): can't use e_magic because weDJ Delorie1-0/+5
can't assume the PE header is at 0x80.
2000-06-30* peicode.h (coff_swap_filehdr_in): can't use e_magic because weDJ Delorie1-0/+5
can't assume the PE header is at 0x80. * coff/pe.h: clarify a comment
2000-06-29typoDJ Delorie1-1/+1
2000-06-29* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.DJ Delorie2-1/+5
2000-06-28* go32stub.h: Update stub.DJ Delorie2-118/+122