aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-11-06 19:36:20 +0000
committerNick Clifton <nickc@redhat.com>2002-11-06 19:36:20 +0000
commitc9e3887989960034fd89d176f72d7e14d5bc3d79 (patch)
treeb643a93afcd06f0052e3380516c79bb964018532 /gas
parentac835424b5ad4dce56c8d4ed6835d56fc225c786 (diff)
downloadgdb-c9e3887989960034fd89d176f72d7e14d5bc3d79.zip
gdb-c9e3887989960034fd89d176f72d7e14d5bc3d79.tar.gz
gdb-c9e3887989960034fd89d176f72d7e14d5bc3d79.tar.bz2
Adds support for fastcall symbols as used on Microsoft Windows platforms
(i386)
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/te-pe.h2
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/all/fastcall.s1
-rw-r--r--gas/testsuite/gas/all/gas.exp2
5 files changed, 15 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 85da823..22113ae 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-07 Eric Kohl <ekohl@rz-online.de>
+
+ * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
+ of a label.
+
2002-11-05 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (support_64bit_objects): Check *l before it
diff --git a/gas/config/te-pe.h b/gas/config/te-pe.h
index 1c1f0b2..b3e0764 100644
--- a/gas/config/te-pe.h
+++ b/gas/config/te-pe.h
@@ -1,5 +1,5 @@
#define TE_PE
-#define LEX_AT 1 /* can have @'s inside labels */
+#define LEX_AT (LEX_BEGIN_NAME | LEX_NAME) /* Can have @'s inside labels. */
/* The PE format supports long section names. */
#define COFF_LONG_SECTION_NAMES
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 9868851..4a6771b 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
+
+ * gas/all/gas.exp: Run fastcall label handling test.
+ * gas/all/fastcall.s: New file for testing handling of fastcall
+ labels.
+
2002-11-01 H.J. Lu <hjl@gnu.org>
* gas/i386/i386.exp: Add "sub".
diff --git a/gas/testsuite/gas/all/fastcall.s b/gas/testsuite/gas/all/fastcall.s
new file mode 100644
index 0000000..de771cd
--- /dev/null
+++ b/gas/testsuite/gas/all/fastcall.s
@@ -0,0 +1 @@
+@fastcall_label@0:
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index a959151..ef58c78 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -164,3 +164,5 @@ case $target_triplet in {
run_dump_test incbin
}
}
+
+gas_test "fastcall.s" "" "" "fastcall labels"