summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-01-18 08:51:54 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-01-18 08:51:54 +0000
commit02f0813c5875858357410fd15848e869f1cffc5a (patch)
tree94492015875de562704763de3beefad2655d3256 /bfd
parent94d2271a470810201e113716f13d5fd2b6516ca5 (diff)
downloadbinutils-redhat-02f0813c5875858357410fd15848e869f1cffc5a.tar.gz
bfd/
* bfd.c (bfd_link_just_syms): Add abfd param. * bfd-in2.h: Regenerate. ld/ * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. (lang_place_orphans): Don't abort on just_syms_flag, instead call bfd_link_just_syms.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/bfd-in2.h2
-rw-r--r--bfd/bfd.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index eb7d83eb94..97a61bdfdf 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-18 Alan Modra <amodra@bigpond.net.au>
+
+ * bfd.c (bfd_link_just_syms): Add abfd param.
+ * bfd-in2.h: Regenerate.
+
2005-01-17 Richard Sandiford <rsandifo@redhat.com>
* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 28a762bc6f..70f105bd38 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4193,7 +4193,7 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
#define bfd_link_add_symbols(abfd, info) \
BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
-#define bfd_link_just_syms(sec, info) \
+#define bfd_link_just_syms(abfd, sec, info) \
BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
#define bfd_final_link(abfd, info) \
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 0126a9f3e3..aacc5007be 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1,6 +1,6 @@
/* Generic BFD library interface and support routines.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004
+ 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
Written by Cygnus Support.
@@ -1203,7 +1203,7 @@ DESCRIPTION
.#define bfd_link_add_symbols(abfd, info) \
. BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
.
-.#define bfd_link_just_syms(sec, info) \
+.#define bfd_link_just_syms(abfd, sec, info) \
. BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
.
.#define bfd_final_link(abfd, info) \