aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
2000-06-27Applied Marek Michalkiewicz <marekm@linux.org.pl>'s patch to ehance the AVR ↵Nick Clifton5-12/+39
port.
2000-06-27Fix formatting.Nick Clifton4-119/+113
2000-06-25Fix spelling typoNick Clifton1-1/+1
2000-06-24* elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'Alexandre Oliva2-2/+7
for local symbols whose names are unknown.
2000-06-22Ensure /usr/include and the like stay out of dependencies.Alan Modra4-6/+21
2000-06-202000-06-20 H.J. Lu <hjl@gnu.org>H.J. Lu3-10/+23
* Makefile.am: Rebuild dependency. * Makefile.in: Rebuild.
2000-06-202000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>Ulf Carlsson2-1/+29
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function. (elf_backend_copy_indirect_symbol): Map to the new function.
2000-06-20Correct pointer comparisons relying on NULL less than any other pointer.Alan Modra2-3/+10
Alexander Aganichev's fix for ieee.c
2000-06-202000-06-20 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson3-67/+188
* elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual sections elf_{text,data}_{section,symbol}. * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove. (_bfd_mips_elf_hide_symbol): New function. (elf_backend_hide_symbol): Map to the new function. (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD definitions of mips_elf_{text,data}_{section,symbol}. (mips_elf_local_relocation_p): Try to find the direct symbol based on new check_forced argument. (mips_elf_calculate_relocation): Use new version of mips_elf_local_relocation_p. (mips_elf_relocate_section): Likewise. (_bfd_mips_elf_relocate_section): Likewise. (mips_elf_sort_hash_table): Only assert that have enough GOT space. (mips_elf_got16_entry): Match all 32 bits to the existing GOT entry if the relocation based on the new external argument. (mips_elf_create_dynamic_relocation): Assert that we have a section contents allocated where we can swap out the dynamic relocations. (mips_elf_calculate_relocation): Find the real hash-table entry correctly by using h->root.root.type. Only create a dynamic relocation entry if the symbol is defined in a shared library. Create an external GOT entry for the GOT16 relocation if the symbol was forced local. (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a dynamic index if the symbol was forced local. 2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * elf32-mips.c: Fix typos in comments.
2000-06-19* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdefMark Kettenis2-0/+7
CORE_VERSION_1.
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton30-489/+1385
for m68hc11 and m68hc12 processors.
2000-06-192000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson5-8/+20
* elf_bfd.h (struct elf_backend_data): Add info argument to elf_backend_hide_symbol. (_bfd_elf_link_hash_hide_symbol): Likewise. * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise. * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise. * elflink.h (elf_link_add_object_symbols): Likewise. (elf_link_assign_sym_version): Likewise.
2000-06-182000-06-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+29
* coff-i386.c (coff_i386_reloc): Don't return in case of output_bfd == (bfd *) NULL if COFF_WITH_PE is defined. Compensate PE relocations when linking with non-PE object files to generate a non-PE executable.
2000-06-172000-06-17 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2-0/+18
* elf32-mips.c (mips_elf_calculate_relocation): Explicitly write GOT entries if we're doing a static link or -Bsymbolic link.
2000-06-162000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2-9/+45
* elflink.h (elf_link_adjust_relocs): Check for and call backend specifific swap_reloc_{in,out} and swap_reloca_{in,out} if available. (elf_link_output_relocs): Likewise. (elf_reloc_link_order): Likewise.
2000-06-16 * archures.c (enum bfd_architecture): #define constants forNicholas Duffek6-22/+213
PowerPc and RS6000 machine numbers. * bfd-in2.h: Regenerate. * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc and RS6000 machine numbers using #defined constants from archures.c. * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000 machine numbers using #defined constants from archures.c. Add entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify 64-bit words in 620 entry. * cpu-rs6000.c (arch_info_struct): Create with entries for RS1, RSC, and RS2. (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).