ChangeLog-9495 (60484) | ChangeLog-9495 (89857) |
---|---|
1Thu Dec 21 12:43:49 1995 Michael Meissner <meissner@tiktok.cygnus.com> 2 3 * elf32-ppc.c (ppc_elf_howto_raw): Add a phony reloc to handle the 4 old style TOC16 references without using R_PPC_GOT. 5 (ppc_reloc_type): Ditto. 6 (ppc_elf_reloc_type_lookup): Add support for TOC16. 7 (ppc_elf_toc16_inner): Renamed from ppc_elf_got16_inner. 8 (ppc_elf_toc16_reloc): Renamed from ppc_elf_toc16_reloc. --- 164 unchanged lines hidden (view full) --- 173 * elf.c (assign_file_positions_for_segments): Sort the sections in 174 each segment. 175 (get_program_header_size): Return the right size if segment_map is 176 not NULL. 177 (copy_private_bfd_data): Don't bother to sort the sections. 178 179 * bfd.c (bfd_record_phdr): New function. 180 * bfd-in.h (bfd_record_phdr): Declare. | 1Thu Dec 21 12:43:49 1995 Michael Meissner <meissner@tiktok.cygnus.com> 2 3 * elf32-ppc.c (ppc_elf_howto_raw): Add a phony reloc to handle the 4 old style TOC16 references without using R_PPC_GOT. 5 (ppc_reloc_type): Ditto. 6 (ppc_elf_reloc_type_lookup): Add support for TOC16. 7 (ppc_elf_toc16_inner): Renamed from ppc_elf_got16_inner. 8 (ppc_elf_toc16_reloc): Renamed from ppc_elf_toc16_reloc. --- 164 unchanged lines hidden (view full) --- 173 * elf.c (assign_file_positions_for_segments): Sort the sections in 174 each segment. 175 (get_program_header_size): Return the right size if segment_map is 176 not NULL. 177 (copy_private_bfd_data): Don't bother to sort the sections. 178 179 * bfd.c (bfd_record_phdr): New function. 180 * bfd-in.h (bfd_record_phdr): Declare. |
181 * bfd_in2.h: Rebuild. | 181 * bfd-in2.h: Rebuild. |
182 183 * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus 184 BFD_ASSERT. 185 186 * libbfd.c (bfd_malloc, bfd_realloc): New functions. 187 (bfd_zmalloc): Return PTR, not char *. Take size_t, not 188 bfd_size_type. 189 * libbfd-in.h (bfd_malloc, bfd_realloc): Declare. --- 212 unchanged lines hidden (view full) --- 402 * targets.c (m68k4knetbsd_vec): Declare. 403 404Wed Nov 15 18:05:52 1995 Ian Lance Taylor <ian@cygnus.com> 405 406 * targets.c (bfd_target): Change type of second argument to 407 _bfd_print_private_bfd_data from void * to PTR. 408 * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast 409 using PTR rather than void *. | 182 183 * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus 184 BFD_ASSERT. 185 186 * libbfd.c (bfd_malloc, bfd_realloc): New functions. 187 (bfd_zmalloc): Return PTR, not char *. Take size_t, not 188 bfd_size_type. 189 * libbfd-in.h (bfd_malloc, bfd_realloc): Declare. --- 212 unchanged lines hidden (view full) --- 402 * targets.c (m68k4knetbsd_vec): Declare. 403 404Wed Nov 15 18:05:52 1995 Ian Lance Taylor <ian@cygnus.com> 405 406 * targets.c (bfd_target): Change type of second argument to 407 _bfd_print_private_bfd_data from void * to PTR. 408 * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast 409 using PTR rather than void *. |
410 * bfd-in2, libbfd.h: Rebuild. | 410 * bfd-in2.h, libbfd.h: Rebuild. |
411 * peicode.h (pe_print_private_bfd_data): Change vfile from void * 412 to PTR. 413 * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as 414 _bfd_generic_bfd_print_private_bfd_data rather than casting 415 bfd_true. 416 417Wed Nov 15 04:09:14 1995 Ken Raeburn <raeburn@cygnus.com> 418 --- 1933 unchanged lines hidden (view full) --- 2352 (bfd_sparc_arch): Link in sparc64_arch_info. 2353 * elf64-sparc.c (sparc64_elf_xxx): Renamed from elf64_xxx. 2354 (sparc64_elf_object_p): New static function. 2355 (elf_backend_object_p): Define. 2356 * config/sparc64-elf.mt (SELECT_VECS): Add bfd_elf32_sparc_vec. 2357 2358Sat Aug 5 00:04:08 1995 Jeff Law (law@snake.cs.utah.edu) 2359 | 411 * peicode.h (pe_print_private_bfd_data): Change vfile from void * 412 to PTR. 413 * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as 414 _bfd_generic_bfd_print_private_bfd_data rather than casting 415 bfd_true. 416 417Wed Nov 15 04:09:14 1995 Ken Raeburn <raeburn@cygnus.com> 418 --- 1933 unchanged lines hidden (view full) --- 2352 (bfd_sparc_arch): Link in sparc64_arch_info. 2353 * elf64-sparc.c (sparc64_elf_xxx): Renamed from elf64_xxx. 2354 (sparc64_elf_object_p): New static function. 2355 (elf_backend_object_p): Define. 2356 * config/sparc64-elf.mt (SELECT_VECS): Add bfd_elf32_sparc_vec. 2357 2358Sat Aug 5 00:04:08 1995 Jeff Law (law@snake.cs.utah.edu) 2359 |
2360 * som (som_get_reloc_upper_bound): Return -1 on error. Compute | 2360 * som.c (som_get_reloc_upper_bound): Return -1 on error. Compute |
2361 return value with sizeof (arelent *), not sizeof (arelent). 2362 2363Wed Aug 2 12:32:21 1995 Ian Lance Taylor <ian@cygnus.com> 2364 2365 * elf.c (bfd_section_from_shdr): If the section pointed to by the 2366 sh_link field of a reloc section is not a symbol table, and the 2367 file contains a single symbol table, clobber the sh_link field of 2368 the reloc section to point to the symbol table. --- 1960 unchanged lines hidden (view full) --- 4329 4330Thu Nov 17 17:37:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 4331 4332 * reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL. 4333 * bfd-in2.h, libbfd.h: Rebuilt. 4334 4335Thu Nov 17 13:12:08 1994 Jeff Law (law@snake.cs.utah.edu) 4336 | 2361 return value with sizeof (arelent *), not sizeof (arelent). 2362 2363Wed Aug 2 12:32:21 1995 Ian Lance Taylor <ian@cygnus.com> 2364 2365 * elf.c (bfd_section_from_shdr): If the section pointed to by the 2366 sh_link field of a reloc section is not a symbol table, and the 2367 file contains a single symbol table, clobber the sh_link field of 2368 the reloc section to point to the symbol table. --- 1960 unchanged lines hidden (view full) --- 4329 4330Thu Nov 17 17:37:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 4331 4332 * reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL. 4333 * bfd-in2.h, libbfd.h: Rebuilt. 4334 4335Thu Nov 17 13:12:08 1994 Jeff Law (law@snake.cs.utah.edu) 4336 |
4337 * bfd/elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the | 4337 * elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the |
4338 vma from the output_section containing $global$ when computing 4339 global_vlaue. 4340 4341Thu Nov 17 14:29:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 4342 4343 * archive.c (_bfd_write_archive_contents): Round up the archive 4344 header size of the extended name table to an even number. 4345 --- 3103 unchanged lines hidden (view full) --- 7449 7450Fri Apr 15 12:22:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7451 7452 * coff-a29k.c (reloc_processing): Always set the address of a 7453 R_IHCONST reloc to that of the immediately preceding R_IHIHALF. 7454 gas does this anyhow, but some other assemblers seem to leave 7455 garbage in the R_IHCONST address field. 7456 | 4338 vma from the output_section containing $global$ when computing 4339 global_vlaue. 4340 4341Thu Nov 17 14:29:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 4342 4343 * archive.c (_bfd_write_archive_contents): Round up the archive 4344 header size of the extended name table to an even number. 4345 --- 3103 unchanged lines hidden (view full) --- 7449 7450Fri Apr 15 12:22:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 7451 7452 * coff-a29k.c (reloc_processing): Always set the address of a 7453 R_IHCONST reloc to that of the immediately preceding R_IHIHALF. 7454 gas does this anyhow, but some other assemblers seem to leave 7455 garbage in the R_IHCONST address field. 7456 |
7457 * bfd/archive.c: Consistently use ARFMAG; from | 7457 * archive.c: Consistently use ARFMAG; from |
7458 schwab@issan.informatik.uni-dortmund.de (Andreas Schwab). 7459 (_bfd_write_archive_contents): Use ARFMAG rather than '`' and 7460 '\012'. 7461 (bsd_write_armap): Likewise. 7462 (coff_write_armap): Likewise. 7463 7464 * coff-mips.c (mips_relocate_section): When relaxing, adjust local 7465 relocs against the .text section as required. --- 836 unchanged lines hidden (view full) --- 8302 and buf. 8303 8304 * cisco-core.c (cisco_core_file_p): Only pass one argument to 8305 bfd_zmalloc. Free a pointer, not a union. 8306 (cisco_bfd_is_local_label): Correct cast from asection to asymbol. 8307 8308Sun Mar 20 09:24:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 8309 | 7458 schwab@issan.informatik.uni-dortmund.de (Andreas Schwab). 7459 (_bfd_write_archive_contents): Use ARFMAG rather than '`' and 7460 '\012'. 7461 (bsd_write_armap): Likewise. 7462 (coff_write_armap): Likewise. 7463 7464 * coff-mips.c (mips_relocate_section): When relaxing, adjust local 7465 relocs against the .text section as required. --- 836 unchanged lines hidden (view full) --- 8302 and buf. 8303 8304 * cisco-core.c (cisco_core_file_p): Only pass one argument to 8305 bfd_zmalloc. Free a pointer, not a union. 8306 (cisco_bfd_is_local_label): Correct cast from asection to asymbol. 8307 8308Sun Mar 20 09:24:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 8309 |
8310 * bfd/som.c (som_begin_writing): Fix thinko (off by one error). | 8310 * som.c (som_begin_writing): Fix thinko (off by one error). |
8311 8312 * som.c (bfd_section_from_som_symbol): Only to do the value 8313 comparison for function symbols within executables. 8314 8315 * som.c (bfd_section_from_som_symbol): Renamed from 8316 som_section_from_subspace_index. Pass in a native SOM symbol. 8317 For executables, iterate through the sections to find out 8318 which contains the symbol's address rather than using the --- 215 unchanged lines hidden (view full) --- 8534 8535 * som.c (som_prep_for_fixups): A relocation involving the section 8536 symbol for the *ABS* section is really a relocation involving 8537 no symbol. 8538 (som_slurp_symbol_table): Do not set BSF_GLOBAL or BSF_EXPORT for 8539 undefined symbols. Correctly distinguish between debugger symbols 8540 and section symbols. 8541 | 8311 8312 * som.c (bfd_section_from_som_symbol): Only to do the value 8313 comparison for function symbols within executables. 8314 8315 * som.c (bfd_section_from_som_symbol): Renamed from 8316 som_section_from_subspace_index. Pass in a native SOM symbol. 8317 For executables, iterate through the sections to find out 8318 which contains the symbol's address rather than using the --- 215 unchanged lines hidden (view full) --- 8534 8535 * som.c (som_prep_for_fixups): A relocation involving the section 8536 symbol for the *ABS* section is really a relocation involving 8537 no symbol. 8538 (som_slurp_symbol_table): Do not set BSF_GLOBAL or BSF_EXPORT for 8539 undefined symbols. Correctly distinguish between debugger symbols 8540 and section symbols. 8541 |
8542 * som (setup_sections): Set SEC_DEBUGGING and the section attributes | 8542 * som.c (setup_sections): Set SEC_DEBUGGING and the section attributes |
8543 for spaces and subspaces. 8544 8545 * som.c (som_bfd_count_ar_symbols): Fix typo. 8546 8547 * som.c (som_object_setup): Set EXEC_P, D_PAGED, WP_TEXT, and 8548 HAS_RELOC based on the object's magic number. 8549 (make_unique_section): Delete function. BFD and its users are 8550 prepared to handle multiple sections with the same name. --- 1031 unchanged lines hidden (view full) --- 9582 (_bfd_generic_link_add_one_symbol): Likewise. 9583 9584 * elfcode.h (swap_out_syms): Use elf_section_from_bfd_section to 9585 get the index of a common section, rather than always using 9586 SHN_COMMON (MIPS has multiple common sections). 9587 9588 * elf32-hppa.c (hppa_elf_gen_reloc_type): Typo (== for =). 9589 | 8543 for spaces and subspaces. 8544 8545 * som.c (som_bfd_count_ar_symbols): Fix typo. 8546 8547 * som.c (som_object_setup): Set EXEC_P, D_PAGED, WP_TEXT, and 8548 HAS_RELOC based on the object's magic number. 8549 (make_unique_section): Delete function. BFD and its users are 8550 prepared to handle multiple sections with the same name. --- 1031 unchanged lines hidden (view full) --- 9582 (_bfd_generic_link_add_one_symbol): Likewise. 9583 9584 * elfcode.h (swap_out_syms): Use elf_section_from_bfd_section to 9585 get the index of a common section, rather than always using 9586 SHN_COMMON (MIPS has multiple common sections). 9587 9588 * elf32-hppa.c (hppa_elf_gen_reloc_type): Typo (== for =). 9589 |
9590 * bfd/aoutx.h (aout_link_input_section_std, | 9590 * aoutx.h (aout_link_input_section_std, |
9591 aout_link_input_section_ext): Pass additional arguments to 9592 reloc_overflow callback. 9593 * coff-alpha.c (alpha_ecoff_get_relocated_section_contents, 9594 alpha_relocat_section): Likewise. 9595 * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. 9596 * coff-h8500.c (extra_case): Likewise. 9597 * coff-mips.c (mips_relocate_section): Likewise. 9598 * coff-z8k.c (extra_case): Likewise. --- 445 unchanged lines hidden --- | 9591 aout_link_input_section_ext): Pass additional arguments to 9592 reloc_overflow callback. 9593 * coff-alpha.c (alpha_ecoff_get_relocated_section_contents, 9594 alpha_relocat_section): Likewise. 9595 * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. 9596 * coff-h8500.c (extra_case): Likewise. 9597 * coff-mips.c (mips_relocate_section): Likewise. 9598 * coff-z8k.c (extra_case): Likewise. --- 445 unchanged lines hidden --- |