aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/as.h3
-rw-r--r--gas/configure.in8
2 files changed, 10 insertions, 1 deletions
diff --git a/gas/as.h b/gas/as.h
index fd1946f..e35195a 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -147,6 +147,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define N_SEGMENTS 10
#define SEG_NORMAL(x) ((x) >= SEG_E0 && (x) <= SEG_E9)
#define SEG_LIST SEG_E0,SEG_E1,SEG_E2,SEG_E3,SEG_E4,SEG_E5,SEG_E6,SEG_E7,SEG_E8,SEG_E9
+#define SEG_DATA SEG_E1
+#define SEG_TEXT SEG_E0
+#define SEG_BSS SEG_E2
#else
#define N_SEGMENTS 3
#define SEG_NORMAL(x) ((x) == SEG_TEXT || (x) == SEG_DATA || (x) == SEG_BSS)
diff --git a/gas/configure.in b/gas/configure.in
index f258350..724d261 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -48,12 +48,18 @@ case ${target_os} in
bout*) obj_format=bout ;;
bsd* | sunos*) obj_format=aout ;;
-ebmon)
+ebmon-old)
obj_format=coff
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
target_cpu=ebmon29k
;;
+ebmon)
+ obj_format=coff-bfd
+ need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
+ target_cpu=ebmon29k
+ ;;
+
generic) obj_format=generic ;;
hds)