aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-09-28 20:51:15 +0000
committerRichard Henderson <rth@redhat.com>2001-09-28 20:51:15 +0000
commit65db3b0dbfee6ce2cde8da64c069bce7ff6be7b3 (patch)
treeb7f033e3fc44434bc90ba081d73c5544ba07d239 /bfd
parent7cacb6a3a709b44368f74f7c6adfd91c218f73fd (diff)
downloadgdb-65db3b0dbfee6ce2cde8da64c069bce7ff6be7b3.zip
gdb-65db3b0dbfee6ce2cde8da64c069bce7ff6be7b3.tar.gz
gdb-65db3b0dbfee6ce2cde8da64c069bce7ff6be7b3.tar.bz2
* section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.
* bfd-in2.h: Rebuild.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/bfd-in2.h8
-rw-r--r--bfd/section.c8
3 files changed, 15 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6de96e7..5e34c07 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-28 Richard Henderson <rth@redhat.com>
+
+ * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.
+ * bfd-in2.h: Rebuild.
+
2001-09-28 Alan Modra <amodra@bigpond.net.au>
* elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index b23a695..5e893f9 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1039,9 +1039,11 @@ typedef struct sec
some relocation information too. */
#define SEC_RELOC 0x004
-#if 0 /* Obsolete ? */
-#define SEC_BALIGN 0x008
-#endif
+ /* ELF reserves 4 processor specific bits and 8 operating system
+ specific bits in sh_flags; at present we can get away with just
+ one in communicating between the assembler and BFD, but this
+ isn't a good long-term solution. */
+#define SEC_ARCH_BIT_0 0x008
/* A signal to the OS that the section contains read only data. */
#define SEC_READONLY 0x010
diff --git a/bfd/section.c b/bfd/section.c
index dc875bb..274979b 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -205,9 +205,11 @@ CODE_FRAGMENT
. some relocation information too. *}
.#define SEC_RELOC 0x004
.
-.#if 0 {* Obsolete ? *}
-.#define SEC_BALIGN 0x008
-.#endif
+. {* ELF reserves 4 processor specific bits and 8 operating system
+. specific bits in sh_flags; at present we can get away with just
+. one in communicating between the assembler and BFD, but this
+. isn't a good long-term solution. *}
+.#define SEC_ARCH_BIT_0 0x008
.
. {* A signal to the OS that the section contains read only data. *}
.#define SEC_READONLY 0x010