mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
d5c928c053
It is usually possible to tell absolute and ordinary symbols apart in BFD throughout the link, by checking whether the section that owns the symbol is absolute or not. That however does not work for ordinary symbols defined in a linker script outside an output section statement. Initially such symbols are entered into to the link hash as absolute symbols, owned by the absolute section. A flag is set in the internal linker expression defining such symbols to tell the linker to convert them to section-relative ones in the final phase of the link. That flag is however not accessible to BFD linker code, including BFD target code in particular. Add a flag to the link hash then to copy the information held in the linker expression. Define a macro, `bfd_is_abs_symbol', for BFD code to use where determining whether a symbol is absolute or ordinary is required before the final link phase. This macro will correctly identify the special `__ehdr_start' symbol as ordinary throughout link, for example, even though early on it will be assigned to the absolute section. Of course this does not let BFD code identify what the symbol's ultimate section will be before the final link phase has converted this symbol (in `update_definedness'). include/ * bfdlink.h (bfd_link_hash_entry): Add `rel_from_abs' member. bfd/ * linker.c (bfd_is_abs_symbol): New macro. * bfd-in2.h: Regenerate. ld/ * ldexp.c (exp_fold_tree_1) <etree_assign, etree_provide> <etree_provided>: Copy expression's `rel_from_abs' flag to the link hash.
398 lines
11 KiB
Plaintext
398 lines
11 KiB
Plaintext
2018-07-17 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* bfdlink.h (bfd_link_hash_entry): Add `rel_from_abs' member.
|
||
|
||
2018-07-06 Alan Modra <amodra@gmail.com>
|
||
|
||
* diagnostics.h: Comment on macro usage.
|
||
|
||
2018-07-05 Simon Marchi <simon.marchi@polymtl.ca>
|
||
|
||
* diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS):
|
||
Define for clang.
|
||
|
||
2018-07-02 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
PR tdep/8282
|
||
* dis-asm.h (disasm_option_arg_t): New typedef.
|
||
(disasm_options_and_args_t): Likewise.
|
||
(disasm_options_t): Add `arg' member, document members.
|
||
(disassembler_options_mips): New prototype.
|
||
(disassembler_options_arm, disassembler_options_powerpc)
|
||
(disassembler_options_s390): Update prototypes.
|
||
|
||
2018-06-29 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/23192
|
||
*opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_Em16.
|
||
|
||
2018-06-26 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/internal.h (ELF_SECTION_IN_SEGMENT): Revert last change.
|
||
|
||
2018-06-24 Nick Clifton <nickc@redhat.com>
|
||
|
||
2.31 branch created.
|
||
|
||
2018-06-21 Alan Hayward <alan.hayward@arm.com>
|
||
|
||
* elf/internal.h (ELF_SECTION_IN_SEGMENT): Don’t check addresses
|
||
for non SHT_NOBITS.
|
||
|
||
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
Sync with GCC
|
||
|
||
2018-05-24 Tom Rix <trix@juniper.net>
|
||
|
||
* dwarf2.def (DW_FORM_strx*, DW_FORM_addrx*): New.
|
||
|
||
2017-11-20 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* longlong.h [__riscv] (__umulsidi3): Define.
|
||
[__riscv] (umul_ppmm): Likewise.
|
||
[__riscv] (__muluw3): Likewise.
|
||
|
||
2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
|
||
|
||
* elf/mips.h (AFL_ASE_GINV, AFL_ASE_RESERVED1): New macros.
|
||
(AFL_ASE_MASK): Update to include AFL_ASE_GINV.
|
||
* opcode/mips.h: Document "+\" operand format.
|
||
(ASE_GINV): New macro.
|
||
|
||
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
|
||
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
|
||
|
||
* elf/mips.h (AFL_ASE_CRC): New macro.
|
||
(AFL_ASE_MASK): Update to include AFL_ASE_CRC.
|
||
* opcode/mips.h (ASE_CRC): New macro.
|
||
* opcode/mips.h (ASE_CRC64): Likewise.
|
||
|
||
2018-06-04 Max Filippov <jcmvbkbc@gmail.com>
|
||
|
||
* elf/xtensa.h (xtensa_read_table_entries)
|
||
(xtensa_compute_fill_extra_space): New declarations.
|
||
|
||
2018-06-04 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* diagnostics.h (DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): Always
|
||
define for GCC.
|
||
|
||
2018-06-04 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* diagnostics.h (DIAGNOSTIC_STRINGIFY_1): New.
|
||
(DIAGNOSTIC_STRINGIFY): Likewise.
|
||
(DIAGNOSTIC_IGNORE): Replace STRINGIFY with DIAGNOSTIC_STRINGIFY.
|
||
(DIAGNOSTIC_IGNORE_SELF_MOVE): Define empty if not defined.
|
||
(DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER): Likewise.
|
||
(DIAGNOSTIC_IGNORE_UNUSED_FUNCTION): Likewise.
|
||
(DIAGNOSTIC_IGNORE_SWITCH_DIFFERENT_ENUM_TYPES): Likewise.
|
||
(DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): New.
|
||
|
||
2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* diagnostics.h: Moved from ../gdb/common/diagnostics.h.
|
||
|
||
2018-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
||
|
||
* splay-tree.h (splay_tree_compare_strings,
|
||
splay_tree_delete_pointers): Declare new utility functions.
|
||
|
||
2018-05-21 Peter Bergner <bergner@vnet.ibm.com.com>
|
||
|
||
* opcode/ppc.h (PPC_OPERAND_FAKE): Delete macro.
|
||
|
||
2018-05-18 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* elf/riscv.h (EF_RISCV_RVE): New define.
|
||
|
||
2018-05-18 John Darrington <john@darrington.wattle.id.au>
|
||
|
||
* elf/s12z.h: New header.
|
||
|
||
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/21446
|
||
* opcode/aarch64.h (F_SYS_READ, F_SYS_WRITE): New.
|
||
|
||
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/21446
|
||
* opcode/aarch64.h (aarch64_operand_error): Add non_fatal.
|
||
(aarch64_print_operand): Support notes.
|
||
|
||
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/21446
|
||
* opcode/aarch64.h (aarch64_opnd_info): Change sysreg to struct.
|
||
(aarch64_decode_insn): Accept error struct.
|
||
|
||
2018-05-15 Francois H. Theron <francois.theron@netronome.com>
|
||
|
||
* opcode/nfp.h: Use uint64_t instead of bfd_vma.
|
||
|
||
2018-05-10 John Darrington <john@darrington.wattle.id.au>
|
||
|
||
* elf/common.h (EM_S12Z): New macro.
|
||
|
||
2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
|
||
|
||
* mach-o/unwind.h (MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS):
|
||
Rename from MACH_O_UNWIND_X86_64_RBP_FRAME_REGSITERS.
|
||
(MACH_O_UNWIND_X86_EBP_FRAME_REGISTERS): Rename from
|
||
MACH_O_UNWIND_X86_EBP_FRAME_REGSITERS.
|
||
|
||
2018-05-08 Jim Wilson <jimw@sifive.com>
|
||
|
||
* opcode/riscv-opc.h (MATCH_C_SRLI64, MASK_C_SRLI64): New.
|
||
(MATCH_C_SRAI64, MASK_C_SRAI64): New.
|
||
(MATCH_C_SLLI64, MASK_C_SLLI64): New.
|
||
|
||
2018-05-07 Peter Bergner <bergner@vnet.ibm.com.com>
|
||
|
||
* opcode/ppc.h (powerpc_num_opcodes): Change type to unsigned.
|
||
(vle_num_opcodes): Likewise.
|
||
(spe2_num_opcodes): Likewise.
|
||
|
||
2018-05-04 Alan Modra <amodra@gmail.com>
|
||
|
||
* ansidecl.h: Import from gcc.
|
||
* coff/internal.h (struct internal_scnhdr): Add ATTRIBUTE_NONSTRING
|
||
to s_name.
|
||
(struct internal_syment): Add ATTRIBUTE_NONSTRING to _n_name.
|
||
|
||
2018-04-30 Francois H. Theron <francois.theron@netronome.com>
|
||
|
||
* dis-asm.h: Added print_nfp_disassembler_options prototype.
|
||
* elf/common.h: Added EM_NFP, officially assigned. See Google Group
|
||
Generic System V Application Binary Interface.
|
||
* elf/nfp.h: New, for NFP support.
|
||
* opcode/nfp.h: New, for NFP support.
|
||
|
||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||
Mickaël Guêné <mickael.guene@st.com>
|
||
|
||
* elf/arm.h: Add R_ARM_TLS_GD32_FDPIC, R_ARM_TLS_LDM32_FDPIC,
|
||
R_ARM_TLS_IE32_FDPIC.
|
||
|
||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||
Mickaël Guêné <mickael.guene@st.com>
|
||
|
||
* elf/arm.h (R_ARM_GOTFUNCDESC, R_ARM_GOTOFFFUNCDESC)
|
||
(R_ARM_FUNCDESC)
|
||
(R_ARM_FUNCDESC_VALUE): Define new relocations.
|
||
|
||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||
Mickaël Guêné <mickael.guene@st.com>
|
||
|
||
* elf/arm.h (EF_ARM_FDPIC): New.
|
||
|
||
2018-04-18 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/mipspe.h: Delete.
|
||
|
||
2018-04-18 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/dynix3.h: Delete.
|
||
|
||
2018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
|
||
|
||
Microblaze Target: PIC data text relative
|
||
|
||
* bfdlink.h (Add flag): Add new flag @ 'bfd_link_info' struct.
|
||
* elf/microblaze.h (Add 3 new relocations):
|
||
R_MICROBLAZE_TEXTPCREL_64, R_MICROBLAZE_TEXTREL_64
|
||
and R_MICROBLAZE_TEXTREL_32_LO for relax function.
|
||
|
||
2018-04-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/i370.h: Revert removal.
|
||
* elf/i860.h: Likewise.
|
||
* elf/i960.h: Likewise.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/sparc.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/host.h: Remove m68k-aout and m68k-coff support.
|
||
* aout/hp300hpux.h: Delete.
|
||
* coff/apollo.h: Delete.
|
||
* coff/aux-coff.h: Delete.
|
||
* coff/m68k.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* dis-asm.h: Remove sh5 and sh64 support.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/internal.h: Remove w65 support.
|
||
* coff/w65.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/we32k.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/internal.h: Remove m88k support.
|
||
* coff/m88k.h: Delete.
|
||
* opcode/m88k.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/i370.h: Delete.
|
||
* opcode/i370.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/h8500.h: Delete.
|
||
* coff/internal.h: Remove h8500 support.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/h8300.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* ieee.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/host.h: Remove newsos3 support.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* nlm/ChangeLog-9315: Delete.
|
||
* nlm/alpha-ext.h: Delete.
|
||
* nlm/common.h: Delete.
|
||
* nlm/external.h: Delete.
|
||
* nlm/i386-ext.h: Delete.
|
||
* nlm/internal.h: Delete.
|
||
* nlm/ppc-ext.h: Delete.
|
||
* nlm/sparc32-ext.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* opcode/tahoe.h: Delete.
|
||
|
||
2018-04-11 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/adobe.h: Delete.
|
||
* aout/reloc.h: Delete.
|
||
* coff/i860.h: Delete.
|
||
* coff/i960.h: Delete.
|
||
* elf/i860.h: Delete.
|
||
* elf/i960.h: Delete.
|
||
* opcode/i860.h: Delete.
|
||
* opcode/i960.h: Delete.
|
||
* aout/aout64.h (enum reloc_type): Trim off 29k and other unused values.
|
||
* aout/ar.h (ARMAGB): Remove.
|
||
* coff/internal.h (struct internal_aouthdr, struct internal_scnhdr,
|
||
union internal_auxent): Remove i960 support.
|
||
|
||
2018-04-09 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/ppc.h (R_PPC_PLTSEQ, R_PPC_PLTCALL): Define.
|
||
* elf/ppc64.h (R_PPC64_PLTSEQ, R_PPC64_PLTCALL): Define.
|
||
|
||
2018-03-28 Renlin Li <renlin.li@arm.com>
|
||
|
||
PR ld/22970
|
||
* elf/aarch64.h: Add relocation number for
|
||
R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12_NC,
|
||
R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12_NC,
|
||
R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12_NC,
|
||
R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12_NC.
|
||
|
||
2018-03-28 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 22988
|
||
* opcode/aarch64.h (enum aarch64_opnd): Add
|
||
AARCH64_OPND_SVE_ADDR_R.
|
||
|
||
2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf/common.h (DF_1_KMOD): New.
|
||
(DF_1_WEAKFILTER): Likewise.
|
||
(DF_1_NOCOMMON): Likewise.
|
||
|
||
2018-03-14 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* opcode/riscv.h (OP_MASK_FUNCT3): New.
|
||
(OP_SH_FUNCT3): Likewise.
|
||
(OP_MASK_FUNCT7): Likewise.
|
||
(OP_SH_FUNCT7): Likewise.
|
||
(OP_MASK_OP2): Likewise.
|
||
(OP_SH_OP2): Likewise.
|
||
(OP_MASK_CFUNCT4): Likewise.
|
||
(OP_SH_CFUNCT4): Likewise.
|
||
(OP_MASK_CFUNCT3): Likewise.
|
||
(OP_SH_CFUNCT3): Likewise.
|
||
(riscv_insn_types): Likewise.
|
||
|
||
2018-03-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 22113
|
||
* coff/pe.h (struct pex64_unwind_info): Add a rawUnwindCodesEnd
|
||
field.
|
||
|
||
2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* opcode/i386 (OLDGCC_COMPAT): Removed.
|
||
|
||
2018-02-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||
|
||
* opcode/arm.h (ARM_FEATURE_COPY): Remove macro definition.
|
||
|
||
2018-02-20 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* opcode/mips.h: Remove `M' operand code.
|
||
|
||
2018-02-12 Zebediah Figura <z.figura12@gmail.com>
|
||
|
||
* coff/msdos.h: New header.
|
||
* coff/pe.h: Move common defines to msdos.h.
|
||
* coff/powerpc.h: Likewise.
|
||
|
||
2018-01-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
2.30 branch created.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22393
|
||
* bfdlink.h (bfd_link_info): Add separate_code.
|
||
|
||
2018-01-04 Jim Wilson <jimw@sifive.com>
|
||
|
||
* opcode/riscv-opc.h (CSR_SBADADDR): Rename to CSR_STVAL. Rename
|
||
DECLARE_CSR entry. Add alias to map sbadaddr to CSR_STVAL.
|
||
(CSR_MBADADDR): Rename to CSR_MTVAL. Rename DECLARE_CSR entry.
|
||
Add alias to map mbadaddr to CSR_MTVAL.
|
||
|
||
2018-01-03 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2017
|
||
|
||
Copyright (C) 2018 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.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|