projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Convert language la_lookup_symbol_nonlocal field to a method
[deliverable/binutils-gdb.git]
/
ld
/
emultempl
/
aarch64elf.em
diff --git
a/ld/emultempl/aarch64elf.em
b/ld/emultempl/aarch64elf.em
index 7ffb17e7a9cd87640a0a50d1e3dfbf3b1a442d9c..d0519b3d7b24542aa7500c1bc706415e48bd4f40 100644
(file)
--- a/
ld/emultempl/aarch64elf.em
+++ b/
ld/emultempl/aarch64elf.em
@@
-1,5
+1,5
@@
# This shell script emits a C file. -*- C -*-
# This shell script emits a C file. -*- C -*-
-# Copyright (C) 2009-20
19
Free Software Foundation, Inc.
+# Copyright (C) 2009-20
20
Free Software Foundation, Inc.
# Contributed by ARM Ltd.
#
# This file is part of the GNU Binutils.
# Contributed by ARM Ltd.
#
# This file is part of the GNU Binutils.
@@
-26,6
+26,7
@@
fragment <<EOF
#include "ldctor.h"
#include "elf/aarch64.h"
#include "ldctor.h"
#include "elf/aarch64.h"
+#include "elfxx-aarch64.h"
static int no_enum_size_warning = 0;
static int no_wchar_size_warning = 0;
static int no_enum_size_warning = 0;
static int no_wchar_size_warning = 0;
@@
-169,7
+170,7
@@
elf${ELFSIZE}_aarch64_add_stub_section (const char *stub_sec_name,
lang_output_section_statement_type *os;
struct hook_stub_info info;
lang_output_section_statement_type *os;
struct hook_stub_info info;
- flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
| SEC_LINKER_CREATED
+ flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
| SEC_HAS_CONTENTS | SEC_RELOC | SEC_IN_MEMORY | SEC_KEEP);
stub_sec = bfd_make_section_anyway_with_flags (stub_file->the_bfd,
stub_sec_name, flags);
| SEC_HAS_CONTENTS | SEC_RELOC | SEC_IN_MEMORY | SEC_KEEP);
stub_sec = bfd_make_section_anyway_with_flags (stub_file->the_bfd,
stub_sec_name, flags);
@@
-178,7
+179,7
@@
elf${ELFSIZE}_aarch64_add_stub_section (const char *stub_sec_name,
/* Long branch stubs contain a 64-bit address, so the section requires
8 byte alignment. */
/* Long branch stubs contain a 64-bit address, so the section requires
8 byte alignment. */
- bfd_set_section_alignment (stub_
file->the_bfd, stub_
sec, 3);
+ bfd_set_section_alignment (stub_sec, 3);
output_section = input_section->output_section;
os = lang_output_section_get (output_section);
output_section = input_section->output_section;
os = lang_output_section_get (output_section);
@@
-217,7
+218,7
@@
build_section_lists (lang_statement_union_type *statement)
{
asection *i = statement->input_section.section;
{
asection *i = statement->input_section.section;
- if (!
((lang_input_statement_type *) i->owner->usrdata)->flags.just_syms
+ if (!
bfd_input_just_syms (i->owner)
&& (i->flags & SEC_EXCLUDE) == 0
&& i->output_section != NULL
&& i->output_section->owner == link_info.output_bfd)
&& (i->flags & SEC_EXCLUDE) == 0
&& i->output_section != NULL
&& i->output_section->owner == link_info.output_bfd)
This page took
0.023293 seconds
and
4
git commands to generate.