[packages/fpc] - updated gdb patch from fpc git (to support gdb 7.6) - updated link patch, use dynamic linking with

qboosh qboosh at pld-linux.org
Wed Aug 7 21:46:51 CEST 2013


commit 3c782031e4052b90762f849b561ad65850eb0350
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Aug 7 21:46:08 2013 +0200

    - updated gdb patch from fpc git (to support gdb 7.6)
    - updated link patch, use dynamic linking with gdb-related libraries

 fpc-gdb.patch  | 512 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 fpc-link.patch |  29 ++--
 fpc.spec       |  16 +-
 3 files changed, 516 insertions(+), 41 deletions(-)
---
diff --git a/fpc.spec b/fpc.spec
index 99008bc..944c71c 100644
--- a/fpc.spec
+++ b/fpc.spec
@@ -10,7 +10,7 @@ Summary(uk.UTF-8):	Вільний компілятор Pascal
 Name:		fpc
 Version:	2.6.2
 Release:	1
-License:	GPL
+License:	GPL v2+
 Group:		Development/Languages
 Source0:	ftp://ftp.freepascal.org/pub/fpc/dist/%{version}/source/%{name}build-%{version}.tar.gz
 # Source0-md5:	89c7e60db6280f3d5cc006a4a9ff43a9
@@ -25,18 +25,18 @@ Patch1:		%{name}-link.patch
 Patch2:		%{name}-gdb.patch
 Patch3:		%{name}-r22920.patch
 URL:		http://www.freepascal.org/
-BuildRequires:	binutils-static >= 3:2.17.50
+BuildRequires:	binutils-devel >= 3:2.17.50
 BuildRequires:	gpm-devel
 BuildRequires:	ncurses-devel
 BuildRequires:	rpmbuild(macros) >= 1.213
 %if %{with ide}
+BuildRequires:	expat-devel
 BuildRequires:	gdb-lib >= 7.2-7
-BuildRequires:	python-static
-BuildRequires:	readline-static
-BuildRequires:	libselinux-static
-BuildRequires:	libsepol-static
-BuildRequires:	zlib-static
-BuildRequires:	xz-static
+BuildRequires:	python-devel
+BuildRequires:	readline-devel
+BuildRequires:	libselinux-devel
+BuildRequires:	xz-devel
+BuildRequires:	zlib-devel
 %endif
 %if %{with doc}
 BuildRequires:	tetex-fonts-jknappen
diff --git a/fpc-gdb.patch b/fpc-gdb.patch
index b09ca9d..b8e32b0 100644
--- a/fpc-gdb.patch
+++ b/fpc-gdb.patch
@@ -1,29 +1,497 @@
---- fpcbuild-2.6.2/fpcsrc/packages/gdbint/src/gdbint.pp.orig	2012-10-29 11:20:11.000000000 +0100
-+++ fpcbuild-2.6.2/fpcsrc/packages/gdbint/src/gdbint.pp	2013-02-27 00:46:44.367729018 +0100
-@@ -113,6 +113,26 @@
-   {$define GDB_HAS_BP_NONE}
- {$endif def GDB_V608}
+--- fpcbuild-2.6.2/fpcsrc/packages/gdbint/src/gdbint.pp.orig	2013-08-07 20:58:05.756050489 +0200
++++ fpcbuild-2.6.2/fpcsrc/packages/gdbint/src/gdbint.pp	2013-08-07 21:09:31.746021701 +0200
+@@ -14,6 +14,7 @@
+ unit GdbInt;
+ 
+ {$mode objfpc}
++{$smartlink off}
+ 
+ {$define NotImplemented}
+ 
+@@ -39,83 +40,56 @@
+ 
+ interface
+ 
+-{$smartlink off}
+ 
  
+ { Is create_breakpoint_hook deprecated? }
+ { Seem not so for 6.1 }
+ {$define GDB_HAS_DEPRECATED_CBPH}
+ 
+-{ 6.1.x }
+-{$ifdef GDB_V601}
+-  {$info using gdb 6.1.x}
+-  {$define GDB_V6}
+-  {$undef GDB_HAS_DEPRECATED_CBPH}
+-{$endif def GDB_V601}
+-
+-{ 6.2.x }
+-{$ifdef GDB_V602}
+-  {$info using gdb 6.2.x}
+-  {$define GDB_V6}
+-{$endif def GDB_V602}
+-
+-{ 6.3.x }
+-{$ifdef GDB_V603}
+-  {$info using gdb 6.3.x}
+-  {$define GDB_V6}
+-{$endif def GDB_V603}
+ 
+-{ 6.4.x }
+-{$ifdef GDB_V604}
+-  {$info using gdb 6.4.x}
+-  {$define GDB_V6}
+-  {$define GDB_NEEDS_NO_ERROR_INIT}
+-{$endif def GDB_V604}
++{
++  Excatly one
++  GDB_VXYZ macro
++  where XYZ are three numbers
++  needs to defined
++  either inside gdblib.inc or gdbver.inc
++  This corresponds to version
++  X.YZ.patch_level
++}
+ 
+-{ 6.5.x }
+-{$ifdef GDB_V605}
+-  {$info using gdb 6.5.x}
+-  {$define GDB_V6}
+-  {$define GDB_NEEDS_NO_ERROR_INIT}
+-{$endif def GDB_V605}
++{$undef GDB_VERSION_RECOGNIZED}
+ 
+-{ 6.6.x }
+-{$ifdef GDB_V606}
+-  {$info using gdb 6.6.x}
+-  {$define GDB_V6}
+-  {$define GDB_USES_BP_LOCATION}
+-  {$define GDB_NEEDS_NO_ERROR_INIT}
+-  {$define GDB_USES_EXPAT_LIB}
+-  {$define GDB_HAS_DEBUG_FILE_DIRECTORY}
+-{$endif def GDB_V606}
++{ 7.6.x }
++{$ifdef GDB_V706}
++  {$info using gdb 7.6.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_VER_GE_706}
++{$endif}
+ 
+-{ 6.7.x }
+-{$ifdef GDB_V607}
+-  {$info using gdb 6.7.x}
+-  {$define GDB_V6}
+-  {$define GDB_USES_BP_LOCATION}
+-  {$define GDB_NEEDS_NO_ERROR_INIT}
+-  {$define GDB_USES_EXPAT_LIB}
+-  {$define GDB_HAS_DEBUG_FILE_DIRECTORY}
+-{$endif def GDB_V607}
++{$ifdef GDB_VER_GE_706}
++  {$define GDB_VER_GE_705}
++{$endif}
 +{ 7.5.x }
 +{$ifdef GDB_V705}
 +  {$info using gdb 7.5.x}
-+  {$define GDB_V7}
-+  {$define GDB_BP_LOCATION_HAS_GDBARCH}
-+  {$define GDB_HAS_PROGRAM_SPACE}
-+  {$define GDB_NO_UIOUT}
-+  {$define GDB_NEEDS_INTERPRETER_SETUP}
-+  {$define GDB_NEEDS_SET_INSTREAM}
-+  {$define GDB_NOTIFY_BREAKPOINT_ARG_IS_BREAKPOINT_PTR}
-+  {$define GDB_USES_BP_OPS}
-+  {$define GDB_BP_TI_HAS_LENGTH}
-+  {$define GDB_BP_LOCATION_HAS_REFCOUNT}
-+  {$define GDB_BP_LOCATION_HAS_OPS}
-+  {$define GDB_UI_FILE_HAS_WRITE_ASYNC}
-+  {$ifdef win32}
-+      {$define GDB_USES_LIBADVAPI32}
-+  {$endif win32}
-+{$endif def GDB_V705}
-+
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_VER_GE_705}
++{$endif}
+ 
+-{ 6.8.x }
+-{$ifdef GDB_V608}
+-  {$info using gdb 6.8.x}
+-  {$define GDB_V6}
+-  {$define GDB_USES_BP_LOCATION}
+-  {$define GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
+-  {$define GDB_NEEDS_NO_ERROR_INIT}
+-  {$define GDB_USES_EXPAT_LIB}
+-  {$define GDB_HAS_DEBUG_FILE_DIRECTORY}
+-  {$define GDB_USES_LIBDECNUMBER}
+-  // {$define GDB_HAS_OBSERVER_NOTIFY_BREAKPOINT_CREATED}
+-  {$define GDB_HAS_BP_NONE}
+-{$endif def GDB_V608}
++{$ifdef GDB_VER_GE_705}
++  {$define GDB_VER_GE_704}
++  {$define GDB_BP_LOCATION_HAS_COND_BYTECODE}
++  {$define GDB_BP_LOCATION_HAS_RELATED_ADDRESS}
++{$endif}
+ 
  { 7.4.x }
  {$ifdef GDB_V704}
    {$info using gdb 7.4.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_VER_GE_704}
++{$endif}
++
++{$ifdef GDB_VER_GE_704}
+   {$define GDB_V7}
+   {$define GDB_BP_LOCATION_HAS_GDBARCH}
+   {$define GDB_HAS_PROGRAM_SPACE}
+@@ -131,11 +105,12 @@
+   {$ifdef win32}
+       {$define GDB_USES_LIBADVAPI32}
+   {$endif win32}
+-{$endif def GDB_V704}
++{$endif def GDB_VER_GE_704}
+ 
+ { 7.3.x }
+ {$ifdef GDB_V703}
+   {$info using gdb 7.3.x}
++  {$define GDB_VERSION_RECOGNIZED}
+   {$define GDB_V7}
+   {$define GDB_BP_LOCATION_HAS_GDBARCH}
+   {$define GDB_HAS_PROGRAM_SPACE}
+@@ -150,11 +125,13 @@
+     {$define GDB_BP_LOCATION_HAS_OPS}
+     {$define GDB_UI_FILE_HAS_WRITE_ASYNC}
+   {$endif GDB_CVS}
++  {$define GDB_VERSION_RECOGNIZED}
+ {$endif def GDB_V703}
+ 
+ { 7.2.x }
+ {$ifdef GDB_V702}
+   {$info using gdb 7.2.x}
++  {$define GDB_VERSION_RECOGNIZED}
+   {$define GDB_V7}
+   {$define GDB_BP_LOCATION_HAS_GDBARCH}
+   {$define GDB_HAS_PROGRAM_SPACE}
+@@ -163,6 +140,7 @@
+ { 7.1.x }
+ {$ifdef GDB_V701}
+   {$info using gdb 7.1.x}
++  {$define GDB_VERSION_RECOGNIZED}
+   {$define GDB_V7}
+   {$define GDB_BP_LOCATION_HAS_GDBARCH}
+   {$define GDB_HAS_PROGRAM_SPACE}
+@@ -173,6 +151,7 @@
+ { 7.0.x }
+ {$ifdef GDB_V700}
+   {$info using gdb 7.0.x}
++  {$define GDB_VERSION_RECOGNIZED}
+   {$define GDB_V7}
+   {$ifdef GDB_CVS}
+     {$define GDB_BP_LOCATION_HAS_GDBARCH}
+@@ -197,9 +176,92 @@
+   {$define GDB_HAS_OBSERVER_NOTIFY_BREAKPOINT_CREATED}
+   {$define GDB_TARGET_CLOSE_HAS_PTARGET_ARG}
+   {$define GDB_HAS_BP_NONE}
++  {$define GDB_USE_XSTRVPRINTF}
+ {$endif def GDB_V7}
+ 
+ 
++{ 6.8.x }
++{$ifdef GDB_V608}
++  {$info using gdb 6.8.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++  {$define GDB_USES_BP_LOCATION}
++  {$define GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
++  {$define GDB_NEEDS_NO_ERROR_INIT}
++  {$define GDB_USES_EXPAT_LIB}
++  {$define GDB_HAS_DEBUG_FILE_DIRECTORY}
++  {$define GDB_USES_LIBDECNUMBER}
++  // {$define GDB_HAS_OBSERVER_NOTIFY_BREAKPOINT_CREATED}
++  {$define GDB_HAS_BP_NONE}
++{$endif def GDB_V608}
++
++{ 6.7.x }
++{$ifdef GDB_V607}
++  {$info using gdb 6.7.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++  {$define GDB_USES_BP_LOCATION}
++  {$define GDB_NEEDS_NO_ERROR_INIT}
++  {$define GDB_USES_EXPAT_LIB}
++  {$define GDB_HAS_DEBUG_FILE_DIRECTORY}
++{$endif def GDB_V607}
++
++{ 6.6.x }
++{$ifdef GDB_V606}
++  {$info using gdb 6.6.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++  {$define GDB_USES_BP_LOCATION}
++  {$define GDB_NEEDS_NO_ERROR_INIT}
++  {$define GDB_USES_EXPAT_LIB}
++  {$define GDB_HAS_DEBUG_FILE_DIRECTORY}
++{$endif def GDB_V606}
++
++{ 6.5.x }
++{$ifdef GDB_V605}
++  {$info using gdb 6.5.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++  {$define GDB_NEEDS_NO_ERROR_INIT}
++{$endif def GDB_V605}
++
++{ 6.4.x }
++{$ifdef GDB_V604}
++  {$info using gdb 6.4.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++  {$define GDB_NEEDS_NO_ERROR_INIT}
++{$endif def GDB_V604}
++
++{ 6.3.x }
++{$ifdef GDB_V603}
++  {$info using gdb 6.3.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++{$endif def GDB_V603}
++
++{ 6.2.x }
++{$ifdef GDB_V602}
++  {$info using gdb 6.2.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++{$endif def GDB_V602}
++
++{ 6.1.x }
++{$ifdef GDB_V601}
++  {$info using gdb 6.1.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++  {$undef GDB_HAS_DEPRECATED_CBPH}
++{$endif def GDB_V601}
++
++{ 6.0.x }
++{$ifdef GDB_V600}
++  {$info using gdb 6.0.x}
++  {$define GDB_VERSION_RECOGNIZED}
++  {$define GDB_V6}
++{$endif def GDB_V600}
++
+ {$ifdef GDB_V6}
+   {$define GDB_HAS_SYSROOT}
+   {$define GDB_HAS_DB_COMMANDS}
+@@ -207,6 +269,10 @@
+   {$define GDB_INIT_HAS_ARGV0}
+ {$endif GDB_V6}
+ 
++{$ifdef GDB_VERSION_RECOGNIZED}
++  {$warning no recognized GDB_VXYZ conditional found, linking might fail. }
++{$endif}
++
+ 
+ {$ifdef GDB_HAS_OBSERVER_NOTIFY_BREAKPOINT_CREATED}
+   {$define DO_NOT_USE_CBPH}
+@@ -961,7 +1027,7 @@
+      pprogram_space = pointer;
+      pgdbarch = pointer;
+ 
+-{$PACKRECORDS 4}
++{$PACKRECORDS C}
+      pbreakpoint = ^breakpoint;
+      breakpoint = record
+ {$ifdef GDB_USES_BP_OPS}
+@@ -1022,6 +1088,9 @@
+           section : pointer; {^asection}
+        end;
+ 
++     pagent_expr = pointer;
++     tcondition_status = (condition_unchanged, condition_modified);
++
+      bp_target_info = record
+           placed_address_space : pointer;{paddress_space;}
+           placed_address : CORE_ADDR;
+@@ -1050,6 +1119,12 @@
+          owner : pbreakpoint;
+ {$ifdef GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
+          cond : pointer;{pexpression;}
++{$ifdef GDB_BP_LOCATION_HAS_COND_BYTECODE}
++         cond_bytecode : pagent_expr;
++         condition_changed : tcondition_status;
++         cmd_bytecode : pagent_expr;
++         needs_update : byte;
++{$endif}
+          shlib_disabled : byte;
+          enabled : byte;
+ {$endif GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
+@@ -1068,6 +1143,10 @@
+ {$endif GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
+          section : pointer;{pobj_section;}
+          requested_address : CORE_ADDR;
++{$ifdef GDB_BP_LOCATION_HAS_RELATED_ADDRESS}
++         related_address : CORE_ADDR;
++         probe : pointer; { struct probe *probe; }
++{$endif}
+ {$ifdef GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
+          function_name : ^char;
+ {$endif GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
+@@ -1122,6 +1201,8 @@
+             avoid stack memory corruption PM }
+           explicit_pc : longint;
+           explicit_line : longint;
++          { New field added in GDB 7.5 version }
++          probe : pointer;{struct probe *probe; }
+        end;
+ 
+      symtabs_and_lines = record
+@@ -1567,7 +1648,7 @@
+           to_magic : longint;
+        end;
+ 
+-{$PACKRECORDS NORMAL}
++{$PACKRECORDS C}
+ 
+ {*****************************************************************************
+                    Define external calls to libgdb.a
+@@ -1616,9 +1697,17 @@
+ var
+   instream : P_C_FILE;cvar;external;
+   function gdb_fopen (filename : pchar; mode : pchar) : pui_file;cdecl;external;
++{$ifdef LIBGDB_HAS_GET_STDIN}
++  { this function is generated by the gen-libgdb-inc.sh script
++    in a object called gdb_get_stdin.o added to the libgdb.a archive }
++  function gdb_get_stdin : P_C_FILE; cdecl; external;
++var
++  saved_command_line : pchar;cvar;external; { defined in top.c source }
++  saved_command_line_size : longint;cvar;external; {defined in top.c source }
++{$endif}
+ {$endif GDB_NEEDS_SET_INSTREAM}
+ var
+-  { The four following variables are defined in defs.h 
++  { The four following variables are defined in defs.h
+     and instanciated in main.c since version 5.0 }
+   gdb_stdout : pui_file;cvar;public;
+   gdb_stderr : pui_file;cvar;public;
+@@ -1640,7 +1729,11 @@
+ { xvasprintf is present at least from GDB 5.3
+   while xstrvprintf only appears in version 6.2,
+   so only use xvasprintf function }
++{$ifdef GDB_USE_XSTRVPRINTF}
++function xstrvprintf(msg : pchar) : pchar; varargs; cdecl; external;
++{$else}
+ function xvasprintf(ret : ppchar; msg : pchar) : pchar; varargs; cdecl; external;
++{$endif}
+ procedure xfree(p : pointer); cdecl; external;
+ function  find_pc_line(i:CORE_ADDR;l:longint):symtab_and_line;cdecl;external;
+ function  find_pc_function(i:CORE_ADDR):psymbol;cdecl;external;
+@@ -2022,6 +2115,13 @@
+     stop_breakpoint_number:=num;
+ end;
+ 
++procedure annotate_breakpoints_changed;cdecl;public;
++begin
++{$ifdef Verbose}
++  Debug('|breakpoints_changed|');
++{$endif}
++end;
++
+ 
+ procedure annotate_watchpoint(num:longint);cdecl;public;
+ begin
+@@ -2359,6 +2459,14 @@
+ {$endif}
+ end;
+ 
++procedure annotate_display_prompt;cdecl;public;
++begin
++{$ifdef Verbose}
++  Debug('|display_prompt|');
++{$endif}
++end;
++
++
+ procedure annotate_display_begin;cdecl;public;
+ begin
+ {$ifdef Verbose}
+@@ -2528,7 +2636,11 @@
+         QueryHook:=1
+       else if pos('%',question)>0 then
+         begin
++{$ifdef GDB_USE_XSTRVPRINTF}
++          local:=xstrvprintf(question,arg);
++{$else}
+           xvasprintf(@local,question,arg);
++{$endif}
+           { xvasprintf can failed, in that case local is set to nil }
+           if not assigned(local) then
+             local:=question;
+@@ -3117,32 +3229,48 @@
+ 
+ {$ifdef go32v2}
+ var
+-  c_environ : ppchar;external name '_environ';
++  c_environ : ppchar;external name '__environ';
+   c_argc : longint;external name '___crt0_argc';
+   c_argv : ppchar;external name '___crt0_argv';
+ 
+   procedure ReallocateEnvironUsingCMalloc;
+ 
+   var
+-    neededsize , count : longint;
++    neededsize , i, count : longint;
+     penv : pchar;
+     newenv : ppchar;
+   begin
+     if not assigned(c_environ) then
+-      neededsize:=0
++      neededsize:=sizeof(pchar)
+     else
+       begin
+         count:=0;
+-        penv:=c_environ^;
++        penv:=c_environ[count];
+         while assigned(penv) do
+           begin
+             inc(count);
+-            inc(penv,sizeof(pchar));
++            penv:=c_environ[count];
+           end;
++        inc(count);
+         neededsize:=count*sizeof(pchar);
+       end;
+     newenv:=malloc(neededsize);
+-    system.move(c_environ,newenv,neededsize);
++    system.move(c_environ^,newenv^,neededsize);
++    if assigned(c_environ) then
++      begin
++        for i:=0 to count-1 do
++          begin
++            penv:=c_environ[i];
++            if assigned(penv) then
++              begin
++                neededsize:=strlen(penv)+1;
++                newenv[i]:=malloc(neededsize);
++                system.move(penv^,newenv[i]^,neededsize);
++              end
++            else
++              newenv[i]:=nil;
++          end;
++      end;
+     c_environ:=newenv;
+   end;
+ 
+@@ -3211,6 +3339,10 @@
+     ui_file_delete(gdb_stdin);
+   gdb_stdin:=mem_fileopen;
+   save_gdb_stdin:=gdb_stdin;
++{$ifdef LIBGDB_HAS_GET_STDIN}
++  instream:=gdb_get_stdin;
++  saved_command_line:=xmalloc(saved_command_line_size);
++{$else}
+   dummy_file :=gdb_fopen('dummy.$$$','a');
+   {in captured_main code, this is simply
+    instream:=stdin; but stdin is a highly system dependent macro
+@@ -3219,6 +3351,7 @@
+     instream:=pstdio_file(dummy_file^.to_data)^._file
+   else
+     instream:=nil;
++{$endif}
+ {$endif GDB_NEEDS_SET_INSTREAM}
+ 
+   gdb_stderr:=mem_fileopen;
+@@ -3313,10 +3446,10 @@
+     variables that are defined in main.c source.
+     We must not load main.o otherwise, we will get
+     into multiply defined symbols troubles. }
+-var 
++var
+     gdb_sysrootc : char;
+     { used locally only to provide a pchar pointing to '\0' }
+-    gdb_sysroot  : pchar; cvar;public; 
++    gdb_sysroot  : pchar; cvar;public;
+     { gdb_sysroot global variable is declared in defs.h and
+       instanciated in main.c since version 6.0 }
+     gdb_datadir  : pchar; cvar;public;
diff --git a/fpc-link.patch b/fpc-link.patch
index b4d5827..d73e584 100644
--- a/fpc-link.patch
+++ b/fpc-link.patch
@@ -1,13 +1,20 @@
---- fpcbuild-2.4.4/fpcsrc/packages/gdbint/src/gdbint.pp~	2011-09-21 19:34:32.658045055 +0200
-+++ fpcbuild-2.4.4/fpcsrc/packages/gdbint/src/gdbint.pp	2011-09-21 19:35:07.381379951 +0200
-@@ -242,6 +242,10 @@
+--- fpcbuild-2.6.2/fpcsrc/packages/gdbint/src/gdbint.pp.orig	2012-10-29 11:20:11.000000000 +0100
++++ fpcbuild-2.6.2/fpcsrc/packages/gdbint/src/gdbint.pp	2013-04-01 18:28:20.664497672 +0200
+@@ -266,10 +266,13 @@
      {$LINKLIB libsim.a}
    {$endif GDB_HAS_SIM}
-   {$LINKLIB libbfd.a}
-+  {$LINKLIB libz.a}
-+  {$LINKLIB liblzma.a}
-+  {$LINKLIB libselinux.a}
-+  {$LINKLIB libsepol.a}
-   {$LINKLIB libreadline.a}
-   {$LINKLIB libopcodes.a}
-   {$LINKLIB libhistory.a}
+-  {$LINKLIB libbfd.a}
+-  {$LINKLIB libreadline.a}
+-  {$LINKLIB libopcodes.a}
+-  {$LINKLIB libhistory.a}
++  {$LINKLIB bfd}
++  {$LINKLIB opcodes}
++  {$LINKLIB readline}
++  {$LINKLIB history}
+   {$LINKLIB libiberty.a}
++  {$LINKLIB selinux}
++  {$LINKLIB z}
++  {$LINKLIB lzma}
+   {$ifdef GDB_USES_LIBDECNUMBER}
+     {$LINKLIB decnumber}
+   {$endif GDB_USES_LIBDECNUMBER}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fpc.git/commitdiff/3c782031e4052b90762f849b561ad65850eb0350



More information about the pld-cvs-commit mailing list