Fix name of discarded section in modules.h

From: Peter Chubb (peter@chubb.wattle.id.au)
Date: Thu Oct 24 2002 - 19:21:46 EST


Hi folks,
   Changeset
             willy@debian.org|ChangeSet|20021016154637|46581
in linux 2.5 changed the name of .exit.text to .text.exit.

Unfortunately, one change got missed. Here it is:

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.808 -> 1.809
# include/linux/module.h 1.17 -> 1.18
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/25 peterc@gelato.unsw.edu.au 1.809
# Fix name of .text.exit section in include/linux/module.h
# --------------------------------------------
#
diff -Nru a/include/linux/module.h b/include/linux/module.h
--- a/include/linux/module.h Fri Oct 25 10:20:05 2002
+++ b/include/linux/module.h Fri Oct 25 10:20:05 2002
@@ -311,7 +311,7 @@
  */
 #define MODULE_GENERIC_TABLE(gtype,name) \
 static const struct gtype##_id * __module_##gtype##_table \
- __attribute__ ((unused, __section__(".data.exit"))) = name
+ __attribute__ ((unused, __section__(".exit.data"))) = name
 
 #ifndef __GENKSYMS__
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:25 EST