2013-07-10 16:16:34 +08:00
|
|
|
|
2013-07-10 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* rs6000.h (external_core_dumpx): New structure.
|
|
|
|
|
(external_ld_info32): Ditto.
|
|
|
|
|
|
2013-07-02 15:27:41 +08:00
|
|
|
|
2013-07-02 Tristan Gingold <gingold@adacore.com>
|
2013-07-10 16:16:34 +08:00
|
|
|
|
|
2013-07-02 15:27:41 +08:00
|
|
|
|
* internal.h (C_STTLS, C_GTLS): Define.
|
|
|
|
|
* xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define.
|
|
|
|
|
|
2013-02-04 13:25:41 +08:00
|
|
|
|
2013-02-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ti.h (SWAP_OUT_RELOC_EXTRA): Define.
|
|
|
|
|
|
2013-01-02 21:20:50 +08:00
|
|
|
|
2013-01-02 Martin Storsjo <martin@martin.st>
|
|
|
|
|
|
|
|
|
|
* arm.h (ARMV7PEMAGIC): Define.
|
|
|
|
|
(ARMBADMAG): Update.
|
|
|
|
|
|
2011-06-02 21:43:23 +08:00
|
|
|
|
2011-06-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* i860.h: Fix spelling mistake in comment.
|
|
|
|
|
|
2011-05-04 19:05:14 +08:00
|
|
|
|
2011-05-04 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* rs6000.h (union external_auxent): Add x_ftype field.
|
|
|
|
|
* rs6k64.h: (struct external_auxent): Remap x_file field.
|
|
|
|
|
|
2011-05-04 14:53:38 +08:00
|
|
|
|
2011-05-04 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* rs6000.h (struct external_exceptab): New struct.
|
|
|
|
|
(EXCEPTSZ): New macro.
|
|
|
|
|
* rs6k64.h: (struct external_exceptab): New struct.
|
|
|
|
|
(EXCEPTSZ): New macro.
|
|
|
|
|
|
2011-05-03 17:21:05 +08:00
|
|
|
|
2011-05-03 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of
|
|
|
|
|
SYMNMLEN.
|
|
|
|
|
|
2011-04-27 Tristan Gingold <gingold@adacore.com>
* xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
(STYP_DWARF, SSUBTYP_DWINFO)
(SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
(SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
(SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
(R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
New macros.
2011-04-27 23:04:04 +08:00
|
|
|
|
2011-04-27 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
|
|
|
|
|
(STYP_DWARF, SSUBTYP_DWINFO)
|
|
|
|
|
(SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
|
|
|
|
|
(SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
|
|
|
|
|
(SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
|
|
|
|
|
(R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
|
|
|
|
|
New macros.
|
|
|
|
|
|
2011-03-31 16:13:48 +08:00
|
|
|
|
2011-03-31 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* internal.h (C_NULL_VALUE): Define.
|
|
|
|
|
|
2010-06-29 12:17:27 +08:00
|
|
|
|
2010-06-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* maxq.h: Delete file.
|
|
|
|
|
|
2010-04-15 18:26:09 +08:00
|
|
|
|
2010-04-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha.h: Update copyright notice to use GPLv3.
|
|
|
|
|
* apollo.h: Likewise.
|
|
|
|
|
* arm.h: Likewise.
|
|
|
|
|
* aux-coff.h: Likewise.
|
|
|
|
|
* ecoff.h: Likewise.
|
|
|
|
|
* external.h: Likewise.
|
|
|
|
|
* go32exe.h: Likewise.
|
|
|
|
|
* h8300.h: Likewise.
|
|
|
|
|
* h8500.h: Likewise.
|
|
|
|
|
* i386.h: Likewise.
|
|
|
|
|
* i860.h: Likewise.
|
|
|
|
|
* i960.h: Likewise.
|
|
|
|
|
* ia64.h: Likewise.
|
|
|
|
|
* internal.h: Likewise.
|
|
|
|
|
* m68k.h: Likewise.
|
|
|
|
|
* m88k.h: Likewise.
|
|
|
|
|
* maxq.h: Likewise.
|
|
|
|
|
* mcore.h: Likewise.
|
|
|
|
|
* mips.h: Likewise.
|
|
|
|
|
* mipspe.h: Likewise.
|
|
|
|
|
* or32.h: Likewise.
|
|
|
|
|
* pe.h: Likewise.
|
|
|
|
|
* powerpc.h: Likewise.
|
|
|
|
|
* rs6000.h: Likewise.
|
|
|
|
|
* rs6k64.h: Likewise.
|
|
|
|
|
* sh.h: Likewise.
|
|
|
|
|
* sparc.h: Likewise.
|
|
|
|
|
* ti.h: Likewise.
|
|
|
|
|
* tic30.h: Likewise.
|
|
|
|
|
* tic4x.h: Likewise.
|
|
|
|
|
* tic54x.h: Likewise.
|
|
|
|
|
* tic80.h: Likewise.
|
|
|
|
|
* w65.h: Likewise.
|
|
|
|
|
* we32k.h: Likewise.
|
|
|
|
|
* x86_64.h: Likewise.
|
|
|
|
|
* xcoff.h: Likewise.
|
|
|
|
|
* z80.h: Likewise.
|
|
|
|
|
* z8k.h: Likewise.
|
|
|
|
|
|
2009-12-02 22:04:15 +08:00
|
|
|
|
2009-12-02 Jerker B<>ck <jerker.back@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/11017
|
|
|
|
|
* i386lh (COFF_PAGE_SIZE): Define.
|
|
|
|
|
* x86_64.h (COFF_PAGE_SIZE): Define.
|
|
|
|
|
|
2009-10-18 02:23:12 +08:00
|
|
|
|
2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl>
|
|
|
|
|
|
|
|
|
|
* z80.h: Store alignment requirement in section header, to allow
|
2010-04-15 18:26:09 +08:00
|
|
|
|
ld to preserve alignment. Some code was copied from ti.h.
|
2009-10-18 02:23:12 +08:00
|
|
|
|
|
* bfd/coff-arm.c (coff_arm_relocate_section)
(record_thumb_to_arm_glue, bfd_arm_process_before_allocation):
Change member name class to symbol_class.
* bfd/coff-i960.c (coff_i960_relocate_section) Rename variable
class to class_val. Change member name class to symbol_class.
* bfd/coff-rs6000.c (_bfd_xcoff_swap_aux_in)
(_bfd_xcoff_swap_aux_out): Rename arguments class to in_class.
* bfd/coff-stgo32.c (adjust_aux_in_post)
(adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class
to in_class.
* bfd/coff64-rs6000.c (_bfd_xcoff64_swap_aux_in)
(_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class.
* bfd/coffcode.h (coff_pointerize_aux_hook): Rename variable class
to n_sclass.
* bfd/coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename
variables named class to n_sclass. (coff_write_symbols): Rename
variable class to sym_class. (bfd_coff_set_symbol_class): Rename
argument class to symbol_class.
* bfd/cofflink.c (_bfd_coff_link_hash_newfunc)
(coff_link_add_symbols, _bfd_coff_link_input_bfd)
(_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section):
Update code to use renamed members.
* bfd/coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename
argument class to in_class.
* bfd/libcoff-in.h (struct coff_link_hash_entry, struct
coff_debug_merge_type) Renamed members class to symbol_class and
type_class.
* bfd/libcoff.h Regenerated.
* bfd/peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out):
Rename argument class to in_class.
* bfd/pef.c (bfd_pef_parse_imported_symbol): Update code to use
renamed members.
* bfd/pef.h (struct bfd_pef_imported_symbol): Changed name of
member class to symbol_class.
* binutils/ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class)
(ieee_read_reference): Rename variables named class to cxxclass.
* gas/config/tc-arc.c (struct syntax_classes): Rename member class
to s_class. (arc_extinst): Rename variable class to
s_class. Update code to use renamed members.
* gas/config/tc-mips.c (insn_uses_reg): Rename argument class to
regclass.
* gas/config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
(ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
(ppc_fix_adjustable, md_apply_fix): Update code to use renamed
members.
* gas/config/tc-ppc.h (struct ppc_tc_sy): Change name of member
from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
code to use renamed members.
* gas/config/tc-score.c (s3_adjust_paritybit): Rename argument
class to i_class.
* gas/config/tc-score7.c (s7_adjust_paritybit): Rename argument
class to i_class.
* gprof/corefile.c (core_create_function_syms): Rename variable
class to cxxclass.
* include/coff/ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name
of class variable to in_class to match changes in function that
use this macro.
* include/opcode/ia64.h (struct ia64_operand): Renamed member
class to op_class
* ld/emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols)
(gld${EMULATION_NAME}_try_needed): Rename variable class to
link_class
* opcodes/ia64-dis.c (print_insn_ia64): Update code to use renamed
member.
* opcodes/m88k-dis.c (m88kdis): Rename variable class to in_class.
* opcodes/tic80-opc.c (tic80_symbol_to_value)
(tic80_value_to_symbol): Rename argument class to symbol_class.
2009-09-05 15:56:25 +08:00
|
|
|
|
2009-09-05 Martin Thuresson <martin@mtme.org>
|
|
|
|
|
|
|
|
|
|
* ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name of class
|
|
|
|
|
variable to in_class to match changes in function that use this
|
|
|
|
|
macro.
|
|
|
|
|
|
2009-08-11 06:02:41 +08:00
|
|
|
|
2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix references past allocated memory for i386-*-go32.
|
|
|
|
|
* ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
|
|
|
|
|
Reference F_TARGET_ID only when !COFF0_P.
|
|
|
|
|
|
2009-08-11 05:56:42 +08:00
|
|
|
|
2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Stop using bfd_usrdata in libbfd.
|
|
|
|
|
* go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
|
|
|
|
|
STUBSIZE by GO32_STUBSIZE.
|
|
|
|
|
(STUBSIZE): Move the definition ...
|
|
|
|
|
* internal.h (GO32_STUBSIZE): ... here and rename it.
|
|
|
|
|
(struct internal_filehdr <go32stub>, F_GO32STUB): New.
|
|
|
|
|
|
ChangeLog:
* mdebugread.c (mdebug_type_void, mdebug_type_char, mdebug_type_short,
mdebug_type_int, mdebug_type_int_32, mdebug_type_int_64,
mdebug_type_long_32, mdebug_type_long_64, mdebug_type_long_long_64,
mdebug_type_unsigned_char, mdebug_type_unsigned_short,
mdebug_type_unsigned_int_32, mdebug_type_unsigned_int_64,
mdebug_type_unsigned_long_32, mdebug_type_unsigned_long_64,
mdebug_type_unsigned_long_long_64, mdebug_type_adr_32,
mdebug_type_adr_64, mdebug_type_float, mdebug_type_double,
mdebug_type_complex, mdebug_type_double_complex,
mdebug_type_fixed_dec, mdebug_type_float_dec, mdebug_type_string):
Remove.
(basic_type_data): New global variable.
(basic_type): New function.
(parse_type): Remove static basic type map map_bt. Call basic_type
to get basic types instead of using mdebug_type_ variables.
(parse_symbol): Use builtin types instead of mdebug_type_ variables.
(upgrade_type): Likewise.
(parse_procedure): Likewise.
(psymtab_to_symtab_1): Likewise.
(_initialize_mdebugread): Do not initialize mdebug_type_ variables.
Initialize basic_type_data.
include/coff/ChangeLog:
* symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
btAdr64, btInt64, btUInt64): New defines.
2009-06-04 02:08:14 +08:00
|
|
|
|
2009-06-03 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
|
|
|
|
|
btAdr64, btInt64, btUInt64): New defines.
|
|
|
|
|
|
2009-04-25 00:57:08 +08:00
|
|
|
|
2009-04-21 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* pe.h (pex64_runtime_function): New structure.
|
|
|
|
|
(external_pex64_runtime_function): Likewise.
|
|
|
|
|
(pex64_unwind_code): Likewise.
|
|
|
|
|
(external_pex64_unwind_code): Likewise.
|
|
|
|
|
(pex64_unwind_info): Likewise.
|
|
|
|
|
(external_pex64_unwind_info): Likewise.
|
|
|
|
|
(external_pex64_scope): Likewise.
|
|
|
|
|
(pex64_scope): Likewise.
|
|
|
|
|
(pex64_scope_entry): Likewise.
|
|
|
|
|
(external_pex64_scope_entry): Likewise.
|
|
|
|
|
(PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro.
|
|
|
|
|
(PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise.
|
|
|
|
|
(PEX64_UNWCODE_CODE): Likewise.
|
|
|
|
|
(PEX64_UNWCODE_INFO): Likewise.
|
|
|
|
|
(UWOP_...): Add defines for unwind code.
|
|
|
|
|
(UNW_FLAG_...): Add defined for unwind info flags.
|
|
|
|
|
(PEX64_SCOPE_ENTRY_SIZE): New macro.
|
|
|
|
|
(PEX64_UWI_VERSION): Likewise.
|
|
|
|
|
(PEX64_UWI_FLAGS): Likewise.
|
|
|
|
|
(PEX64_UWI_FRAMEREG): Likewise.
|
|
|
|
|
(PEX64_UWI_FRAMEOFF): Likewise.
|
|
|
|
|
(PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise.
|
|
|
|
|
(PEX64_OFFSET_TO_UNWIND_CODE): Likewise.
|
|
|
|
|
(PEX64_OFFSET_TO_HANDLER_RVA): Likewise.
|
|
|
|
|
(PEX64_OFFSET_TO_SCOPE_COUNT): Likewise.
|
|
|
|
|
(PEX64_SCOPE_ENTRY): Likewise.
|
|
|
|
|
|
2009-04-17 23:03:47 +08:00
|
|
|
|
2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ...
|
|
|
|
|
(IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.
|
|
|
|
|
|
2009-04-02 03:38:11 +08:00
|
|
|
|
2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* xcoff.h (xcoff_link_hash_table): Move to bfd/xcofflink.c.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
(xcoff_loader_info): Add auto_export_flags.
bfd/
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
bfd_boolean export_defineds parameter with an unsigned int
auto_export_flags parameter.
* bfd-in2.h: Regenerate.
* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
split out from xcoff_build_ldsyms.
(xcoff_covered_by_expall_p): New function.
(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
but with extra code to handle -bexpfull and -bexpall.
(xcoff_mark_auto_exports): New function.
(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
a function should be automatically exported.
(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
parameter with an auto_export_flags parameter. Update ldinfo
accordingly. Use xcoff_mark_auto_exports to mark all automatically-
exported symbols.
ld/
* emultempl/aix.em (auto_export_flags): New variable.
(explicit_auto_export_flags): Likewise.
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
-bnoexpall and -bnoexpfull.
(gld${EMULATION_NAME}_handle_option): Handle them.
(gld${EMULATION_NAME}_before_allocation): Update the call to
bfd_size_dynamic_sections.
ld/testsuite/
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 17:35:45 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
|
|
|
|
|
(xcoff_loader_info): Add auto_export_flags.
|
|
|
|
|
|
include/coff/
* internal.h (C_AIX_WEAKEXT): New macro.
(C_WEAKEXT): Use the GNU definition in the generic part of the file,
and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
the file.
(CSECT_SYM_P): New macro.
* xcoff.h (L_WEAK): Define.
(EXTERN_SYM_P): New macro.
bfd/
* coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
check whether a symbol has csect information.
(coff_print_aux): Likewise.
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff_swap_aux_out): Likewise.
(xcoff_reloc_type_br): Handle defweak symbols too.
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff64_swap_aux_out): Likewise.
(xcoff64_reloc_type_br): Handle defweak symbols too.
* coffgen.c (coff_print_symbol): Handle auxillary function
information for C_AIX_WEAKEXT too.
* xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
instead of BSF_GLOBAL if the L_WEAK flag is set.
(xcoff_dynamic_definition_p): New function.
(xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
defines h. Don't change h if ldsym isn't the definition. Otherwise,
always take the symbol class from the ldsym. Use weak bfd symbol
types for weak ldsyms.
(xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
Fix the check for whether a definition is from a shared object.
Allow redefinitions of weak symbols.
(xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
(xcoff_keep_symbol_p): Likewise.
(bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
(xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
but mark them as L_WEAK.
(xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
gas/
* config/tc-ppc.c (ppc_frob_symbol): Add csect information for
C_AIX_WEAKEXT too.
ld/testsuite/
* ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
ld-powerpc/aix-weak-3-64.dd: New tests.
* ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with
tmp/aix64-* in 64-bit ld options.
2009-03-14 17:34:26 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* internal.h (C_AIX_WEAKEXT): New macro.
|
|
|
|
|
(C_WEAKEXT): Use the GNU definition in the generic part of the file,
|
|
|
|
|
and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
|
|
|
|
|
the file.
|
|
|
|
|
(CSECT_SYM_P): New macro.
|
|
|
|
|
* xcoff.h (L_WEAK): Define.
|
|
|
|
|
(EXTERN_SYM_P): New macro.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_ALLOCATED): New flag.
bfd/
* xcofflink.c (xcoff_mark): When walking the relocations,
only mark the target symbol or the target section, not both.
(xcoff_final_definition_p): New function.
(xcoff_keep_symbol_p): Use it to check whether an external XCOFF
symbol is a valid definition of the associated output symbol.
Use XCOFF_ALLOCATED to stop the same hash table entry having
two output symbols.
(bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
keeping a symbol.
(xcoff_link_input_bfd): Use xcoff_final_definition_p.
ld/testsuite/
* ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
ld-powerpc/aix-no-dup-syms-1-dso.dnd,
ld-powerpc/aix-no-dup-syms-1-dso.drd,
ld-powerpc/aix-no-dup-syms-1-dso.nd,
ld-powerpc/aix-no-dup-syms-1-dso.rd,
ld-powerpc/aix-no-dup-syms-1-rel.nd,
ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 17:33:38 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* xcoff.h (XCOFF_ALLOCATED): New flag.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
(XCOFF_WAS_UNDEFINED): New flag.
(xcoff_link_hash_table): Add an "rtld" field.
bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
flag is set. Assert that all undefined symbols are either
imported or defined by a dynamic object.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
handling to all relocations. Only set XCOFF_CALLED for function
symbols.
(xcoff_find_function): New function, split out from...
(bfd_xcoff_export_symbol) ...here.
(xcoff_set_import_path): New function, split out from...
(bfd_xcoff_import_symbol): ...here. Remove assertion for old
meaning of XCOFF_CALLED.
(xcoff_mark_symbol): If we mark an undefined and unimported
symbol, find some way of defining it. If the symbol is a function
descriptor, fill in its definition automatically. If the symbol
is a function, mark its descriptor and allocate room for global
linkage code. Otherwise mark the symbol as implicitly imported.
Move the code for creating function descriptors from...
(xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
check for symbols that were implicitly defined.
(xcoff_mark): Don't count any dynamic relocations against
function symbols.
(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
in the xcoff link info.
(xcoff_link_input_bfd): Remove handling of undefined and
unexported symbols.
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
-berok and -bernotok control link_info.unresolved_syms_in_objects
and link_info.unresolved_syms_in_shared_libs instead of
force_make_executable.
ld/testsuite/
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 17:17:31 +08:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
|
|
|
|
|
(XCOFF_WAS_UNDEFINED): New flag.
|
|
|
|
|
(xcoff_link_hash_table): Add an "rtld" field.
|
|
|
|
|
|
2009-04-25 00:57:08 +08:00
|
|
|
|
2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* internal.h (struct internal_extra_pe_aouthdr): Correct type
|
|
|
|
|
of DllCharacteristics flags field to unsigned.
|
|
|
|
|
* pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
|
|
|
|
|
IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
|
|
|
|
|
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
|
|
|
|
|
IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
|
|
|
|
|
IMAGE_DLLCHARACTERISTICS_NO_SEH,
|
|
|
|
|
IMAGE_DLLCHARACTERISTICS_NO_BIND,
|
|
|
|
|
IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
|
|
|
|
|
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE): New macros to
|
|
|
|
|
define flag bit values for DllCharacteristics field of PEAOUTHDR,
|
|
|
|
|
PEPAOUTHDR.
|
|
|
|
|
|
2008-12-23 18:59:56 +08:00
|
|
|
|
2008-12-23 Johan Olmutz Nielsen <jnielsen@ddci.com>
|
|
|
|
|
|
|
|
|
|
* ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
|
|
|
|
|
|
2008-06-18 00:01:28 +08:00
|
|
|
|
2008-06-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
|
|
|
|
|
macro which does not trigger an array bounds warning in gcc.
|
|
|
|
|
(PUT_SCNHDR_NLNNO): Likewise.
|
|
|
|
|
(GET_SCNHDR_FLAGS): Likewise.
|
|
|
|
|
(PUT_SCNHDR_FLAGS): Likewise.
|
|
|
|
|
(GET_SCNHDR_PAGE): Likewise.
|
|
|
|
|
(PUT_SCNHDR_PAGE): Likewise.
|
|
|
|
|
|
2008-04-16 16:33:54 +08:00
|
|
|
|
2007-11-05 Danny Smith <dannysmith@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
* pe.h (COFF_ENCODE_ALIGNMENT) Define.
|
|
|
|
|
|
2007-08-03 00:02:01 +08:00
|
|
|
|
2007-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
|
|
|
|
|
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
|
|
|
|
|
IMAGE_SCN_ALIGN_POWER_CONST.
|
|
|
|
|
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
|
|
|
|
|
(IMAGE_SCN_ALIGN_64BYTES): Likewise.
|
|
|
|
|
|
2007-07-12 15:16:41 +08:00
|
|
|
|
2007-07-12 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* internal.h (struct internal_syment): Use bfd_hostptr_t for
|
|
|
|
|
_n_zeroes and _n_offset fields.
|
|
|
|
|
|
2007-04-27 11:37:43 +08:00
|
|
|
|
2007-04-27 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* rs6000.h: Write Mimi's name in ASCII.
|
|
|
|
|
|
2007-03-28 06:45:19 +08:00
|
|
|
|
2007-03-19 H.J. Lu <hongjiu.lu@intel.com>
|
2007-03-20 07:06:06 +08:00
|
|
|
|
|
|
|
|
|
* internal.h (internal_extra_pe_aouthdr): Add Magic,
|
|
|
|
|
MajorLinkerVersion, MinorLinkerVersion, SizeOfCode,
|
|
|
|
|
SizeOfInitializedData, SizeOfUninitializedData,
|
|
|
|
|
AddressOfEntryPoint, BaseOfCode and BaseOfData.
|
|
|
|
|
|
2006-12-06 22:36:41 +08:00
|
|
|
|
2006-12-05 Michael Tautschnig <tautschn@model.in.tum.de>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* external.h (struct external_aouthdr): Add ATTRIBUTE_PACKED.
|
|
|
|
|
(struct external_syment): Likewise.
|
|
|
|
|
(union external_auxent): Likewise.
|
|
|
|
|
|
2006-11-15 03:03:32 +08:00
|
|
|
|
2006-11-14 Phil Lello <phil.lello@homecall.co.uk>
|
|
|
|
|
|
|
|
|
|
* pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and
|
|
|
|
|
IMAGE_SUBSYSTEM_XBOX.
|
|
|
|
|
* internal.h: Added defines for PE directory entry types.
|
|
|
|
|
NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in
|
|
|
|
|
pe.h
|
|
|
|
|
|
2006-09-20 19:35:11 +08:00
|
|
|
|
2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* external.h: Add proper external_aouthdr64 structure (without
|
|
|
|
|
data_start member).
|
|
|
|
|
(AOUTHDRSZ64): Set according structure size.
|
|
|
|
|
(AOUTHDR64): As typedef of external_aouthdr64 structure.
|
|
|
|
|
* internal.h: Add relocation identifiers for coff.
|
|
|
|
|
* pe.h: Add define IMAGE_FILE_MACHINE_AMD64 the coff signature.
|
|
|
|
|
(PEPAOUTHDR): Adjust structure to have proper size (using AOUTHDR64).
|
|
|
|
|
(PEPAOUTSZ): Calculated size of 240.
|
|
|
|
|
* x86_64.h: Coff information for x86_64 (AMD64).
|
|
|
|
|
|
2006-02-05 19:57:34 +08:00
|
|
|
|
2006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
|
|
|
|
|
|
|
|
|
|
* internal.h: Add relocation number R_IMM24 for Z80.
|
|
|
|
|
|
2005-10-26 01:40:19 +08:00
|
|
|
|
2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
|
|
|
|
|
|
|
|
|
|
* internal.h: Add relocation number for Z80
|
|
|
|
|
* z80.h: New file.
|
|
|
|
|
|
2005-08-18 11:59:23 +08:00
|
|
|
|
2005-08-18 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* a29k.h: Delete.
|
|
|
|
|
|
2005-07-14 15:07:46 +08:00
|
|
|
|
2005-07-14 Daniel Marques <marques@cs.cornell.edu>
|
|
|
|
|
|
|
|
|
|
* alpha.h (ALPHA_ECOFF_COMPRESSEDMAG): Define.
|
|
|
|
|
* ecoff.h (ALPHA_MAGIC_COMPRESSED): Define.
|
|
|
|
|
|
2005-05-10 18:21:13 +08:00
|
|
|
|
2005-05-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Update the address and phone number of the FSF organization in
|
|
|
|
|
the GPL notices in the following files:
|
|
|
|
|
a29k.h, alpha.h, apollo.h, arm.h, aux-coff.h, ecoff.h, external.h,
|
|
|
|
|
go32exe.h, h8300.h, h8500.h, i386.h, i860.h, i960.h, ia64.h,
|
|
|
|
|
internal.h, m68k.h, m88k.h, maxq.h, mcore.h, mips.h, mipspe.h,
|
|
|
|
|
or32.h, pe.h, powerpc.h, rs6k64.h, sh.h, sparc.h, ti.h, tic30.h,
|
|
|
|
|
tic4x.h, tic54x.h, tic80.h, w65.h, we32k.h, xcoff.h, z8k.h
|
2010-04-15 18:26:09 +08:00
|
|
|
|
|
2005-02-20 22:59:05 +08:00
|
|
|
|
2005-02-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* xcoff.h (struct xcoff_loader_info): Warning fix.
|
|
|
|
|
|
2005-01-11 00:33:51 +08:00
|
|
|
|
2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
|
|
|
|
|
|
|
|
|
|
* maxq.h (F_MAXQ10, F_MAXQ20): Define.
|
|
|
|
|
|
2004-11-08 21:17:39 +08:00
|
|
|
|
2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
|
|
|
|
|
Vineet Sharma <vineets@noida.hcltech.com>
|
|
|
|
|
|
2005-01-11 00:33:51 +08:00
|
|
|
|
* maxq.h: New file: Defintions for the maxq port.
|
2004-11-08 21:17:39 +08:00
|
|
|
|
|
2004-11-08 16:12:40 +08:00
|
|
|
|
2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
|
|
|
|
|
|
|
|
|
|
* pe.h (IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY): Define.
|
|
|
|
|
(IMAGE_WEAK_EXTERN_SEARCH_LIBRARY): Same.
|
|
|
|
|
(IMAGE_WEAK_EXTERN_SEARCH_ALIAS): Same.
|
|
|
|
|
|
2004-08-14 03:17:39 +08:00
|
|
|
|
2004-08-13 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* symconst.h (langMax): Fix typo in comment.
|
|
|
|
|
|
[ bfd/ChangeLog ]
2004-04-23 Chris Demetriou <cgd@broadcom.com>
* coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
(mips_switch_reloc, mips_read_relocs, mips_relax_section)
(mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
(mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
and update comments to reflect current usage.
(mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
and MIPS_R_SWITCH, as well as several empty entries. Update comment
for MIPS_R_PCREL16.
(mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
(mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
(mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
type number to be MIPS_R_PCREL16.
(mips_relocate_section): Remove support for link-time relaxation
of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH,
MIPS_R_RELLO, and MIPS_R_RELHI relocations.
(_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
* ecoff.c (ecoff_indirect_link_order): Remove support for link-time
relaxation of branches used by embedded-PIC.
* ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
* libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
related members, update comment.
* pe-mips.c: Remove disabled (commented-out and #if 0'd)
code related to embedded-PIC.
* elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
initialization of now-removed 'adjust' member of
'struct ecoff_debug_info'.
[ include/coff/ChangeLog ]
2004-04-23 Chris Demetriou <cgd@broadcom.com>
* mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
(MIPS_R_PCREL16): Update comment.
* ecoff.h (struct ecoff_value_adjust): Remove structure.
(struct ecoff_debug_info): Remove 'adjust' member.
2004-04-24 14:12:25 +08:00
|
|
|
|
2004-04-23 Chris Demetriou <cgd@broadcom.com>
|
|
|
|
|
|
|
|
|
|
* mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
|
|
|
|
|
(MIPS_R_PCREL16): Update comment.
|
|
|
|
|
* ecoff.h (struct ecoff_value_adjust): Remove structure.
|
|
|
|
|
(struct ecoff_debug_info): Remove 'adjust' member.
|
|
|
|
|
|
2004-04-20 20:17:16 +08:00
|
|
|
|
2004-04-20 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* internal.h (R_SECREL32): Add.
|
1999-05-03 15:29:06 +08:00
|
|
|
|
|
2004-01-02 19:16:20 +08:00
|
|
|
|
For older changes see ChangeLog-9103
|
1999-05-03 15:29:06 +08:00
|
|
|
|
|
2012-12-10 20:48:00 +08:00
|
|
|
|
Copyright (C) 2004-2012 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
|
Local Variables:
|
2004-01-02 19:16:20 +08:00
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
1999-05-03 15:29:06 +08:00
|
|
|
|
version-control: never
|
|
|
|
|
End:
|