ChangeLog 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. 2014-03-17 Nigel Croxon <nigel.croxon@hp.com>
  2. Add support for the simple pointer and absolute pointer protocols
  3. Signed-off-by: John Cronin <johncronin@users.sf.net>
  4. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  5. 2014-03-14 Nigel Croxon <nigel.croxon@hp.com>
  6. Trying to recurse into subdirectories of object files may lead
  7. to an error if the directory doesn't exist. Even when cleaning.
  8. Signed-off-by: Sylvain Gault <sylvain.gault@gmail.com>
  9. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  10. 2014-03-14 Nigel Croxon <nigel.croxon@hp.com>
  11. Make install used to copy files unconditionnally to their
  12. destination. However, if the destination is used by another
  13. Makefile, it will always see modified files. "install" target
  14. now only updates the files when they need to.
  15. Signed-off-by: Sylvain Gault <sylvain.gault@gmail.com>
  16. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  17. 2014-02-13 Nigel Croxon <nigel.croxon@hp.com>
  18. Patch GNU-EFI to remove the ELILO code
  19. Signed-off-by: Jerry Hoemann <jerry.hoemann@hp.com>
  20. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  21. 2014-02-13 Nigel Croxon <nigel.croxon@hp.com>
  22. Initialize Status before calling GrowBuffer()
  23. Status must be initialized before calling GrowBuffer() as it may
  24. otherwise be uninitialized or set to EFI_BUFFER_TOO_SMALL by
  25. other functions.
  26. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  27. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  28. 2014-01-23 Nigel Croxon <nigel.croxon@hp.com>
  29. These changes allow manually overridden SRCDIR (current source
  30. directory) and TOPDIR (top of source tree) to separate the
  31. build directory from the source tree.
  32. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  33. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  34. 2014-01-16 Nigel Croxon <nigel.croxon@hp.com>
  35. compilation: fix uninitialized variables warning
  36. Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
  37. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  38. 2014-01-13 Nigel Croxon <nigel.croxon@hp.com>
  39. Implement VSPrint function, prints a formatted unicode string to a buffer.
  40. Signed-off-by: Jeremy Compostella <jeremy.compostella@gmail.com>
  41. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  42. 2014-01-10 Nigel Croxon <nigel.croxon@hp.com>
  43. Created lib/argify.c and inc/argify.h containing the function argify.
  44. It contains verbatim copy of the comment at beginning of file from
  45. elilo.
  46. There was no COPYING file in the elilo source that the comment refers to.
  47. Signed-off-by: Jerry Hoemann <jerry.hoemann@hp.com>
  48. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  49. 2014-01-08 Nigel Croxon <nigel.croxon@hp.com>
  50. The information needed is not really the host architecture as given by
  51. the kernel arch. The information actually needed is the default target
  52. of gcc.
  53. Signed-off-by: Sylvain Gault <sylvain.gault@gmail.com>
  54. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  55. 2013-10-11 Nigel Croxon <nigel.croxon@hp.com>
  56. Added support for SetVariable to store volatile variable,
  57. and SetNVVariable to store non volatile variable.
  58. Signed-off-by: Sylvain Chouleur <sylvain.chouleur@gmail.com>
  59. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  60. 2013-10-07 Nigel Croxon <nigel.croxon@hp.com>
  61. Atoi needs to have consistent declaration/definition.
  62. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  63. 2013-10-07 Nigel Croxon <nigel.croxon@hp.com>
  64. if you have a function that takes const arguments and then
  65. e.g. tries to copy StrCmp, gcc will give you warnings about those
  66. calls, and the warnings are right. These clutter up other things
  67. you might miss that you should be more concered about.
  68. You could work around it through vigorous typecasting
  69. to non-const types, but why should you have to? All of these
  70. functions are regorously defined as not changing their input
  71. - it is const, and should be marked as such.
  72. Signed-off-by: Peter Jones <pjones@redhat.com>
  73. 2013-10-02 Nigel Croxon <nigel.croxon@hp.com>
  74. Added two simple applications to allocate/free memory at EFI.
  75. Used to test/find memory fragmentation issues linux.
  76. Signed-off-by: Jerry Hoemann <jerry.hoemann@hp.com>
  77. Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
  78. 2013-06-25 Nigel Croxon <nigel.croxon@hp.com>
  79. Sample boot service driver.
  80. Signed-off-by: David Decotigny <decot@googlers.com>
  81. 2013-06-25 Nigel Croxon <nigel.croxon@hp.com>
  82. Date: Tue Jun 25 08:47:03 2013 -0400
  83. Be more pedantic when linking, don't allow duplicate symbols,
  84. abort upon first error. Also make sure linker script comes
  85. last for apps.
  86. Signed-off-by: David Decotigny <decot@googlers.com>
  87. 2013-06-25 Nigel Croxon <nigel.croxon@hp.com>
  88. Fix compilation on x86_64 without HAVE_USE_MS_ABI
  89. make -C apps would fail on tcc.c because uefi_call_wrapper()
  90. doesn't deal correctly with efi_callO-type invocation.
  91. Signed-off-by: David Decotigny <decot@googlers.com>
  92. 2013-06-12 Nigel Croxon <nigel.croxon@hp.com>
  93. Fix typo when disabling mno-mmx
  94. Signed-Off-By: Nigel Croxon <nigel.croxon@hp.com>
  95. 2013-06-12 Nigel Croxon <nigel.croxon@hp.com>
  96. Disable MMX and SSE
  97. GCC 4.8.0 adds some optimizations that will use movups/movaps (and use
  98. %xmm* registers) when they're faster, and of course that won't work at
  99. all since UEFI firmwares aren't guaranteed to initialize the mmx/sse
  100. instructions.
  101. This will be even more annoying, since most UEFI firmwares don't
  102. initialize the #DE or #UD trap handlers, and your backtrace will be a
  103. random path through uninitialized memory, occasionally including
  104. whatever address the IDT has for #UD, but also addresses like "0x4" and
  105. "0x507" that you don't normally expect to see in your call path.
  106. Signed-off-by: Peter Jones <pjones@redhat.com>
  107. Author: Nigel Croxon <nigel.croxon@hp.com>
  108. Date: Wed Jun 12 10:29:40 2013 -0400
  109. bug in make 3.82 expand to odd values
  110. Some Makefiles tickle a bug in make 3.82 that cause libefi.a
  111. and libgnuefi.a dependencies to expand to the odd values:
  112. libefi.a: boxdraw.o) smbios.o) ...
  113. libgnuefi.a(reloc_x86_64.o:
  114. The patch replaces libgnuefi.a($(OBJS)) & libefi.a($(OBJS))
  115. with an equivalent expansion that should work with any make
  116. that supports $(patsubst).
  117. Author: Nigel Croxon <nigel.croxon@hp.com>
  118. Date: Wed Jun 12 09:53:01 2013 -0400
  119. support .text.* sections on x86_64
  120. Group them in .text. Also add vague linkage sections in .text.
  121. Signed-off-by: David Decotigny <decot@googlers.com>
  122. Author: Nigel Croxon <nigel.croxon@hp.com>
  123. Date: Wed Jun 12 09:51:36 2013 -0400
  124. cleanup and fix Make.defaults
  125. Reorder variables in Make.defaults so that they are grouped by
  126. functions. Also fixed ifeq (x,y) to have required syntax and make it
  127. work for ARCH amd64->x86_64 renaming on BSD. Also provides top-level
  128. Makefile with a "mkvars" target that displays effective variables.
  129. Signed-off-by: David Decotigny <decot@googlers.com>
  130. Author: Nigel Croxon <nigel.croxon@hp.com>
  131. Date: Wed Jun 12 09:47:16 2013 -0400
  132. automatically determine number of uefi_call_wrapper() args on x86_64
  133. Instead of asking developers to explicitly pass the number of
  134. parameters to the functions that get called, we determine them
  135. automatically at preprocessing time. This should result in more
  136. robust code.
  137. Argument va_num is now ignored in x86_64 code, both with and
  138. without HAVE_USE_MS_ABI.
  139. Credits to the macro magic given in the comments.
  140. Signed-off-by: David Decotigny <decot@googlers.com>
  141. Author: Nigel Croxon <nigel.croxon@hp.com>
  142. Date: Wed Jun 12 09:38:10 2013 -0400
  143. fix parameter-passing corruption on x86_64 for >= 5 args
  144. On x86_64 without HAVE_USE_MS_ABI support, uefi_call_wrapper() is a
  145. variadic function. Parameters >=5 are copied to the stack and, when
  146. passed small immediate values (and possibly other parameters), gcc
  147. would emit a movl instruction before calling uefi_call_wrapper(). As a
  148. result, only the lower 32b of these stack values are significant, the
  149. upper 32b potentially contain garbage. Considering that
  150. uefi_call_wrapper() assumes these arguments are clean 64b values
  151. before calling the efi_callX() trampolines, the latter may be passed
  152. garbage. This makes calling functions like
  153. EFI_PCI_IO_PROTOCOL.Mem.Read()/Write() or BS->OpenProtocol() quite
  154. unreliable.
  155. This patch fixes this by turning uefi_call_wrapper() into a macro that
  156. allows to expose the efi_callX() trampoline signatures to the callers,
  157. so that gcc can know upfront that it has to pass all arguments to
  158. efi_callX() as clean 64b values (eg. movq for immediates). The
  159. _cast64_efi_callX macros are just here to avoid a gcc warning, they do
  160. nothing otherwise.
  161. Signed-off-by: David Decotigny <decot@googlers.com>
  162. Author: noxorc <nigel.croxon@hp.com>
  163. Date: Wed May 15 15:26:16 2013 -0400
  164. - Removes the ElfW() macro usage from reloc_ia32.c and reloc_x86_64.c. These
  165. macros only exist in link.h on Linux. On FreeBSD, the equivalent macro is
  166. __ElfN(). But the macro usage is redundant. You're only going to compile the
  167. ia32 file for IA32 binaries and the x86_64 file for X64 binaries. If you had
  168. just one file built for both cases, then using the macro might make more
  169. sense.
  170. - Removes the "#define foo_t efi_foo_t" macros from reloc_ia32.c and
  171. reloc_x86_64.c.
  172. - Modifies inc/x86_64/efibind.h and inc/ia32/efibind.h to use the new
  173. definitions for uint64_t, int64_t and int8_t. The 64-bit types are now defined
  174. as:
  175. typedef int __attribute__((__mode__(__DI__))) int64_t;
  176. typedef unsigned int __attribute__((__mode__(__DI__))) uint64_t;
  177. This removes the conflict between the host types dragged in by elf.h and the
  178. type definitions in efibind.h that made the #define foo_t efi_foo_t" hack
  179. necessary. Also, int8_t is now defined as signed char instead of just char
  180. (assuming char == signed char is apparently not good enough).
  181. - Also modifies these files to use stdint.h instead of stdint-gcc.h. It's
  182. unclear if this is completely correct, but stdint-gcc.h is not present with
  183. all GCC installs, and if you use -std=c99 or later you will force this case to
  184. be hit. This also can break clang, which doesn't have a stdint-gcc.h at all.
  185. - Removes the #include of <link.h> from reloc_ia32.c and reloc_x86_64.c (since
  186. with the previous changes it's not needed anymore).
  187. - Places the #include of <elf.h> after #include <efi>/#include <efilib.h> so
  188. that we know the types will always be defined properly, in case you build on a
  189. system where <elf.h> doesn't automatically pull in the right header files to
  190. define all the needed types. (This actually happens on VxWorks. It's harmless
  191. elsewhere. If you don't care about VxWorks, you can leave this out.)
  192. - Modifies setjmp_ia32.S and setjmp_x86_64.S so to change "function" to
  193. @function. The clang compiler doesn't like the former. Clang and GCC both like
  194. the latter.
  195. - Modifles Make.defaults so that if ARCH is detected as "amd64," it's changed
  196. to "x86_64." It happens that uname -m on 64-bit FreeBSD reports the former
  197. rather than the latter, which breaks the build. This may also be the case on
  198. some other OSes. There's a way to force uname(1) to return x86_64 as the
  199. machine type, but this way is a little friendlier.
  200. - Creates gnuefi/elf_ia32_fbsd_efi.lds which specifies the object file type as
  201. elf-ia32-freebsd. This is required for building on FreeBSD/i386, not just
  202. FreeBSD/amd64.
  203. - Modifies apps/Makefile to always use
  204. $(TOPDIR)/gnuefi/elf_$(ARCH)_fbsd_efi.lds when building on either 32-bit or
  205. 64-bit FreeBSD instead of just for the x86_64 case.
  206. - Changed LDFLAGS in Make.defaults to include --no-undefined. This will cause
  207. linking to fail if there are any unsatisfied symbols when creating foo.so
  208. during any of the app builds, as opposed to just silently succeeding and
  209. producing an unusable binary.
  210. - Changed CFLAGS to include -ffreestanding -fno-stack-protector -fno-stack-
  211. check. This prevents clang from inserting a call to memset() when compiling
  212. the RtZeroMem() and RtSetMem() routines in lib/runtime/efirtlib.c and guards
  213. against the native compiler in some Linux distros from adding in stack
  214. checking code which relies on libc help that isn't present in the EFI runtime
  215. environment.
  216. This does the following:
  217. - Cleans up the ia32 and x86-64 relocation code a bit (tries to break the
  218. dependency between the host ELF headers and the EFI runtime environment)
  219. - Avoids the dependency on stdint-gcc.h which may not always be available
  220. - Allows GNU EFI to build out of the box on both FreeBSD/i386 and
  221. FreeBSD/amd64
  222. - Allows GNU EFI to build out of the box with either GCC or clang on
  223. FreeBSD/i386 and FreeBSD/amd64 9.0 and later.
  224. - Makes things a little easier to port to VxWorks
  225. - Avoids creating un-runable binaries with unresolved symbol definitions
  226. (which can be very confusing to debug)
  227. Author: noxorc <nigel.croxon@hp.com>
  228. Date: Wed May 8 16:29:45 2013 -0400
  229. Add the definitions for TCP, UDP and IP, for both IPv4 and IPv6.
  230. 2013-05-02 Nigel Croxon <nigel.croxon@hp.com>
  231. * Chnage from Matt Fleming <matt.fleming@intel.com>
  232. - Preparation for adding the networking protocol definitions.
  233. Add the service binding protocol.
  234. 2013-02-21 Nigel Croxon <nigel.croxon@hp.com>
  235. * Change from Peter Jones <pjones@redhat.com>
  236. - Previously we were incorrectly passing 3 functions with
  237. the System V ABI to UEFI functions as EFI ABI functions.
  238. Mark them as EFIAPI so the compiler will (in our new
  239. GNU_EFI_USE_MS_ABI world) use the correct ABI.
  240. - These need to be EFIAPI functions because in some cases
  241. they call ST->ConOut->OutputString(), which is an EFIAPI
  242. function. (Which means that previously in cases that
  243. needed "cdecl", these didn't work right.)
  244. - If the compiler version is new enough, and GNU_EFI_USE_MS_ABI
  245. is defined, use the function attribute ms_abi on everything
  246. defined with "EFIAPI". Such calls will no longer go through
  247. efi_call*, and as such will be properly type-checked.
  248. - Honor PREFIX and LIBDIR correctly when passed in during the build.
  249. - Add machine type defines for i386, arm/thumb, ia64, ebc, x86_64.
  250. - __STDC_VERSION__ never actually gets defined unless there's a
  251. --std=... line. So we were accidentally defining lots of c99
  252. types ourself. Since it's 2012, use --std=c11 where appropriate,
  253. and if it's defined and we're using gcc, actually include gcc's
  254. stdint definitions.
  255. - New test application added: route80h. This is a test program
  256. for PciIo. It routes ioport 80h on ICH10 to PCI. This is also
  257. useful on a very limited set of hardware to enable use of
  258. a port 80h debug card.
  259. - New test applcation added: modelist. This lists video modes
  260. the GOP driver is showing us.
  261. * Change from Finnbarr Murphy
  262. - https://sourceforge.net/p/gnu-efi/feature-requests/2/
  263. Please add the following status codes to <efierr.h>
  264. EFI_INCOMPATIBLE_VERSION 25
  265. EFI_SECURITY_VIOLATION 26
  266. EFI_CRC_ERROR 27
  267. EFI_END_OF_MEDIA 28
  268. EFI_END_OF_FILE 31
  269. EFI_INVALID_LANGUAGE 32
  270. EFI_COMPROMISED_DATA 33
  271. * Change from SourceForge.net Bug report
  272. - https://sourceforge.net/p/gnu-efi/bugs/5/
  273. BufferSize is a UINT64 *. The file shipped with GNU EFI is from
  274. 1998 whereas the latest one is from 2004. I suspect Intel changed
  275. the API in order handle 64-bit systems.
  276. * Change from Felipe Contreras <felipe.contreras@gmail.com>
  277. - The current code seems to screw the stack at certain points.
  278. Multiple people have complained that gummiboot hangs right away,
  279. which is in part the fault of gummiboot, but happens only
  280. because the stack gets screwed. x86_64 EFI already aligns the
  281. stack, so there's no need for so much code to find a proper
  282. alignment, we always need to shift by 8 anyway.
  283. * Change from A. Steinmetz
  284. - https://sourceforge.net/p/gnu-efi/patches/1/
  285. The patch prepares for elilo to support uefi pxe over ipv6
  286. See uefi spec 2.3.1 errata c page 963 as reference.
  287. Verfied on an ASUS Sabertooth X79 BIOS Rev. 2104 system which
  288. is able to do an IPv6 UEFI PXE boot.
  289. * Release 3.0t
  290. 2012-09-21 Nigel Croxon <nigel.croxon@hp.com>
  291. * Change from Peter Jones <pjones@redhat.com>
  292. - EFI Block I/O protocol versions 2 and 3 provide more information
  293. regarding physical disk layout, including alingment offset at the
  294. beginning of the disk ("LowestAlignedLba"), logical block size
  295. ("LogicalBlocksPerPhysicalBlock"), and optimal block transfer size
  296. ("OptimalTransferLengthGranularity").
  297. * Release 3.0r
  298. 2012-04-30 Nigel Croxon <nigel.croxon@hp.com>
  299. * Change from Matt Fleming <matt.fleming@intel.com>
  300. - The .reloc section is now 4096-byte boundary for x86_64.
  301. Without this patch the .reloc section will not adhere to
  302. the alignment value in the FileAlignment field (512 bytes by
  303. default) of the PE/COFF header. This results in a signed
  304. executable failing to boot in a secure boot environment.
  305. * Release 3.0q
  306. 2011-12-12 Nigel Croxon <nigel.croxon@hp.com>
  307. * Changes from Fenghua Yu <fenghua.yu@intel.com>
  308. - This fixes redefined types compilation failure for tcc.c on x86_64 machines.
  309. * Release 3.0p
  310. 2011-11-15 Nigel Croxon <nigel.croxon@hp.com>
  311. * Changes from Darren Hart <dvhart@linux.intel.com>
  312. - Conditionally assign toolchain binaries to allow overriding them.
  313. - Force a dependency on lib for gnuefi.
  314. * Release 3.0n
  315. 2011-08-23 Nigel Croxon <nigel.croxon@hp.com>
  316. * Changes from Peter Jones <pjones@redhat.com>
  317. - Add guarantee 16-byte stack alignment on x86_64.
  318. - Add routine to make callbacks work.
  319. - Add apps/tcc.efi to test calling convention.
  320. * Release 3.0m
  321. 2011-07-22 Nigel Croxon <nigel.croxon@hp.com>
  322. * Changed Makefiles from GPL to BSD.
  323. * Changes from Peter Jones <pjones@redhat.com>
  324. - Add ifdefs for ia64 to mirror ia32 and x86-64 so that
  325. one can build with GCC.
  326. - Add headers for PciIo.
  327. - Add the UEFI 2.x bits for EFI_BOOT_SERVICES
  328. - Add an ignore for .note.GNU-stack section in X86-64 linker maps.
  329. * Release 3.0l
  330. 2011-04-07 Nigel Croxon <nigel.croxon@hp.com>
  331. * Change license from GPL to BSD.
  332. * Release 3.0j
  333. 2009-09-12 Julien BLACHE <jb@jblache.org>
  334. * Add support for FreeBSD.
  335. * Release 3.0i
  336. 2009-09-11 Julien BLACHE <jb@jblache.org>
  337. * Fix elf_ia32_efi.lds linker script to be compatible with the new
  338. linker behaviour. Patch from the RedHat bugzilla 492183.
  339. 2009-06-18 Nigel Croxon <nigel.croxon@hp.com>
  340. * Release 3.0h
  341. 2008-11-06 Nigel Croxon <nigel.croxon@hp.com>
  342. * Fix to not having any relocations at all.
  343. 2008-09-18 Nigel Croxon <nigel.croxon@hp.com>
  344. * Use LIBDIR in makefiles
  345. * Add setjmp/longjmp
  346. * Fixes incorrect section attribute in crt0-efi-ia32.S
  347. * Adds value EfiResetShutdown to enum EFI_RESET_TYPE
  348. * Fixes a RAW warning in reloc_ia64.S
  349. * Adds the USB HCI device path structure in the headers
  350. patches were supplied by Peter Jones @ RedHat
  351. 2008-02-22 Nigel Croxon <nigel.croxon@hp.com>
  352. * Added '-mno-red-zone' to x68_64 compiles.
  353. Patch provided by Mats Andersson.
  354. 2008-01-23 Nigel Croxon <nigel.croxon@hp.com>
  355. * release 3.0e to support x86_64
  356. EFI calling convention, the stack should be aligned in 16 bytes
  357. to make it possible to use SSE2 in EFI boot services.
  358. This patch fixes this issue. Patch provided by Huang Ying from Intel.
  359. 2007-05-11 Nigel Croxon <nigel.croxon@hp.com>
  360. * release 3.0d to support x86_64 from Chandramouli Narayanan
  361. from Intel and based on 3.0c-1
  362. 2006-03-21 Stephane Eranian <eranian@hpl.hp.com>
  363. * merged patch to support gcc-4.1 submitted by
  364. Raymund Will from Novell/SuSE
  365. 2006-03-20 Stephane Eranian <eranian@hpl.hp.com>
  366. * updated ia-64 and ia-32 linker scripts to
  367. match latest gcc. The new gcc may put functions in
  368. .text* sections. patch submitted by H.J. Lu from Intel.
  369. 2004-11-19 Stephane Eranian <eranian@hpl.hp.com>
  370. * added patch to ignore .eh_frame section for IA-32. Patch
  371. submitted by Jim Wilson
  372. 2004-09-23 Stephane Eranian <eranian@hpl.hp.com>
  373. * added patch to discard unwind sections, newer toolchains
  374. complained about them. Patch submitted by Jesse Barnes from SGI.
  375. 2003-09-29 Stephane Eranian <eranian@hpl.hp.com>
  376. * updated elf_ia64_efi.lds to reflect new data sections
  377. created by gcc-3.3. Patch provided by Andreas Schwab from Suse.
  378. 2003-06-20 Stephane Eranian <eranian@hpl.hp.com>
  379. * updated elf_ia64_efi.lds and elf_ia32_efi.lds to include
  380. new types data sections produced by recent version of gcc-3.x
  381. 2002-02-22 Stephane Eranian <eranian@hpl.hp.com>
  382. * release 3.0a
  383. * modified both IA-64 and IA-32 loader scripts to add support for the
  384. new .rodata sections names (such as rodata.str2.8). Required
  385. for new versions of gcc3.x.
  386. 2001-06-20 Stephane Eranian <eranian@hpl.hp.com>
  387. * release 3.0
  388. * split gnu-efi package in two different packages: the libary+include+crt and the bootloader.
  389. * removed W2U() hack and related files to get from wide-char to unicode.
  390. * Use -fshort-wchar option for unicode.
  391. * restructured Makefiles now install under INSTALLROOT.
  392. 2001-04-06 Stephane Eranian <eranian@hpl.hp.com>
  393. * incorporated patches from David and Michael Johnston at Intel
  394. to get the package to compile for IA-32 linux target.
  395. * Fixed ELILO to compile for Ia-32 (does not execute yet, though):
  396. Makefile and start_kernel() function.
  397. 2001-04-06 Andreas Schwab <schwab@suse.de>
  398. * Fixed config.c to
  399. get the timeout directive to do something. implemented the global
  400. root= directive.
  401. * Fix the efi_main() to deal with the -C option properly
  402. 2001-04-05 Stephane Eranian <eranian@hpl.hp.com>
  403. * update efi library to latest EFI toolkit 1.02 as distributed
  404. by Intel. Fixed header + library files to compile with GCC
  405. * merged ELI and LILO (as of gnu-efi-1.1) together, mostly
  406. taking the config file feature of ELI.
  407. * renamed LILO to ELILO to make the distinction
  408. * restructured code to make it easier to understand and maintain
  409. * fixed FPSWA driver checking and loading: we try all possible
  410. files and let the driver itself figure out if it is the most
  411. recent.
  412. * added support for compression (gzip) but keep support for plain
  413. ELF image. ELILO autodetects the format
  414. * change the way the kernel is invoked. Now we call it in
  415. physical memory mode. This breaks the dependency between the
  416. kernel code and the loader. No more lilo_start.c madness.
  417. * changed the way the boot_params are passed. We don't use the
  418. ZERO_PAGE_ADDR trick anymore. Instead we use EFI runtime memory.
  419. The address of the structure is passed to the kernel in r28
  420. by our convention.
  421. * released as gnu-efi-2.0
  422. 2001-04-03 David Mosberger <davidm@hpl.hp.com>
  423. * gnuefi/reloc_ia32.c (_relocate): Change return type from "void"
  424. to "int". Return error status if relocation fails for some
  425. reason.
  426. * gnuefi/elf_ia32_efi.lds: Drop unneeded ".rel.reloc" section.
  427. * gnuefi/crt0-efi-ia32.S (_start): Exit if _relocate() returns with
  428. non-zero exit status.
  429. * inc/ia32/efibind.h [__GNUC__]: Force 8-byte alignment for 64-bit
  430. types as that is what EFI appears to be expecting, despite the
  431. "#pragma pack()" at the beginning of the file!
  432. 2001-03-29 David Mosberger <davidm@hpl.hp.com>
  433. * gnuefi/reloc_ia32.c: Add a couple of defines to work around
  434. libc/efilib collision on uint64_t et al.
  435. (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
  436. * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
  437. 2001-03-29 David Mosberger <davidm@hpl.hp.com>
  438. * gnuefi/reloc_ia32.c: Add a couple of defines to work around
  439. libc/efilib collision on uint64_t et al.
  440. (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
  441. * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
  442. 2000-10-26 David Mosberger <davidm@hpl.hp.com>
  443. * gnuefi/elf_ia64_efi.lds: Mention .rela.sdata.
  444. * Make.defaults (CFLAGS): Remove -nostdinc flags so we can pick
  445. up the C compiler's stdarg.h.
  446. * inc/stdarg.h: Remove this file. It's not correct for gcc (nor
  447. most other optimizing compilers).
  448. 2000-10-10 Stephane Eranian <eranian@hpl.hp.com>
  449. * cleaned up the error message and printing of those.
  450. * added support to load the FPSWA from a file in case support is not
  451. present in the firmware already
  452. * fixed split_args() to do the right thing when you have leading spaces
  453. before kernel name
  454. * changed the argify() function to rely on \0 instead of LoadOptionSize
  455. as the field seems to be broken with current firmware
  456. * bumped version to 1.0
  457. 2000-10-04 David Mosberger <davidm@hpl.hp.com>
  458. * gnuefi/reloc_ia64.S: Reserve space for up to 750 function descriptors.
  459. * gnuefi/elf_ia64_efi.lds: Add .sdata section for small data and
  460. put __gp in the "middle" of it.
  461. * gnuefi/crt0-efi-ia64.S (_start): Use movl/add to load
  462. gp-relative addresses that could be out of the range of the addl
  463. offset.
  464. * gnuefi/reloc_ia64.S (_relocate): Ditto.
  465. * apps/Makefile: Remove standard rules and include Make.rules instead.
  466. * lilo/Makefile: Ditto.
  467. * Make.rules: New file.
  468. 2000-08-04 Stephane Eranian <eranian@hpl.hp.com>
  469. * released version 0.9
  470. * incorporated ACPI changes for Asuza by NEC < kouchi@hpc.bs1.fc.nec.co.jp>
  471. * added support for initrd (-i option) original ELI code from Bill Nottingham <notting@redhat.com>)
  472. * lots of cleanups
  473. * got rid of #ifdef LILO_DEBUG and uses macro instead
  474. * fix a few extra memory leaks in create_boot_params()
  475. * added exit capability just before starting the kernel
  476. 2000-06-22 David Mosberger <davidm@hpl.hp.com>
  477. * gnuefi/elf_ia64_efi.lds: Add .srodata, .ctors, .IA64.unwind,
  478. .IA64.unwind_info to .data section and .rela.ctors to .rela
  479. section.
  480. 2000-04-03 David Mosberger <davidm@hpl.hp.com>
  481. * lilo/lilo.c (LILO_VERSION): Up version number to 0.9.
  482. * gnuefi/elf_ia64_efi.lds: Include .IA_64.unwind and
  483. .IA_64.unwind_info in .data segment to avoid EFI load error
  484. "ImageAddress: pointer outside of image" error due to the .dynsym
  485. relocations against these sections.
  486. * ChangeLog: Moved from lilo/ChangeLogs.
  487. * gnuefi/reloc_ia64.S: fixed typo: .space directive had constant
  488. 100 hardcoded instead of using MAX_FUNCTION_DESCRIPTORS
  489. macro. Duh.
  490. Fri Mar 17 15:19:18 PST 2000 Stephane Eranian <eranian@hpl.hp.com>
  491. * Released 0.8
  492. * replace the getopt.c with new version free with better license
  493. * created a documentation file
  494. * fix a couple of memory leaks
  495. * code cleanups
  496. * created a separate directory for lilo in the gnu-efi package.
  497. * added support for the BOOT_IMAGE argument to kernel
  498. * default is to build natively now