projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add variable length tests for emit_ref in trace-condition.exp
[deliverable/binutils-gdb.git]
/
ld
/
emultempl
/
spuelf.em
diff --git
a/ld/emultempl/spuelf.em
b/ld/emultempl/spuelf.em
index eaf4de70e4760636d7c6f0e59e6390825f711189..a94e1dfcc36d59c390c3e0a9573c2cbc14e6cf51 100644
(file)
--- a/
ld/emultempl/spuelf.em
+++ b/
ld/emultempl/spuelf.em
@@
-1,5
+1,5
@@
# This shell script emits a C file. -*- C -*-
# This shell script emits a C file. -*- C -*-
-# Copyright (C) 2006-201
4
Free Software Foundation, Inc.
+# Copyright (C) 2006-201
6
Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
#
# This file is part of the GNU Binutils.
#
@@
-89,9
+89,9
@@
static const struct _ovl_stream icache_mgr_stream = {
static int
is_spu_target (void)
{
static int
is_spu_target (void)
{
- extern const bfd_target
bfd_elf32_spu
_vec;
+ extern const bfd_target
spu_elf32
_vec;
- return link_info.output_bfd->xvec == &
bfd_elf32_spu
_vec;
+ return link_info.output_bfd->xvec == &
spu_elf32
_vec;
}
/* Create our note section. */
}
/* Create our note section. */
@@
-107,10
+107,10
@@
spu_after_open (void)
params.emit_stub_syms |= link_info.emitrelocations;
spu_elf_setup (&link_info, ¶ms);
params.emit_stub_syms |= link_info.emitrelocations;
spu_elf_setup (&link_info, ¶ms);
- if (
link_info.relocatable
)
+ if (
bfd_link_relocatable (&link_info)
)
lang_add_unique (".text.ia.*");
lang_add_unique (".text.ia.*");
- if (!
link_info.relocatable
+ if (!
bfd_link_relocatable (&link_info)
&& link_info.input_bfds != NULL
&& !spu_elf_create_sections (&link_info))
einfo ("%X%P: can not create note section: %E\n");
&& link_info.input_bfds != NULL
&& !spu_elf_create_sections (&link_info))
einfo ("%X%P: can not create note section: %E\n");
@@
-264,7
+264,7
@@
static void
spu_before_allocation (void)
{
if (is_spu_target ()
spu_before_allocation (void)
{
if (is_spu_target ()
- && !
link_info.relocatable
+ && !
bfd_link_relocatable (&link_info)
&& !no_overlays)
{
int ret;
&& !no_overlays)
{
int ret;
@@
-318,7
+318,7
@@
spu_before_allocation (void)
}
if (is_spu_target ()
}
if (is_spu_target ()
- && !
link_info.relocatable
)
+ && !
bfd_link_relocatable (&link_info)
)
spu_elf_size_sections (link_info.output_bfd, &link_info);
gld${EMULATION_NAME}_before_allocation ();
spu_elf_size_sections (link_info.output_bfd, &link_info);
gld${EMULATION_NAME}_before_allocation ();
@@
-447,7
+447,7
@@
EOF
if grep -q 'ld_elf.*ppc.*_emulation' ldemul-list.h; then
fragment <<EOF
if grep -q 'ld_elf.*ppc.*_emulation' ldemul-list.h; then
fragment <<EOF
-#include
<errno.h>
+#include
"safe-ctype.h"
#include "filenames.h"
#include "libiberty.h"
#include "filenames.h"
#include "libiberty.h"
This page took
0.024732 seconds
and
4
git commands to generate.