aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-09-01 10:57:19 +0000
committerNick Clifton <nickc@redhat.com>1999-09-01 10:57:19 +0000
commit5856c19ac4bff88a0b2974c734a702f4b528af02 (patch)
treee74d7c10bb9056e61b29dbdab481ade4b5daf864 /gas
parentcdf82bcf482ee1bbe3cb5c9acde17c9fa7bb7a82 (diff)
downloadgdb-5856c19ac4bff88a0b2974c734a702f4b528af02.zip
gdb-5856c19ac4bff88a0b2974c734a702f4b528af02.tar.gz
gdb-5856c19ac4bff88a0b2974c734a702f4b528af02.tar.bz2
Do not align sectins when producing ELF format objects.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fd3962e..7c068c7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
1999-09-01 Nick Clifton <nickc@cygnus.com>
+ * config/tc-arm.c (md_section_align): Do not align sections in ELF
+ format.
+
* as.c (show_usage): Add --gdwarf2 to list of options displayed.
* as.texinfo: Document --gdwarf2 command line option.
Add additional documentation of ARM command line switches.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index ae4b629..92b3856 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -5181,9 +5181,7 @@ md_section_align (segment, size)
valueT size;
{
#ifdef OBJ_ELF
- /* Don't align the dwarf2 debug sections */
- if (!strncmp (segment->name, ".debug", 5))
- return size;
+ return size;
#endif
/* Round all sects to multiple of 4 */
return (size + 3) & ~3;