aboutsummaryrefslogtreecommitdiff
path: root/bfd/seclet.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-01-24 22:44:51 +0000
committerSteve Chamberlain <sac@cygnus>1992-01-24 22:44:51 +0000
commite98e6ec1117b83defce2b1ccce6fd4ec3877bbfb (patch)
tree9fa72011ba39d8612b300def67a0816d7dcac02b /bfd/seclet.h
parent95a876f3fa09e75e129afbf4fab65f634f3c5ec2 (diff)
downloadfsf-binutils-gdb-e98e6ec1117b83defce2b1ccce6fd4ec3877bbfb.zip
fsf-binutils-gdb-e98e6ec1117b83defce2b1ccce6fd4ec3877bbfb.tar.gz
fsf-binutils-gdb-e98e6ec1117b83defce2b1ccce6fd4ec3877bbfb.tar.bz2
Uses the new small reloc type now.
Currently self hosts on sun4 and sun3
Diffstat (limited to 'bfd/seclet.h')
-rw-r--r--bfd/seclet.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/bfd/seclet.h b/bfd/seclet.h
new file mode 100644
index 0000000..1ef1c30
--- /dev/null
+++ b/bfd/seclet.h
@@ -0,0 +1,29 @@
+typedef enum
+{
+
+ bfd_indirect_seclet,
+
+} bfd_seclet_enum_type;
+
+
+struct bfd_seclet_struct
+{
+ struct bfd_seclet_struct *next;
+ bfd_seclet_enum_type type;
+ unsigned int offset;
+ unsigned int size;
+ union
+ {
+ struct
+ {
+ asection *section;
+ asymbol **symbols;
+
+ } indirect;
+ }
+ u;
+};
+
+typedef struct bfd_seclet_struct bfd_seclet_type;
+
+bfd_seclet_type *EXFUN(bfd_new_seclet,(bfd*,asection*));